SPECS: gnome-user-docs.spec - use macros - lang macro for scrollke...
freetz
freetz at pld-linux.org
Tue Aug 15 00:01:58 CEST 2006
Author: freetz Date: Mon Aug 14 22:01:58 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use macros - lang macro for scrollkeeper docs / gnome-doc-prepare
---- Files affected:
SPECS:
gnome-user-docs.spec (1.26 -> 1.27)
---- Diffs:
================================================================
Index: SPECS/gnome-user-docs.spec
diff -u SPECS/gnome-user-docs.spec:1.26 SPECS/gnome-user-docs.spec:1.27
--- SPECS/gnome-user-docs.spec:1.26 Mon Aug 14 03:08:17 2006
+++ SPECS/gnome-user-docs.spec Tue Aug 15 00:01:53 2006
@@ -10,7 +10,7 @@
# Source0-md5: cfe8a798760fafa138ac318bbd411319
BuildRequires: gnome-doc-utils >= 0.7.2
BuildRequires: libxslt-progs
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper >= 0.3.11-4
Requires(post,postun): scrollkeeper
Requires: yelp >= 2.15.91
@@ -27,7 +27,7 @@
%setup -q
%build
-gnome-doc-prepare --copy --force
+%{__gnome_doc_prepare}
%configure \
--disable-scrollkeeper
%{__make}
@@ -54,7 +54,27 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%{_omf_dest_dir}/*-guide
+%dir %{_omf_dest_dir}/gnome-access-guide
+%dir %{_omf_dest_dir}/system-admin-guide
+%dir %{_omf_dest_dir}/user-guide
+
+# access guide
+%{_omf_dest_dir}/gnome-access-guide/gnome-access-guide-C.omf
+%lang(es) %{_omf_dest_dir}/gnome-access-guide/gnome-access-guide-es.omf
+%lang(it) %{_omf_dest_dir}/gnome-access-guide/gnome-access-guide-it.omf
+
+# system guide
+%{_omf_dest_dir}/system-admin-guide/system-admin-guide-C.omf
+%lang(es) %{_omf_dest_dir}/system-admin-guide/system-admin-guide-es.omf
+%lang(it) %{_omf_dest_dir}/system-admin-guide/system-admin-guide-it.omf
+
+# user guide
+%{_omf_dest_dir}/user-guide/user-guide-C.omf
+%lang(bg) %{_omf_dest_dir}/user-guide/user-guide-bg.omf
+%lang(es) %{_omf_dest_dir}/user-guide/user-guide-es.omf
+%lang(it) %{_omf_dest_dir}/user-guide/user-guide-it.omf
+%lang(pt_BR) %{_omf_dest_dir}/user-guide/user-guide-pt_BR.omf
+%lang(zh_CN) %{_omf_dest_dir}/user-guide/user-guide-zh_CN.omf
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -62,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.27 2006/08/14 22:01:53 freetz
+- use macros - lang macro for scrollkeeper docs / gnome-doc-prepare
+
Revision 1.26 2006/08/14 01:08:17 grzegol
- updated to 2.15.1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gnome-user-docs.spec?r1=1.26&r2=1.27&f=u
More information about the pld-cvs-commit
mailing list