[packages/gobby] - updated to 0.5.0 (moved from obby to libinfinity)

qboosh qboosh at pld-linux.org
Wed May 13 17:58:24 CEST 2015


commit 19976a88db411398df8889a96c905d42a064fb54
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 13 17:59:55 2015 +0200

    - updated to 0.5.0 (moved from obby to libinfinity)

 gobby.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 48 insertions(+), 15 deletions(-)
---
diff --git a/gobby.spec b/gobby.spec
index af5f581..eff6a40 100644
--- a/gobby.spec
+++ b/gobby.spec
@@ -1,24 +1,39 @@
 #
 # Conditional build:
-%bcond_without	gnome		# build without GNOME integration
+%bcond_with	gtk3		# GTK+ 3.x instead of 2.x [seems an early adoption]
 #
 Summary:	Gobby network editor
 Summary(pl.UTF-8):	Edytor sieciowy Gobby
 Name:		gobby
-Version:	0.4.5
-Release:	3
-License:	GPL v2+
+Version:	0.5.0
+Release:	1
+License:	ISC
 Group:		X11/Applications/Editors
 Source0:	http://releases.0x539.de/gobby/%{name}-%{version}.tar.gz
-# Source0-md5:	e5501d37f4199938dfe97d30fdf14e9a
+# Source0-md5:	80b30bb4205b623f8e065150cbfb21e6
 URL:		http://gobby.0x539.de/
 BuildRequires:	autoconf >= 2.59
-BuildRequires:	automake >= 1.9
-BuildRequires:	gtkmm-devel >= 2.6.0
-BuildRequires:	gtksourceview-devel >= 1.0.0
+BuildRequires:	automake >= 1:1.9
+BuildRequires:	gettext-tools
+BuildRequires:	glibmm-devel >= 2.18.0
+BuildRequires:	gnome-doc-utils >= 0.9.0
+BuildRequires:	gsasl-devel >= 0.2.21
+%{!?with_gtk3:BuildRequires:	gtkmm-devel >= 2.6.0}
+%{?with_gtk3:BuildRequires:	gtkmm3-devel >= 3.0}
+%{!?with_gtk3:BuildRequires:	gtksourceview2-devel >= 2.4}
+%{?with_gtk3:BuildRequires:	gtksourceview3-devel >= 3.0}
+BuildRequires:	intltool >= 0.35.0
+BuildRequires:	libinfinity-devel >= 0.6
+%{!?with_gtk3:BuildRequires:	libinfinity-gtk-devel >= 0.6}
+%{?with_gtk3:BuildRequires:	libinfinity-gtk3-devel >= 0.6}
+%{!?with_gtk3:BuildRequires:	libunique-devel >= 1.1.2}
+%{?with_gtk3:BuildRequires:	libunique3-devel >= 3}
+BuildRequires:	libstdc++-devel
 BuildRequires:	libxml++-devel >= 2.6.0
-BuildRequires:	obby-devel >= 0.4.3
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.596
+Requires(post,postun):	gtk-update-icon-cache
+Requires:	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -35,7 +50,7 @@ Edytor sieciowy Gobby.
 %{__autoconf}
 %{__automake}
 %configure \
-	%{?with_gnome: --with-gnome}
+	%{?with_gtk3:--with-gtk3}
 %{__make}
 
 %install
@@ -44,14 +59,32 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{el_GR,el}
+
+# gobby05.mo, gnome/help/gobby
+%find_lang %{name} --all-name --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/gobby.1*
-%{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
+%doc AUTHORS COPYING ChangeLog NEWS TODO
+%attr(755,root,root) %{_bindir}/gobby-0.5
+%{_datadir}/gobby-0.5
+%{_datadir}/appdata/gobby-0.5.appdata.xml
+%{_mandir}/man1/gobby-0.5.1*
+%{_desktopdir}/gobby-0.5.desktop
+%{_iconsdir}/hicolor/48x48/apps/gobby-0.5.png
+%{_iconsdir}/hicolor/scalable/apps/gobby-0.5.svg
+# which themes???
+#%{_iconsdir}/HighContrastLargePrint/48x48/apps/gobby-0.5.png
+#%{_iconsdir}/HighContrastLargePrint/scalable/apps/gobby-0.5.svg
+#%{_iconsdir}/HighContrastLargePrintInverse/48x48/apps/gobby-0.5.png
+#%{_iconsdir}/HighContrastLargePrintInverse/scalable/apps/gobby-0.5.svg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gobby.git/commitdiff/19976a88db411398df8889a96c905d42a064fb54



More information about the pld-cvs-commit mailing list