packages: xyzcommander/xyzcommander.spec - doc-api subpackage

uzsolt uzsolt at pld-linux.org
Wed Aug 5 10:26:16 CEST 2009


Author: uzsolt                       Date: Wed Aug  5 08:26:16 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- doc-api subpackage

---- Files affected:
packages/xyzcommander:
   xyzcommander.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/xyzcommander/xyzcommander.spec
diff -u packages/xyzcommander/xyzcommander.spec:1.2 packages/xyzcommander/xyzcommander.spec:1.3
--- packages/xyzcommander/xyzcommander.spec:1.2	Wed Aug  5 09:53:26 2009
+++ packages/xyzcommander/xyzcommander.spec	Wed Aug  5 10:26:11 2009
@@ -18,8 +18,8 @@
 BuildRequires:	rpmbuild(macros) >= 1.219
 #Requires:		python-libs
 Requires:	python-modules
-#BuildArch:	noarch
 Requires:	python-urwid
+#BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,6 +28,17 @@
 %description -l hu.UTF-8
 XYZCommander - konzolos fájlkezelő. Béta verzió!
 
+%package doc-api
+Summary:	API documentation of XYZCommander
+Summary(hu.UTF-8):	Az XYZCommander API dokumentációja
+Group:		Documentation
+
+%description doc-api
+API documentation of XYZCommander.
+
+%description doc-api -l hu.UTF-8
+Az XYZCommander API dokumentációja.
+
 %prep
 %setup -q -n %{shortname}-%{version}-%{progrelease}
 %{__sed} -i "s,doc\/xyzcmd,doc\/xyzcmd-%{version}-%{progrelease},g" setup.py
@@ -50,7 +61,8 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{shortname}
-%doc %{_docdir}/%{shortname}-%{version}-%{progrelease}
+%dir %{_docdir}/%{shortname}-%{version}-%{progrelease}
+%doc %{_docdir}/%{shortname}-%{version}-%{progrelease}/user-manual
 %{py_sitescriptdir}/libxyz
 %{py_sitescriptdir}/*.egg-info
 %dir %{_datadir}/xyzcmd
@@ -58,12 +70,19 @@
 %{_datadir}/xyzcmd/plugins
 %{_datadir}/xyzcmd/skins
 
+%files doc-api
+%defattr(644,root,root,755)
+%doc %{_docdir}/%{shortname}-%{version}-%{progrelease}/api
+
 %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.3  2009/08/05 08:26:11  uzsolt
+- doc-api subpackage
+
 Revision 1.2  2009/08/05 07:53:26  uzsolt
 - include progrelease to Release
 - R python-urwid
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xyzcommander/xyzcommander.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list