Author: qboosh Date: Sat Mar 17 06:50:01 2012 GMT Module: packages Tag: HEAD ---- Log message: - pl fixes, added -static
---- Files affected: packages/libcmis: libcmis.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: packages/libcmis/libcmis.spec diff -u packages/libcmis/libcmis.spec:1.4 packages/libcmis/libcmis.spec:1.5 --- packages/libcmis/libcmis.spec:1.4 Sun Mar 11 09:31:54 2012 +++ packages/libcmis/libcmis.spec Sat Mar 17 07:49:56 2012 @@ -1,16 +1,21 @@ # $Revision$, $Date$ +# +# Conditonal build: +%bcond_without static_libs # static library +# Summary: A C++ client library for the CMIS interface Summary(pl.UTF-8): Biblioteka klienta C++ dla inferfejsu CMIS Name: libcmis Version: 0.1.0 Release: 2 -License: GPL+ or LGPLv2+ or MPLv1.1 +License: GPL v2+ or LGPL v2+ or MPL v1.1 Group: Libraries -URL: http://sourceforge.net/projects/libcmis/ Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz # Source0-md5: 4be634617054ada5b6d1886f63160f4f +URL: http://sourceforge.net/projects/libcmis/ BuildRequires: boost-devel BuildRequires: curl-devel +BuildRequires: libstdc++-devel BuildRequires: libxml2-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -20,23 +25,38 @@ Alfresco, Nuxeo for the open source ones. %description -l pl.UTF-8 -LibCMIS to biblioteka klienta C++ dla interfejsu CMIS. Pozwala ona -aplikacjom C++ do łączenia się z każdym ECM zachowującym sie jako CMIS -serwer jak Alfresco, Nuxeo dla otwarto źródłowych aplikacji +LibCMIS to biblioteka klienta C++ dla interfejsu CMIS. Pozwala ona +aplikacjom C++ na łączenie się z każdym ECM zachowującym się jako +serwer CMIS, taki jak Alfresco, Nuxeo (biorąc pod uwagę implementacje +o otwartych źródłach). %package devel -Summary: Development files for %{name} -Summary(pl.UTF-8): Pliki nagłówkowe dla %{name} +Summary: Development files for CMIS library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CMIS Group: Development/Libraries Requires: %{name} = %{version}-%{release} +Requires: boost-devel +Requires: libstdc++-devel %description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. +This package contains the header files for developing applications +that use CMIS library. %description devel -l pl.UTF-8 -Paczka %{name}-devel zawiera biblioteki i pliki nagłówkowe do -tworzenia aplikacji opartych na %{name}. +Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji opartych na +bibliotece CMIS + +%package static +Summary: Static CMIS library +Summary(pl.UTF-8): Statyczna biblioteka CMIS +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static CMIS library. + +%description static -l pl.UTF-8 +Statyczna biblioteka CMIS. %package tools Summary: Command line tool to access CMIS @@ -45,19 +65,18 @@ Requires: %{name} = %{version}-%{release} %description tools -The %{name}-tools package contains a tool for accessing CMIS from the -command line. +This package contains a tool for accessing CMIS from the command line. %description tools -l pl.UTF-8 -Paczka %{name}-tools zawiera narzędzie do łączenia się do CMIS -z wiersza poleceń. +Ten pakiet zawiera narzędzie do łączenia się do CMIS z wiersza +poleceń. %prep %setup -q %build %configure \ - --disable-static \ + %{!?with_static_libs:--disable-static} \ --disable-tests \ --disable-werror @@ -69,6 +88,7 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +# obsoleted by pkg-config %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la %clean @@ -79,9 +99,9 @@ %files %defattr(644,root,root,755) -%doc AUTHORS README +%doc AUTHORS ChangeLog README %attr(755,root,root) %{_libdir}/%{name}-0.2.so.*.*.* -%ghost %{_libdir}/libcmis-0.2.so.0 +%attr(755,root,root) %ghost %{_libdir}/libcmis-0.2.so.0 %files devel %defattr(644,root,root,755) @@ -89,6 +109,12 @@ %{_includedir}/%{name} %{_pkgconfigdir}/%{name}-0.2.pc +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libcmis-0.2.a +%endif + %files tools %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/cmis-client @@ -99,6 +125,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.5 2012/03/17 06:49:56 qboosh +- pl fixes, added -static + Revision 1.4 2012/03/11 08:31:54 arekm - release 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcmis/libcmis.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
