Author: bszx Date: Tue Mar 29 08:43:12 2011 GMT Module: packages Tag: HEAD ---- Log message: - rel 10; added static subpackages
---- Files affected: packages/ossp-uuid: ossp-uuid.spec (1.22 -> 1.23) ---- Diffs: ================================================================ Index: packages/ossp-uuid/ossp-uuid.spec diff -u packages/ossp-uuid/ossp-uuid.spec:1.22 packages/ossp-uuid/ossp-uuid.spec:1.23 --- packages/ossp-uuid/ossp-uuid.spec:1.22 Sat Jan 22 15:25:54 2011 +++ packages/ossp-uuid/ossp-uuid.spec Tue Mar 29 10:43:07 2011 @@ -4,12 +4,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 @@ -61,6 +62,18 @@ %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 @@ -87,6 +100,18 @@ %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 @@ -112,6 +137,20 @@ %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 @@ -160,7 +199,7 @@ # Build the library. %configure \ --includedir=%{_includedir}/ossp-uuid \ - --disable-static \ + %{!?with_static_libs:--disable-static} \ --with-dce \ --with-cxx \ --with%{!?with_perl:out}-perl \ @@ -237,6 +276,12 @@ %{_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.*.*.* @@ -249,6 +294,12 @@ %{_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.*.*.* @@ -260,6 +311,12 @@ %{_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) @@ -292,6 +349,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.23 2011/03/29 08:43:07 bszx +- rel 10; added static subpackages + Revision 1.22 2011/01/22 14:25:54 sparky - fixed php extension linking ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ossp-uuid/ossp-uuid.spec?r1=1.22&r2=1.23&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
