This commit is contained in:
parent
c684dbc965
commit
4dd463ebc4
@ -1,10 +0,0 @@
|
|||||||
--- vbi/src/io-dvb.c.dvb 2004-11-23 10:08:09.952858146 +0100
|
|
||||||
+++ vbi/src/io-dvb.c 2004-11-23 10:08:18.826678289 +0100
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
-#if 0
|
|
||||||
-#error untested
|
|
||||||
+#if 1
|
|
||||||
+// #error untested
|
|
||||||
|
|
||||||
/*
|
|
||||||
* libzvbi -- dvb driver interface
|
|
19
zvbi-glibc27.diff
Normal file
19
zvbi-glibc27.diff
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
src/chains.c | 6 ++++++
|
||||||
|
1 file changed, 6 insertions(+)
|
||||||
|
|
||||||
|
--- src/chains.c.orig
|
||||||
|
+++ src/chains.c
|
||||||
|
@@ -168,6 +168,12 @@ static int is_vbi_device(const char *pat
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
+/*
|
||||||
|
+ * Newer glibc defines an open() macro that checks the optional third
|
||||||
|
+ * argument, but calls the open() _function_ in the end, so undefining
|
||||||
|
+ * it here should be safe.
|
||||||
|
+ */
|
||||||
|
+#undef open
|
||||||
|
int open(const char *pathname, int flags, ...)
|
||||||
|
{
|
||||||
|
va_list args;
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 31 10:57:39 CEST 2007 - mmarek@suse.cz
|
||||||
|
|
||||||
|
- fixed build with new glibc
|
||||||
|
- specfile cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 25 21:43:49 CET 2006 - mls@suse.de
|
Wed Jan 25 21:43:49 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
63
zvbi.spec
63
zvbi.spec
@ -1,33 +1,33 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zvbi (Version 0.2.16)
|
# spec file for package zvbi (Version 0.2.16)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: zvbi
|
Name: zvbi
|
||||||
BuildRequires: doxygen gcc-c++ xorg-x11-devel
|
BuildRequires: doxygen gcc-c++ xorg-x11-devel
|
||||||
URL: http://zapping.sf.net/
|
URL: http://zapping.sf.net/
|
||||||
License: GPL
|
License: GPL v2 or later
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Autoreqprov: on
|
Autoreqprov: on
|
||||||
Version: 0.2.16
|
Version: 0.2.16
|
||||||
Release: 4
|
Release: 88
|
||||||
Summary: VBI Decoding Library
|
Summary: VBI Decoding Library
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch1: %{name}-gettext.diff
|
Patch1: zvbi-gettext.diff
|
||||||
Patch2: %{name}-enable-dvb.diff
|
Patch2: zvbi-glibc27.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/Other
|
||||||
Summary: VBI decoding library - devel package
|
Summary: VBI decoding library - devel package
|
||||||
Requires: zvbi = %{version}
|
Requires: zvbi = %{version}
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
include files, static library, ...
|
include files, static library, ...
|
||||||
@ -61,11 +61,8 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%setup -q -n vbi
|
|
||||||
%if %suse_version > 810
|
|
||||||
%patch1 -p1 -b .gettext
|
%patch1 -p1 -b .gettext
|
||||||
%endif
|
%patch2
|
||||||
#%patch2 -p1 -b .dvb
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config -ft}
|
%{?suse_update_config -ft}
|
||||||
@ -78,9 +75,11 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
test "%{buildroot}" != "" -a "%{buildroot}" != "/" &&\
|
|
||||||
rm -rf "%{buildroot}"
|
|
||||||
make DESTDIR="%{buildroot}" install
|
make DESTDIR="%{buildroot}" install
|
||||||
|
%find_lang %name
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %buildroot
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
@ -88,15 +87,14 @@ make DESTDIR="%{buildroot}" install
|
|||||||
%postun
|
%postun
|
||||||
%run_ldconfig
|
%run_ldconfig
|
||||||
|
|
||||||
%files
|
%files -f %name.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/zvbi-chains
|
%{_bindir}/zvbi-chains
|
||||||
%{_sbindir}/zvbid
|
%{_sbindir}/zvbid
|
||||||
%{_libdir}/libzvbi*.so.*
|
%{_libdir}/libzvbi*.so.*
|
||||||
%{_mandir}/man1/zvbi-chains.1*
|
%{_mandir}/man1/zvbi-chains.1*
|
||||||
%{_mandir}/man1/zvbid.1*
|
%{_mandir}/man1/zvbid.1*
|
||||||
/usr/share/locale/*/LC_MESSAGES/zvbi.mo
|
%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO
|
||||||
%doc [A-LN-Z]*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -106,11 +104,10 @@ make DESTDIR="%{buildroot}" install
|
|||||||
%{_libdir}/pkgconfig/zvbi-0.2.pc
|
%{_libdir}/pkgconfig/zvbi-0.2.pc
|
||||||
%doc doc/html
|
%doc doc/html
|
||||||
|
|
||||||
%clean
|
%changelog
|
||||||
test "%{buildroot}" != "" -a "%{buildroot}" != "/" &&\
|
* Fri Aug 31 2007 - mmarek@suse.cz
|
||||||
rm -rf "%{buildroot}"
|
- fixed build with new glibc
|
||||||
|
- specfile cleanup
|
||||||
%changelog -n zvbi
|
|
||||||
* Wed Jan 25 2006 - mls@suse.de
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
- converted neededforbuild to BuildRequires
|
- converted neededforbuild to BuildRequires
|
||||||
* Mon Sep 26 2005 - mls@suse.de
|
* Mon Sep 26 2005 - mls@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user