SPECS: awesome.spec - added lua-doc and doxygen BRs - split to awesome and ...

uzsolt uzsolt at pld-linux.org
Thu Sep 18 22:24:27 CEST 2008


Author: uzsolt                       Date: Thu Sep 18 20:24:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added lua-doc and doxygen BRs
- split to awesome and awesome-doc packages

---- Files affected:
SPECS:
   awesome.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/awesome.spec
diff -u SPECS/awesome.spec:1.15 SPECS/awesome.spec:1.16
--- SPECS/awesome.spec:1.15	Thu Sep 18 20:31:39 2008
+++ SPECS/awesome.spec	Thu Sep 18 22:24:21 2008
@@ -1,9 +1,5 @@
 # $Revision$, $Date$
 # TODO
-# - lua-doc: spec file is created - OK
-# - add luadoc and doxygen to BRs
-# - move the generated html files (with luadoc) to correct place
-# - split two subpackage: awesome and awesome-doc (htmls)
 # - correct xsession.desktop file to appear in *dm
 %define	subver	rc6
 %define	rel		2
@@ -12,7 +8,7 @@
 Summary(pl.UTF-8):	Zarządca okien X - Awesome
 Name:		awesome
 Version:	3.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Window Managers
 Source0:	http://awesome.naquadah.org/download/%{name}-%{version}.tar.bz2
@@ -20,16 +16,15 @@
 Source1:	%{name}-xsession.desktop
 Patch0:		%{name}-3.0-lua-files.patch
 URL:		http://awesome.naquadah.org
-# BuildRequires:	luadoc - it's ready but need to build luadoc (it exists in SPEC-file)
 BuildRequires:	asciidoc
 BuildRequires:	cairo-devel
 BuildRequires:	cmake >= 2.6
 BuildRequires:	dbus-devel
-# doxygen required when build source code reference - see TODO
-# BuildRequires:	doxygen
+BuildRequires:	doxygen
 BuildRequires:	gdk-pixbuf-devel
 BuildRequires:	gperf
 BuildRequires:	libev-devel
+BuildRequires:	lua-doc
 BuildRequires:	lua51
 BuildRequires:	lua51-devel
 BuildRequires:	pango-devel
@@ -61,6 +56,18 @@
 számítógéppel dolgozik és teljeskörű irányítást akar a grafikus
 felületén.
 
+%package doc
+Summary:	awesome window manager API documentation
+Summary(hu.UTF-8):	awesome ablakkezelő API dokumentációja
+Group:		X11/Window Managers
+
+%description doc
+awesome window manager API documentation
+
+%description doc -l hu.UTF-8
+awesome ablakkezelő API dokumentációja
+
+
 %prep
 %setup -q
 %patch0 -p1
@@ -81,13 +88,15 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
+install AUTHORS LICENSE README STYLE $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS LICENSE README STYLE
+%dir %{_docdir}/%{name}-%{version}
+%{_docdir}/%{name}-%{version}/[A-Z]*
 %attr(755,root,root) %{_bindir}/%{name}
 %attr(755,root,root) %{_bindir}/%{name}-client
 %attr(755,root,root) %{_bindir}/awsetbg
@@ -96,16 +105,30 @@
 %{_mandir}/man1/%{name}*
 %{_mandir}/man5/%{name}*
 # XXX shouldn't this dir be in filesystem or xorg packages?
+# XXX in my system there isn't until awesome won't installed - uzsolt
 %dir %{_sysconfdir}/xdg
 %dir %{_sysconfdir}/xdg/awesome
 %{_sysconfdir}/xdg/awesome/*
 
+%files doc
+%defattr(644,root,root,755)
+%dir %{_docdir}/%{name}-%{version}/luadoc
+%dir %{_docdir}/%{name}-%{version}/luadoc/files
+%dir %{_docdir}/%{name}-%{version}/luadoc/modules
+%{_docdir}/%{name}-%{version}/luadoc/*
+%{_docdir}/%{name}-%{version}/luadoc/files/*
+%{_docdir}/%{name}-%{version}/luadoc/modules/*
+
 %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.16  2008/09/18 20:24:21  uzsolt
+- added lua-doc and doxygen BRs
+- split to awesome and awesome-doc packages
+
 Revision 1.15  2008/09/18 18:31:39  uzsolt
 - up to 3.0
 - release 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/awesome.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list