SPECS: libdnet.spec - removed outdated ac, am patches - added pytho...
qboosh
qboosh at pld-linux.org
Fri Mar 21 19:57:31 CET 2008
Author: qboosh Date: Fri Mar 21 18:57:31 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- removed outdated ac,am patches
- added python patch, rebuild dnet.c using new Pyrex to fix build with recent gcc
- general cleanup, more docs, release 1
---- Files affected:
SPECS:
libdnet.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: SPECS/libdnet.spec
diff -u SPECS/libdnet.spec:1.13 SPECS/libdnet.spec:1.14
--- SPECS/libdnet.spec:1.13 Thu Mar 15 10:57:20 2007
+++ SPECS/libdnet.spec Fri Mar 21 19:57:26 2008
@@ -7,19 +7,19 @@
Summary(pl.UTF-8): Interfejs do niektórych niskopoziomowych funkcji sieciowych
Name: libdnet
Version: 1.11
-Release: 0.1
+Release: 1
License: BSD
Group: Libraries
Source0: http://dl.sourceforge.net/libdnet/%{name}-%{version}.tar.gz
# Source0-md5: 04c394ed8e1e7fc455456e79e908916d
-#Patch0: %{name}-ac.patch
-#Patch1: %{name}-am.patch
+Patch0: %{name}-python.patch
URL: http://libdnet.sourceforge.net/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
BuildRequires: libtool
+BuildRequires: python-Pyrex
+BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
-BuildRequires: python-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -90,8 +90,10 @@
%prep
%setup -q
-#%patch0 -p1
-#%patch1 -p1
+%patch0 -p1
+
+# invalid lvalues, force regeneration from .pyx
+rm python/dnet.c
%build
%{__libtoolize}
@@ -118,32 +120,34 @@
%files
%defattr(644,root,root,755)
-%doc THANKS TODO
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%doc LICENSE README THANKS TODO
+%attr(755,root,root) %{_libdir}/libdnet.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libdnet.so.1
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_bindir}/dnet-config
+%attr(755,root,root) %{_libdir}/libdnet.so
+%{_libdir}/libdnet.la
%{_includedir}/dnet
-%{_includedir}/*.h
-%{_mandir}/man3/*
+%{_includedir}/dnet.h
+%{_mandir}/man3/dnet.3*
%if %{with static_libs}
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libdnet.a
%endif
%files progs
%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
+%attr(755,root,root) %{_sbindir}/dnet
+%{_mandir}/man8/dnet.8*
%files -n python-libdnet
%defattr(644,root,root,755)
%attr(755,root,root) %{py_sitedir}/dnet.so
+%{py_sitedir}/dnet-*.egg-info
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -151,6 +155,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2008-03-21 18:57:26 qboosh
+- removed outdated ac,am patches
+- added python patch, rebuild dnet.c using new Pyrex to fix build with recent gcc
+- general cleanup, more docs, release 1
+
Revision 1.13 2007-03-15 09:57:20 qboosh
- python deps, unified caps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libdnet.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list