]> git.pld-linux.org Git - packages/gobby.git/commitdiff
- updated to 0.5.0 (moved from obby to libinfinity) auto/th/gobby-0.5.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 13 May 2015 15:59:55 +0000 (17:59 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 13 May 2015 15:59:55 +0000 (17:59 +0200)
gobby.spec

index af5f58182ce6511a3aee08de88a07fbb5f3feb78..eff6a401ff10e65285709bd768736748555e92cf 100644 (file)
@@ -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
This page took 0.071293 seconds and 4 git commands to generate.