- Cleanup spec file with spec-cleaner
- Add dropped dependency for libICE - Add dependency for libpng support - Split lang subpackage - Split library subpackages OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/zvbi?expand=0&rev=18
This commit is contained in:
parent
60652fb342
commit
6fc0be46c6
@ -1,4 +1,6 @@
|
|||||||
libzvbi0
|
libzvbi0
|
||||||
|
libzvbi-chains0
|
||||||
zvbi-devel
|
zvbi-devel
|
||||||
requires -zvbi-<targettype>
|
requires -zvbi-<targettype>
|
||||||
requires "libzvbi0-<targettype> = <version>"
|
requires "libzvbi0-<targettype> = <version>"
|
||||||
|
requires "libzvbi-chains0-<targettype> = <version>"
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 6 08:10:39 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Add dropped dependency for libICE
|
||||||
|
- Add dependency for libpng support
|
||||||
|
- Split lang subpackage
|
||||||
|
- Split library subpackages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 5 15:28:02 UTC 2017 - crrodriguez@opensuse.org
|
Tue Dec 5 15:28:02 UTC 2017 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
94
zvbi.spec
94
zvbi.spec
@ -16,23 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define sover 0
|
||||||
|
%define libname lib%{name}%{sover}
|
||||||
|
%define libchains lib%{name}-chains%{sover}
|
||||||
Name: zvbi
|
Name: zvbi
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: gcc-c++
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig(x11)
|
|
||||||
Url: http://zapping.sf.net/
|
|
||||||
Version: 0.2.35
|
Version: 0.2.35
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Linux "VBI proxy"
|
Summary: Linux "VBI proxy"
|
||||||
License: LGPL-2.1+ and GPL-2.0+
|
License: LGPL-2.1+ AND GPL-2.0+
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
|
Url: http://zapping.sf.net/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch2: zvbi-automake-1.13.patch
|
Patch2: zvbi-automake-1.13.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: autoconf
|
||||||
%{!?make_build:%define make_build %{__make} -O %{?_smp_mflags}}
|
BuildRequires: automake
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(ice)
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
|
Recommends: %{name}-lang
|
||||||
|
|
||||||
%description
|
%description
|
||||||
With "video4linux" drivers only one application at a time can capture
|
With "video4linux" drivers only one application at a time can capture
|
||||||
@ -42,11 +47,26 @@ for example the Nxtvepg daemon runs in the background users will not be
|
|||||||
able to start a Teletext application. The VBI proxy was developed as a
|
able to start a Teletext application. The VBI proxy was developed as a
|
||||||
solution to this problem.
|
solution to this problem.
|
||||||
|
|
||||||
%package -n libzvbi0
|
%package -n %{libname}
|
||||||
Summary: VBI Decoding Library
|
Summary: VBI Decoding Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libzvbi0
|
%description -n %{libname}
|
||||||
|
VBI stands for Vertical Blanking Interval, a gap between the image data
|
||||||
|
transmitted in an analog video signal. This gap is used to transmit AM
|
||||||
|
modulated data for various data services like Teletext and Closed
|
||||||
|
Caption.
|
||||||
|
|
||||||
|
The zvbi library provides routines to read from raw VBI sampling
|
||||||
|
devices, to demodulate raw to sliced VBI data, and to interpret the
|
||||||
|
data of several popular services.
|
||||||
|
|
||||||
|
%package -n %{libchains}
|
||||||
|
Summary: VBI Decoding Library
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: %{libname} < %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n %{libchains}
|
||||||
VBI stands for Vertical Blanking Interval, a gap between the image data
|
VBI stands for Vertical Blanking Interval, a gap between the image data
|
||||||
transmitted in an analog video signal. This gap is used to transmit AM
|
transmitted in an analog video signal. This gap is used to transmit AM
|
||||||
modulated data for various data services like Teletext and Closed
|
modulated data for various data services like Teletext and Closed
|
||||||
@ -59,14 +79,16 @@ data of several popular services.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: VBI decoding library - devel package
|
Summary: VBI decoding library - devel package
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Requires: glibc-devel
|
Requires: %{libchains} = %{version}
|
||||||
Requires: libzvbi0 = %{version}
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package includes the development files for the zvbi library which
|
This package includes the development files for the zvbi library which
|
||||||
provides routines to read from raw VBI sampling devices, to demodulate raw to
|
provides routines to read from raw VBI sampling devices, to demodulate raw to
|
||||||
sliced VBI data, and to interpret the data of several popular services.
|
sliced VBI data, and to interpret the data of several popular services.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
@ -77,32 +99,38 @@ ACLOCAL="aclocal -I m4" autoreconf -fi
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="%{buildroot}" install
|
%make_install
|
||||||
rm %buildroot%_libdir/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%find_lang %name
|
%find_lang %{name}
|
||||||
%fdupes -s doc/html
|
|
||||||
|
|
||||||
%post -n libzvbi0 -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%post -n %{libchains} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libchains} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libzvbi0 -p /sbin/ldconfig
|
%files
|
||||||
|
|
||||||
%files -f %name.lang
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/*
|
|
||||||
%{_sbindir}/zvbid
|
|
||||||
%{_mandir}/man1/*
|
|
||||||
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
||||||
|
%{_bindir}/zvbi-atsc-cc
|
||||||
|
%{_bindir}/zvbi-chains
|
||||||
|
%{_bindir}/zvbi-ntsc-cc
|
||||||
|
%{_sbindir}/zvbid
|
||||||
|
%{_mandir}/man1/zvbi-atsc-cc.1%{ext_man}
|
||||||
|
%{_mandir}/man1/zvbi-chains.1%{ext_man}
|
||||||
|
%{_mandir}/man1/zvbi-ntsc-cc.1%{ext_man}
|
||||||
|
%{_mandir}/man1/zvbid.1%{ext_man}
|
||||||
|
|
||||||
%files -n libzvbi0
|
%files lang -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/libzvbi*.so.0
|
%files -n %{libname}
|
||||||
%{_libdir}/libzvbi*.so.0.*
|
%{_libdir}/libzvbi.so.%{sover}*
|
||||||
|
|
||||||
|
%files -n %{libchains}
|
||||||
|
%{_libdir}/libzvbi-chains.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/libzvbi.h
|
%{_includedir}/libzvbi.h
|
||||||
%{_libdir}/libzvbi*.so
|
%{_libdir}/libzvbi.so
|
||||||
%{_libdir}/pkgconfig/zvbi-0.2.pc
|
%{_libdir}/libzvbi-chains.so
|
||||||
%doc doc/html
|
%{_libdir}/pkgconfig/zvbi-*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user