SPECS: geany.spec - adapterized - cleanups - added doc_dir and des...

paladine paladine at pld-linux.org
Tue Nov 22 21:30:48 CET 2005


Author: paladine                     Date: Tue Nov 22 20:30:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adapterized
- cleanups
- added doc_dir and desktop patch
- proper license
- more BRs
- package locales
- rel. 2

---- Files affected:
SPECS:
   geany.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/geany.spec
diff -u SPECS/geany.spec:1.1 SPECS/geany.spec:1.2
--- SPECS/geany.spec:1.1	Mon Nov 21 06:52:07 2005
+++ SPECS/geany.spec	Tue Nov 22 21:30:42 2005
@@ -1,23 +1,27 @@
 # $Revision$, $Date$
-#
-# Conditional build:
-%bcond_with	tests		# build with tests
-%bcond_without	tests		# build without tests
-#
-Summary:	GTK Programmer's Editor
-Name:		geany	
+Summary:	GTK+2 Programmer's Editor
+Name:		geany
 Version:	0.3
-Release:	1
-License:	- (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
-Group:		Applications
+Release:	2
+License:	GPL v2+
+Group:		Development/Tools
 Source0:	http://geany.uvena.de/files/%{name}-%{version}.tar.bz2
 # Source0-md5:	64bc92e6d0582bc3594537da5fa7cf91
+Patch0:		%{name}-desktop.patch
+Patch1:		%{name}-doc_dir.patch
 URL:		http://geany.uvena.de/
-BuildRequires:	gtk+2-devel
+BuildRequires:	gettext-devel
+BuildRequires:	gtk+2-devel >= 2:2.4.0
+BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Geany is a small and lightweight integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME. So it uses only the GTK2 toolkit and therefore you need only the GTK2 runtime libraries to run Geany.
+Geany is a small and lightweight integrated development environment.
+It was developed to provide a small and fast IDE, which has only a few
+dependencies from other packages. Another goal was to be as
+independent as possible from a special Desktop Environment like KDE or
+GNOME. So it uses only the GTK+2 toolkit and therefore you need only
+the GTK+2 runtime libraries to run Geany.
 
 Basic features of Geany
 - syntax highlighting
@@ -25,31 +29,36 @@
 - auto completion of often used constructs like if, for and while
 - auto completion of XML and HTML tags
 - call tips
-- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
+- many supported filetypes like C, Java, PHP, HTML, Python, Perl,
+  Pascal
 - symbol lists
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-# create directories if necessary
-#install -d $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README THANKS TODO doc
+%doc AUTHORS NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/geany
 %{_desktopdir}/geany.desktop
 %{_datadir}/%{name}
@@ -61,6 +70,14 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/11/22 20:30:42  paladine
+- adapterized
+- cleanups
+- added doc_dir and desktop patch
+- proper license
+- more BRs
+- package locales
+- rel. 2
+
 Revision 1.1  2005/11/21 05:52:07  aredridel
 - added
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/geany.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list