]> git.pld-linux.org Git - packages/geany.git/blobdiff - geany.spec
- release 2 (by relup.sh)
[packages/geany.git] / geany.spec
index 78aa3c58128cb67372dade8f64d1e5ca6b7312cd..45c19b61bd55e586633306fd3dd1b2b63824e485 100644 (file)
@@ -1,25 +1,23 @@
 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.17
-Release:       1
+Version:       1.22
+Release:       2
 License:       GPL v2+
 Group:         Development/Tools
-Source0:       http://dl.sourceforge.net/geany/%{name}-%{version}.tar.bz2
-# Source0-md5: 097f619f5f0800098a2438a216a28e7b
+Source0:       http://download.geany.org/%{name}-%{version}.tar.bz2
+# Source0-md5: 0672077fe83e2a739aa0eaca426aacf0
 Patch0:                %{name}-desktop.patch
-URL:           http://geany.uvena.de/
-BuildRequires: autoconf
-BuildRequires: automake
+URL:           http://www.geany.org/
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.4.0
+BuildRequires: glib2-devel >= 1:2.20.0
+BuildRequires: gtk+2-devel >= 2:2.16.0
 BuildRequires: intltool
 BuildRequires: libstdc++-devel
-BuildRequires: libtool
 BuildRequires: pkgconfig
-BuildRequires: vte-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: which
 Obsoletes:     geany-plugin-vcdiff
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Geany is a small and lightweight integrated development environment.
@@ -48,8 +46,8 @@ graficznego jak KDE czy GNOME.
 Podstawowe cechy Geany to:
 - podświetlanie składni
 - uzupełnianie kodu
-- automatyczne uzupełnianie często używanych konstrukcji jak if, for
-  while
+- automatyczne uzupełnianie często używanych konstrukcji jak if, fi
+  while
 - automatyczne uzupełnianie znaczników XML i HTML
 - wyświetlanie podpowiedzi
 - wiele wspieranych typów plików jak C, Java, PHP, Python, Perl,
@@ -145,14 +143,9 @@ Wtyczka dzieląca okno na dwie części.
 %patch0 -p1
 
 %build
-%{__intltoolize}
-%{__libtoolize}
-%{__aclocal}
-%{__autoheader}
-%{__autoconf}
-%{__automake}
 %configure \
-       --docdir=%{_defaultdocdir}/%{name}-%{version}
+       --disable-silent-rules \
+       --docdir=%{_docdir}/%{name}-%{version}
 %{__make}
 
 %install
@@ -161,10 +154,13 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT/%{_pixmapsdir}/%{name}.ico
+rm -f $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.ico
+
+# fix locales
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/lb
 
 %find_lang %{name}
-%{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'}
+%{!?_noautocompressdoc:find $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} -not -name '*.html' -not -name '*.png' -exec gzip '{}' ';'}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -174,7 +170,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/%{name}
 %{_desktopdir}/%{name}.desktop
 %{_datadir}/%{name}
-%{_pixmapsdir}/%{name}.png
+#%{_pixmapsdir}/%{name}.png
+%{_iconsdir}/hicolor/16x16/apps/geany.png
+%{_iconsdir}/hicolor/48x48/apps/geany.png
+%{_iconsdir}/hicolor/scalable/apps/geany.svg
 %{_mandir}/man1/%{name}.1*
 %dir %{_libdir}/%{name}
 %doc %{_docdir}/%{name}-%{version}
This page took 0.030468 seconds and 4 git commands to generate.