SPECS: libtasn1.spec - added apidocs subpackage - release 2

megabajt megabajt at pld-linux.org
Fri Apr 27 20:30:23 CEST 2007


Author: megabajt                     Date: Fri Apr 27 18:30:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added apidocs subpackage
- release 2

---- Files affected:
SPECS:
   libtasn1.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/libtasn1.spec
diff -u SPECS/libtasn1.spec:1.35 SPECS/libtasn1.spec:1.36
--- SPECS/libtasn1.spec:1.35	Fri Mar 16 21:19:08 2007
+++ SPECS/libtasn1.spec	Fri Apr 27 20:30:15 2007
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	Biblioteka ASN.1 używana w GNUTLS
 Name:		libtasn1
 Version:	0.3.9
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
 Source0:	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/%{name}-%{version}.tar.gz
@@ -68,6 +68,18 @@
 %description static -l pl.UTF-8
 Biblioteka statyczna libtasn1.
 
+%package apidocs
+Summary:	libtasn1 API documentation
+Summary(pl.UTF-8):	Dokumentacja API libtasn1
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+libtasn1 API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API libtasn1.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -123,7 +135,6 @@
 %{_pkgconfigdir}/libtasn1.pc
 %{_infodir}/*.info*
 %{_mandir}/man3/*.3*
-%{?with_apidocs:%{_gtkdocdir}/%{name}}
 
 %if %{with static_libs}
 %files static
@@ -131,12 +142,22 @@
 %{_libdir}/lib*.a
 %endif
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/%{name}
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2007/04/27 18:30:15  megabajt
+- added apidocs subpackage
+- release 2
+
 Revision 1.35  2007/03/16 20:19:08  qboosh
 - updated to 0.3.9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libtasn1.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list