packages: libpthread-stubs/libpthread-stubs.spec - up to 0.2; now it's real...

arekm arekm at pld-linux.org
Wed Sep 23 13:30:09 CEST 2009


Author: arekm                        Date: Wed Sep 23 11:30:09 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.2; now it's real lib not just pc file (note, direct linking to -lpthread isn't solution, see README)

---- Files affected:
packages/libpthread-stubs:
   libpthread-stubs.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/libpthread-stubs/libpthread-stubs.spec
diff -u packages/libpthread-stubs/libpthread-stubs.spec:1.5 packages/libpthread-stubs/libpthread-stubs.spec:1.6
--- packages/libpthread-stubs/libpthread-stubs.spec:1.5	Mon Jul 28 01:03:45 2008
+++ packages/libpthread-stubs/libpthread-stubs.spec	Wed Sep 23 13:30:03 2009
@@ -2,12 +2,12 @@
 Summary:	pthread library helper
 Summary(pl.UTF-8):	Pakiet pomocniczy biblioteki pthread
 Name:		libpthread-stubs
-Version:	0.1
-Release:	2
+Version:	0.2
+Release:	1
 License:	MIT
 Group:		Development/Libraries
 Source0:	http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
-# Source0-md5:	774eabaf33440d534efe108ef9130a7d
+# Source0-md5:	2ba9ce2d46da0a2a1090384ece3387ff
 URL:		http://xcb.freedesktop.org/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,6 +36,30 @@
 bibliotekom bezwarunkowo zawierać zależność od pthread-stubs i nadal
 zachowywać się prawidłowo.
 
+%package devel
+Summary:	Header files and develpment documentation for libpthread-stubs
+Summary(pl.UTF-8):	Pliki nagłówkowe i dokumetacja do libpthread-stubs
+Group:		Development/Libraries
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files and documentation for libpthread-stubs.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumentacja do libpthread-stubs.
+
+%package static
+Summary:	Static libpcap library
+Summary(pl.UTF-8):	Biblioteka statyczna libpcap
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+This package contains the static library used for development.
+
+%description static -l pl
+Biblioteka statyczna libpthread-stubs.
+
 %prep
 %setup -q
 
@@ -52,10 +76,23 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc README
+%attr(755,root,root) %{_libdir}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
 %{_pkgconfigdir}/*.pc
+%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/lib*.so
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2009/09/23 11:30:03  arekm
+- up to 0.2; now it's real lib not just pc file (note, direct linking to -lpthread isn't solution, see README)
+
 Revision 1.5  2008/07/27 23:03:45  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libpthread-stubs/libpthread-stubs.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list