]> git.pld-linux.org Git - packages/ossp-uuid.git/commitdiff
- rel 10; added static subpackages auto/ac/ossp-uuid-1_6_2-10 auto/th/ossp-uuid-1_6_2-10 auto/ti/ossp-uuid-1_6_2-10
authorbszx <bszx@pld-linux.org>
Tue, 29 Mar 2011 08:43:07 +0000 (08:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ossp-uuid.spec -> 1.23

ossp-uuid.spec

index 6a3e4447ad317b9257249b4248b2806b3c4258be..3e6f5902f5a2e3955fa58d959b19d6bf1cc3c17f 100644 (file)
@@ -3,12 +3,13 @@
 %bcond_without php             # don't build PHP binding
 %bcond_without perl            # don't build Perl binding
 %bcond_with    pgsql           # build postgresql binding
+%bcond_without  static_libs     # don't build static libraries
 
 Summary:       Universally Unique Identifier library
 Summary(pl.UTF-8):     Biblioteka unikalnych identyfikatorów UUID
 Name:          ossp-uuid
 Version:       1.6.2
-Release:       9
+Release:       10
 License:       MIT
 Group:         Libraries
 Source0:       ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
@@ -60,6 +61,18 @@ Development headers and libraries for OSSP uuid.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki OSSP uuid.
 
+%package static
+Summary:       Universally Unique Identifier library - static library
+Summary(pl.UTF-8):     Biblioteka statyczna OSSP uuid
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Universally Unique Identifier library - static library
+
+%description static -l pl.UTF-8
+Biblioteka statyczna OSSP uuid
+
 %package c++
 Summary:       C++ support for Universally Unique Identifier library
 Summary(pl.UTF-8):     Wiązania C++ dla biblioteki OSSP uuid
@@ -86,6 +99,18 @@ C++ development headers and libraries for OSSP uuid.
 %description c++-devel -l pl.UTF-8
 Pliki programistyczne wiązania C++ biblioteki OSSP uuid.
 
+%package c++-static
+Summary:       C++ support for Universally Unique Identifier library - static library
+Summary(pl.UTF-8):     Wiązania C++ dla biblioteki OSSP uuid - biblioteka statyczna
+Group:         Development/Libraries
+Requires:      %{name}-c++-devel = %{version}-%{release}
+
+%description c++-static
+C++ support for Universally Unique Identifier library - static library
+
+%description c++-static -l pl.UTF-8
+Wiązania C++ dla biblioteki OSSP uuid - biblioteka statyczna
+
 %package dce
 Summary:       DCE support for Universally Unique Identifier library
 Summary(pl.UTF-8):     Obsługa DCE dla biblioteki OSSP uuid
@@ -111,6 +136,20 @@ DCE development headers and libraries for OSSP uuid.
 %description dce-devel -l pl.UTF-8
 Pliki programistyczne obsługi DCE dla biblioteki OSSP uuid.
 
+%package dce-static
+Summary:       DCE development support for Universally Unique Identifier library - static library
+Summary(pl.UTF-8):     Pliki programistyczne obsługi DCE dla biblioteki OSSP uuid - biblioteka statyczna
+Group:         Development/Libraries
+Requires:      %{name}-dce-devel = %{version}-%{release}
+
+%description dce-static
+DCE development support for Universally Unique Identifier library -
+static library
+
+%description dce-static -l pl.UTF-8
+Pliki programistyczne obsługi DCE dla biblioteki OSSP uuid -
+biblioteka statyczna
+
 %package -n perl-uuid
 Summary:       OSSP uuid Perl Binding
 Summary(pl.UTF-8):     Perlowe wiązania biblioteki OSSP uuid
@@ -159,7 +198,7 @@ Moduł OSSP uuid dla PostgreSQL-a.
 # Build the library.
 %configure \
        --includedir=%{_includedir}/ossp-uuid \
-       --disable-static \
+       %{!?with_static_libs:--disable-static} \
        --with-dce \
        --with-cxx \
        --with%{!?with_perl:out}-perl \
@@ -236,6 +275,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/uuid-config.1*
 %{_mandir}/man3/ossp-uuid.3*
 
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libossp-uuid.a
+%endif
+
 %files c++
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libossp-uuid++.so.*.*.*
@@ -248,6 +293,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/ossp-uuid/uuid++.hh
 %{_mandir}/man3/uuid++.3*
 
+%if %{with static_libs}
+%files c++-static
+%defattr(644,root,root,755)
+%{_libdir}/libossp-uuid++.a
+%endif
+
 %files dce
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libossp-uuid_dce.so.*.*.*
@@ -259,6 +310,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libossp-uuid_dce.la
 %{_includedir}/ossp-uuid/uuid_dce.h
 
+%if %{with static_libs}
+%files dce-static
+%defattr(644,root,root,755)
+%{_libdir}/libossp-uuid_dce.a
+%endif
+
 %if %{with perl}
 %files -n perl-uuid
 %defattr(644,root,root,755)
This page took 0.104781 seconds and 4 git commands to generate.