SPECS: mercator.spec - pl, ldconfig, separated -static
qboosh
qboosh at pld-linux.org
Fri Apr 14 18:50:13 CEST 2006
Author: qboosh Date: Fri Apr 14 16:50:13 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, ldconfig, separated -static
---- Files affected:
SPECS:
mercator.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/mercator.spec
diff -u SPECS/mercator.spec:1.1 SPECS/mercator.spec:1.2
--- SPECS/mercator.spec:1.1 Wed Apr 5 19:50:01 2006
+++ SPECS/mercator.spec Fri Apr 14 18:50:08 2006
@@ -1,28 +1,47 @@
# $Revision$, $Date$
-
Summary: A WorldForge terrain library
+Summary(pl): Biblioteka terenów WorldForge
Name: mercator
Version: 0.2.4
Release: 0.1
License: GPL
Group: Libraries
-URL: http://www.worldforge.org/dev/eng/libraries/mercator
Source0: http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
# Source0-md5: 2b937519bc90ba00e0ae4cbe50e7760f
+URL: http://www.worldforge.org/dev/eng/libraries/mercator
BuildRequires: wfmath-devel >= 0.3.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Mercator is designed to handle terrain data.
+%description -l pl
+Mercator to biblioteka do obsługi danych terenów.
+
%package devel
-Summary: A WorldForge terrain library headers and static libs
+Summary: Header files for WorldForge terrain library
+Summary(pl): Pliki nagłówkowe biblioteki terenów WorldForge
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
Requires: wfmath-devel >= 0.3.2
%description devel
-Mercator is designed to handle terrain data.
+Header files for WorldForge terrain library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki terenów WorldForge.
+
+%package static
+Summary: Static WorldForge terrain library
+Summary(pl): Statyczna biblioteka terenów WorldForge
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static WorldForge terrain library.
+
+%description static -l pl
+Statyczna biblioteka terenów WorldForge.
%prep
%setup -q
@@ -35,31 +54,40 @@
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%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 ChangeLog
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%files devel
%defattr(644,root,root,755)
-#%{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
-%{_libdir}/lib*.a
%{_pkgconfigdir}/*
%{_includedir}/*
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/04/14 16:50:08 qboosh
+- pl, ldconfig, separated -static
+
Revision 1.1 2006/04/05 17:50:01 agaran
- initial, based on spec from sourceforge package, rel 0.1
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mercator.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list