SPECS: wfmath.spec - pl, separated static

qboosh qboosh at pld-linux.org
Thu Oct 13 00:52:01 CEST 2005


Author: qboosh                       Date: Wed Oct 12 22:52:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, separated static

---- Files affected:
SPECS:
   wfmath.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/wfmath.spec
diff -u SPECS/wfmath.spec:1.2 SPECS/wfmath.spec:1.3
--- SPECS/wfmath.spec:1.2	Wed Oct 12 22:25:47 2005
+++ SPECS/wfmath.spec	Thu Oct 13 00:51:55 2005
@@ -1,35 +1,58 @@
 # $Revision$, $Date$
 %define libsuffix -0.3
-Summary:	A math library.
+Summary:	A math library
+Summary(pl):	Biblioteka matematyczna
 Name:		wfmath
 Version:	0.3.4
 Release:	0.1
 License:	GPL
 Group:		Libraries
-URL:		http://www.worldforge.org/dev/eng/libraries/wfmath
 Source0:	http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
+URL:		http://www.worldforge.org/dev/eng/libraries/wfmath
 BuildRequires:	automake
+BuildRequires:	libstdc++-devel >= 2.95.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is the WorldForge math library. The primary focus of %{name} is
 geometric objects.
 
+%description -l pl
+Biblioteka matematyczna WorldForge. Skupia się głównie na obiektach
+geometrycznych.
+
 %package devel
-Summary:	A math library headers and static libs.
+Summary:	Header files for WorldForge math library
+Summary(pl):	Pliki nagłówkowe biblioteki matematycznej WorldForge
 Group:		Development/Libraries
-Requires:	%{name} = %{version} libstdc++-devel >= 2.95.2
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel >= 2.95.2
 
 %description devel
-This is the WorldForge math library. The primary focus of %{name} is
-geometric objects.
+Header files for WorldForge math library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki matematycznej WorldForge.
+
+%package static
+Summary:	Static WorldForge math library
+Summary(pl):	Statyczna biblioteka matematyczne WorldForge
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static WorldForge math library.
+
+%description static -l pl
+Statyczna biblioteka matematyczne WorldForge.
 
 %prep
 %setup -q
 
 %build
 cp -f /usr/share/automake/config.sub .
-%configure --enable-static
+%configure \
+	--enable-static
 %{__make}
 
 %install
@@ -40,18 +63,24 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*
 %doc AUTHORS COPYING NEWS README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
-%{_libdir}/lib*.a
-%{_pkgconfigdir}/*
 %{_includedir}/%{name}%{libsuffix}
+%{_pkgconfigdir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -59,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/10/12 22:51:55  qboosh
+- pl, separated static
+
 Revision 1.2  2005/10/12 20:25:47  glen
 - remove redundant CXXFLAGS setting
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/wfmath.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list