SPECS: gmp.spec - build with BSD-compatible libmp (packaged as -bs...
qboosh
qboosh at pld-linux.org
Sat Jan 19 22:11:44 CET 2008
Author: qboosh Date: Sat Jan 19 21:11:44 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- build with BSD-compatible libmp (packaged as -bsd-*)
- desc fixes (no static libs in -devel)
- LGPL v3+
- release 2
---- Files affected:
SPECS:
gmp.spec (1.101 -> 1.102)
---- Diffs:
================================================================
Index: SPECS/gmp.spec
diff -u SPECS/gmp.spec:1.101 SPECS/gmp.spec:1.102
--- SPECS/gmp.spec:1.101 Sun Sep 16 17:35:50 2007
+++ SPECS/gmp.spec Sat Jan 19 22:11:39 2008
@@ -14,8 +14,8 @@
Summary(ru.UTF-8): Библиотека GNU произвольной точности
Name: gmp
Version: 4.2.2
-Release: 1
-License: LGPL
+Release: 2
+License: LGPL v3+
Group: Libraries
Source0: ftp://ftp.gnu.org/gnu/gmp/%{name}-%{version}.tar.bz2
# Source0-md5: 7ce52531644e6d12f16911b7e3151f3f
@@ -94,12 +94,12 @@
через низко-, так и через высокоуровневый интерфейс.
%package devel
-Summary: GNU Arbitrary Precision header files, static libraries, and documentation
+Summary: GNU Arbitrary Precision library header files and documentation
Summary(de.UTF-8): Entwicklungstools für GNU MP
-Summary(es.UTF-8): Archivos de inclusión, bibliotecas y documentación de la biblioteca gmp
+Summary(es.UTF-8): Archivos de inclusión y documentación de la biblioteca gmp
Summary(fr.UTF-8): Outils de développement pour la bibliothèque de calcul GMP
Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do biblioteki gmp
-Summary(pt_BR.UTF-8): Arquivos de inclusão, bibliotecas e documentação da biblioteca gmp
+Summary(pt_BR.UTF-8): Arquivos de inclusão e documentação da biblioteca gmp
Summary(uk.UTF-8): Інструменти розробки для бібліотеки GNU довільної точності
Summary(ru.UTF-8): Инструменты разработки для библиотеки GNU произвольной точности
Group: Development/Libraries
@@ -107,24 +107,23 @@
Obsoletes: libgmp3-devel
%description devel
-The static libraries, header files and documentation for using the GNU
-MP arbitrary precision library in applications.
+The header files and documentation for using the GNU MP arbitrary
+precision library in applications.
If you want to develop applications which will use the GNU MP library,
you'll need to install the gmp-devel package.
%description devel -l de.UTF-8
-Statische Libraries, Header Files und Dokumentation zum Benutzen der
-GNU MP Library.
+Header Files und Dokumentation zum Benutzen der GNU MP Library.
%description devel -l es.UTF-8
Estas son las bibliotecas, archivos de inclusión y documentación para
usar la biblioteca GNU de precisión arbitraria en tus programas.
%description devel -l fr.UTF-8
-Ce package comprend les bibliothèques statiques, les fichiers
-d'en-tête et la documentation nécessaires pour utiliser la
-bibliothèque de calcul de précision dans les applications.
+Ce package comprend les fichiers d'en-tête et la documentation
+nécessaires pour utiliser la bibliothèque de calcul de précision dans
+les applications.
Vous n'avez besoin de ce package que si vous comptez programmer des
applications utilisant la bibliothèque GNU MP.
@@ -169,6 +168,44 @@
%description static -l ru.UTF-8
Это статическая библиотека GNU произвольной точности.
+%package bsd
+Summary: GNU arbitrary precision library - BSD-compatible MP library
+Summary(pl.UTF-8): Biblioteka arytmetyczna GNU - biblioteka MP kompatybilna z BSD
+Group: Libraries
+# doesn't require base
+
+%description bsd
+This package contains BSD-compatible MP library based on GNU MP.
+
+%description bsd -l pl.UTF-8
+Ten pakiet zawiera bibliotekę MP kompatybilną z BSD opartą na GNU MP.
+
+%package bsd-devel
+Summary: GNU arbitrary precision library - BSD-compatible MP API
+Summary(pl.UTF-8): Biblioteka arytmetyczna GNU - API MP kompatybilne z BSD
+Group: Development/Libraries
+Requires: %{name}-bsd = %{version}-%{release}
+
+%description bsd-devel
+This package contains BSD-compatible MP library header file.
+
+%description bsd-devel -l pl.UTF-8
+Ten pakiet zawiera plik nagłówkowy biblioteki MP kompatybilnej z BSD.
+
+%package bsd-static
+Summary: GNU arbitrary precision library - BSD-compatible static MP library
+Summary(pl.UTF-8): Biblioteka arytmetyczna GNU - biblioteka statyczna MP kompatybilna z BSD
+Group: Development/Libraries
+Requires: %{name}-bsd-devel = %{version}-%{release}
+
+%description bsd-static
+This package contains BSD-compatible MP static library based on GNU
+MP.
+
+%description bsd-static -l pl.UTF-8
+Ten pakiet zawiera bibliotekę statyczną MP kompatybilną z BSD opartą
+na GNU MP.
+
%package c++
Summary: GNU arbitrary precision library - C++ interface
Summary(pl.UTF-8): Biblioteka arytmetyczna GNU - interfejs C++
@@ -226,7 +263,8 @@
%configure \
--with-cpu=%{_target_cpu} \
%{?with_cxx:--enable-cxx} \
- --enable-fft
+ --enable-fft \
+ --enable-mpbsd
%{__make}
%{?with_tests:%{__make} check}
@@ -242,8 +280,6 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%post c++ -p /sbin/ldconfig
-%postun c++ -p /sbin/ldconfig
%post devel
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
@@ -251,10 +287,17 @@
%postun devel
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post bsd -p /sbin/ldconfig
+%postun bsd -p /sbin/ldconfig
+
+%post c++ -p /sbin/ldconfig
+%postun c++ -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libgmp.so.*.*
+%attr(755,root,root) %{_libdir}/libgmp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgmp.so.3
%files devel
%defattr(644,root,root,755)
@@ -267,10 +310,25 @@
%defattr(644,root,root,755)
%{_libdir}/libgmp.a
+%files bsd
+%attr(755,root,root) %{_libdir}/libmp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmp.so.3
+
+%files bsd-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmp.so
+%{_libdir}/libmp.la
+%{_includedir}/mp.h
+
+%files bsd-static
+%defattr(644,root,root,755)
+%{_libdir}/libmp.a
+
%if %{with cxx}
%files c++
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgmpxx.so.*.*
+%attr(755,root,root) %{_libdir}/libgmpxx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgmpxx.so.4
%files c++-devel
%defattr(644,root,root,755)
@@ -289,6 +347,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.102 2008-01-19 21:11:39 qboosh
+- build with BSD-compatible libmp (packaged as -bsd-*)
+- desc fixes (no static libs in -devel)
+- LGPL v3+
+- release 2
+
Revision 1.101 2007-09-16 15:35:50 areq
- 4.2.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gmp.spec?r1=1.101&r2=1.102&f=u
More information about the pld-cvs-commit
mailing list