Author: qboosh                       Date: Wed Aug  3 18:36:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/p11-kit:
   p11-kit.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/p11-kit/p11-kit.spec
diff -u /dev/null packages/p11-kit/p11-kit.spec:1.1
--- /dev/null   Wed Aug  3 20:36:26 2011
+++ packages/p11-kit/p11-kit.spec       Wed Aug  3 20:36:21 2011
@@ -0,0 +1,128 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs         # do not build and package API docs
+%bcond_without static_libs     # don't build static libraries
+#
+Summary:       Library and proxy module for properly loading and sharing 
PKCS#11 modules
+Summary(pl.UTF-8):     Biblioteka i moduł proxy do właściwego wczytywania i 
współdzielenia modułów PKCS#11
+Name:          p11-kit
+Version:       0.3
+Release:       1
+License:       BSD
+Group:         Libraries
+Source0:       
http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5: 319e04da39139f3bccb2d910590e0d58
+URL:           http://p11-glue.freedesktop.org/p11-kit.html
+BuildRequires: gtk-doc >= 1.15
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+P11-KIT provides a way to load and enumerate PKCS#11 modules. It also
+provides a standard configuration setup for installing PKCS#11 modules
+in such a way that they-re discoverable.
+
+%description -l pl.UTF-8
+P11-KIT zapewnia możliwość ładowania i numeracji modułów PKCS#11.
+Zapewnia też ustandaryzowaną konfigurację do instalowania modułów
+PKCS#11 w taki sposób, żeby były możliwe do wykrycia.
+
+%package devel
+Summary:       Header files for P11-KIT library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki P11-KIT
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for P11-KIT library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki P11-KIT.
+
+%package static
+Summary:       Static P11-KIT library
+Summary(pl.UTF-8):     Statyczna biblioteka P11-KIT
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static P11-KIT library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka P11-KIT.
+
+%package apidocs
+Summary:       P11-KIT API documentation
+Summary(pl.UTF-8):     Dokumentacja API biblioteki P11-KIT
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+API and internal documentation for P11-KIT library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki P11-KIT.
+
+%prep
+%setup -q
+
+%build
+%configure \
+       %{!?with_apidocs:--disable-gtk-doc} \
+       --disable-silent-rules \
+       %{?with_static_libs:--enable-static} \
+       --with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/pkcs11/modules
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libp11-kit.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/p11-kit
+%attr(755,root,root) %{_libdir}/libp11-kit.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libp11-kit.so.0
+%attr(755,root,root) %{_libdir}/p11-kit-proxy.so
+%dir %{_sysconfdir}/pkcs11
+%dir %{_sysconfdir}/pkcs11/modules
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libp11-kit.so
+%{_includedir}/p11-kit-1
+%{_pkgconfigdir}/p11-kit-1.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libp11-kit.a
+%endif
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/p11-kit
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/08/03 18:36:21  qboosh
+- new
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to