SPECS: gqview.spec - intltoolize before glib_gettextize - leave ht...

havner havner at pld-linux.org
Sun Jul 23 23:54:41 CEST 2006


Author: havner                       Date: Sun Jul 23 21:54:41 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- intltoolize before glib_gettextize
- leave html docs in docdir (they are used in help menu), dont know any
  cleaner way of doing it (if there is one)
- rel 2

---- Files affected:
SPECS:
   gqview.spec (1.115 -> 1.116) 

---- Diffs:

================================================================
Index: SPECS/gqview.spec
diff -u SPECS/gqview.spec:1.115 SPECS/gqview.spec:1.116
--- SPECS/gqview.spec:1.115	Sat Oct 15 13:07:26 2005
+++ SPECS/gqview.spec	Sun Jul 23 23:54:36 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Narzędzie do przeglądania plików graficznych
 Name:		gqview
 Version:	2.1.1
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		X11/Applications/Graphics
 Source0:	http://dl.sourceforge.net/gqview/%{name}-%{version}.tar.gz
@@ -54,8 +54,8 @@
 mv -f po/{zh_CN.GB2312,zh_CN}.po
 
 %build
-%{__glib_gettextize}
 %{__intltoolize}
+%{__glib_gettextize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -69,6 +69,9 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install AUTHORS README TODO ChangeLog $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{AUTHORS,README,TODO,ChangeLog}
+
 %find_lang %{name}
 
 %post
@@ -82,7 +85,9 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS README TODO ChangeLog
+#doc AUTHORS README TODO ChangeLog
+%docdir %{_docdir}/%{name}-%{version}
+%{_docdir}/%{name}-%{version}/*
 %attr(755,root,root) %{_bindir}/gqview
 %{_desktopdir}/gqview.desktop
 %{_pixmapsdir}/gqview.png
@@ -94,6 +99,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.116  2006/07/23 21:54:36  havner
+- intltoolize before glib_gettextize
+- leave html docs in docdir (they are used in help menu), dont know any
+  cleaner way of doing it (if there is one)
+- rel 2
+
 Revision 1.115  2005/10/15 11:07:26  wolf
 - removed debug.patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gqview.spec?r1=1.115&r2=1.116&f=u



More information about the pld-cvs-commit mailing list