SPECS: geany.spec - up to 0.14 - removed -doc_dir.patch - make use...

twittner twittner at pld-linux.org
Sun Apr 20 12:28:22 CEST 2008


Author: twittner                     Date: Sun Apr 20 10:28:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.14
- removed -doc_dir.patch - make use of './configure --docdir'

---- Files affected:
SPECS:
   geany.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/geany.spec
diff -u SPECS/geany.spec:1.24 SPECS/geany.spec:1.25
--- SPECS/geany.spec:1.24	Fri Apr 11 15:03:46 2008
+++ SPECS/geany.spec	Sun Apr 20 12:28:17 2008
@@ -2,14 +2,13 @@
 Summary:	Fast and lightweight IDE using GTK+2
 Summary(pl.UTF-8):	Szybkie i lekkie IDE używające GTK+2
 Name:		geany
-Version:	0.13
+Version:	0.14
 Release:	1
 License:	GPL v2+
 Group:		Development/Tools
 Source0:	http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2
-# Source0-md5:	0dc4f30b5ee9132f136fd3e7e4f02e0c
+# Source0-md5:	c6c22c7f9feff81a15f5c8ece03b87c1
 Patch0:		%{name}-desktop.patch
-Patch1:		%{name}-doc_dir.patch
 URL:		http://geany.uvena.de/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -133,7 +132,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__glib_gettextize}
@@ -141,7 +139,8 @@
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+	--docdir=%{_defaultdocdir}/%{name}-%{version}
 %{__make}
 
 %install
@@ -153,19 +152,20 @@
 rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico
 
 %find_lang %{name}
+%{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README THANKS TODO scintilla/License.txt
 %attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_datadir}/%{name}
 %{_pixmapsdir}/%{name}.png
 %{_mandir}/man1/%{name}.1*
 %dir %{_libdir}/%{name}
+%doc %{_defaultdocdir}/%{name}-%{version}
 
 %files plugin-classbuilder
 %defattr(644,root,root,755)
@@ -205,6 +205,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008-04-20 10:28:17  twittner
+- up to 0.14
+- removed -doc_dir.patch - make use of './configure --docdir'
+
 Revision 1.24  2008-04-11 13:03:46  alucard
 - up to 0.13
 - new plugins: vcdiff, autosave, filebrowser
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/geany.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list