SPECS: evince.spec - added manual page - added apidocs subpackage ...
wrobell
wrobell at pld-linux.org
Wed Mar 14 20:46:57 CET 2007
Author: wrobell Date: Wed Mar 14 19:46:57 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added manual page
- added apidocs subpackage with API documentation
---- Files affected:
SPECS:
evince.spec (1.61 -> 1.62)
---- Diffs:
================================================================
Index: SPECS/evince.spec
diff -u SPECS/evince.spec:1.61 SPECS/evince.spec:1.62
--- SPECS/evince.spec:1.61 Wed Mar 14 11:26:26 2007
+++ SPECS/evince.spec Wed Mar 14 20:46:52 2007
@@ -3,7 +3,8 @@
# TODO: fix t1lib build time misdetection (very low prio)
#
# Conditional build:
-%bcond_without dbus # enable DBUS support
+%bcond_without dbus # enable DBUS support
+%bcond_without apidocs # disable gtk-doc
#
Summary: Document viewer for multiple document formats
Summary(pl.UTF-8): Przeglądarka dokumentów w wielu formatach
@@ -76,6 +77,18 @@
%description -n nautilus-extension-evince -l pl.UTF-8
Pokazuje właściwości dokumentu Evince w Nautilusie.
+%package apidocs
+Summary: Evince API documentation
+Summary(pl.UTF-8): Dokumentacja API aplikacji Evince
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+Evince API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API aplikacji Evince.
+
%prep
%setup -q
%patch0 -p1
@@ -89,6 +102,7 @@
%{__autoheader}
%{__automake}
%configure \
+ %{?with_apidocs:--enable-gtk-doc} \
--disable-static \
--disable-schemas-install \
--enable-comics \
@@ -99,14 +113,16 @@
--enable-nautilus \
--enable-pixbuf \
--enable-tiff \
- --with-print=gtk
+ --with-print=gtk \
+ --with-html-dir=%{_gtkdocdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ HTML_DIR=%{_gtkdocdir}
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
@@ -141,6 +157,7 @@
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
%{_sysconfdir}/gconf/schemas/evince.schemas
%{_sysconfdir}/gconf/schemas/evince-thumbnailer-comics.schemas
%{_sysconfdir}/gconf/schemas/evince-thumbnailer-djvu.schemas
@@ -155,12 +172,22 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so*
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/*
+%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.62 2007/03/14 19:46:52 wrobell
+- added manual page
+- added apidocs subpackage with API documentation
+
Revision 1.61 2007/03/14 10:26:26 wrobell
- ver. 0.8.0 (nfy, filelist has to be updated)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/evince.spec?r1=1.61&r2=1.62&f=u
More information about the pld-cvs-commit
mailing list