]> git.pld-linux.org Git - packages/gmp.git/commitdiff
- build with BSD-compatible libmp (packaged as -bsd-*)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 19 Jan 2008 21:11:39 +0000 (21:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- desc fixes (no static libs in -devel)
- LGPL v3+
- release 2

Changed files:
    gmp.spec -> 1.102

gmp.spec

index fc3b1471d62a0e5577db1adae3ab8af0a81963ed..cc24881b4eb88eebcf938716f2f4a835a11dfed1 100644 (file)
--- a/gmp.spec
+++ b/gmp.spec
@@ -13,8 +13,8 @@ Summary(uk.UTF-8):    Бібліотека GNU довільної точності
 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
@@ -93,12 +93,12 @@ de alto ou baixo nível.
 через низко-, так и через высокоуровневый интерфейс.
 
 %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
@@ -106,24 +106,23 @@ Requires: %{name} = %{version}-%{release}
 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.
@@ -168,6 +167,44 @@ Bibliotecas estáticas para desenvolvimento com gmp.
 %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++
@@ -225,7 +262,8 @@ arytmetycznej GNU.
 %configure \
        --with-cpu=%{_target_cpu} \
        %{?with_cxx:--enable-cxx} \
-       --enable-fft
+       --enable-fft \
+       --enable-mpbsd
 
 %{__make}
 %{?with_tests:%{__make} check}
@@ -241,8 +279,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
@@ -250,10 +286,17 @@ rm -rf $RPM_BUILD_ROOT
 %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)
@@ -266,10 +309,25 @@ rm -rf $RPM_BUILD_ROOT
 %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)
This page took 0.053434 seconds and 4 git commands to generate.