Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:balta3:vdr
vdr
vdr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vdr.spec of Package vdr
Name: vdr BuildRequires: gcc-c++ fontconfig-devel freetype2-devel libjpeg-devel libcap-devel ncurses-devel License: GPL v2 Group: Hardware/TV Summary: Video Disk Recorder Url: http://cadsoft.de/vdr Version: 1.6.0.2 Release: 0.0 Source0: vdr-%{version}.tar.bz2 Source1: Make.config Source2: runvdr Source4: macros.vdr Patch0: vdr-1.6.0-2_extensions.diff.gz Patch1: dvbapi.diff Patch2: vdr-glibc-2.10.diff %if 0%{?suse_version <= 1130} Patch3: v4l_workaround.patch %endif %define vdrapi 1.6.0 Provides: vdrapi = %{vdrapi} Obsoletes: vdrapi < %{vdrapi} BuildRoot: %{_tmppath}/%{name}-%{version}-build %define srcdir vdr-%{version} %define vdr_localedir %{_datadir}/vdr/locale %description Video Disk Recorder (VDR) is a digital tv (DVB) receiver program. It can record MPEG2 streams, as well as output the stream to TV. %package -n vdr-devel License: GPL v2 Group: Development/Libraries/Other Summary: Video Disk Recorder %description -n vdr-devel This package contains the files needed for developing plugins for VDR. %debug_package %prep tar xvfj %SOURCE0 cd %srcdir %patch0 -p 1 %patch1 -p 1 %patch2 -p 1 %if 0%{?suse_version <= 1130} %patch3 -p 1 %endif %build cat %SOURCE1 | sed 's\<LOCALEDIR>\%{vdr_localedir}\g' | sed 's\<LIBDIR>\%{_libdir}\g' > %srcdir/Make.config make -C %srcdir make -C %srcdir plugins %install cd %srcdir cp %SOURCE2 . %makeinstall mkdir %{buildroot}%{_includedir} cp -vRL include/* %{buildroot}%{_includedir} cp Make.config %{buildroot}%{_includedir}/vdr # rpm macro file install -d -m 755 %{buildroot}/etc/rpm cat > %{buildroot}/etc/rpm/macros.vdr <<EOF %%vdrapi %{vdrapi} %%vdr_localedir %{vdr_localedir} EOF cat %SOURCE4 >> %{buildroot}/etc/rpm/macros.vdr cd .. # locale files echo '%%defattr (644, root, root, 755)' > vdrlocale.files find %{buildroot}%{vdr_localedir} -type f -printf '%%P\n' | while read f; do echo "%%lang(${f%%%%/*}) %{vdr_localedir}/$f" done >> vdrlocale.files %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -f vdrlocale.files %defattr(-,root,root) %config /etc/vdr/* /usr/bin/runvdr /usr/bin/svdrpsend.pl /usr/bin/vdr /usr/share/man/man1/vdr.1.gz /usr/share/man/man5/vdr.5.gz %{_libdir}/vdr/* %dir %{_datadir}/vdr %dir %{vdr_localedir} %dir %{vdr_localedir}/* %dir %{vdr_localedir}/*/LC_MESSAGES %dir %{_libdir}/vdr %dir /etc/vdr %doc %srcdir/CONTRIBUTORS %srcdir/COPYING %srcdir/HISTORY %srcdir/INSTALL %srcdir/MANUAL %srcdir/README %srcdir/README.i18n %srcdir/UPDATE-1.2.0 %srcdir/UPDATE-1.4.0 %srcdir/UPDATE-1.6.0 %files devel %defattr(-,root,root) %config /etc/rpm/macros.vdr %{_includedir}/libsi/* %{_includedir}/vdr/* %dir %{_includedir}/vdr %dir %{_includedir}/libsi %doc %srcdir/PLUGINS.html %srcdir/newplugin %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor