]> git.pld-linux.org Git - packages/gobby.git/blob - gobby.spec
eff6a401ff10e65285709bd768736748555e92cf
[packages/gobby.git] / gobby.spec
1 #
2 # Conditional build:
3 %bcond_with     gtk3            # GTK+ 3.x instead of 2.x [seems an early adoption]
4 #
5 Summary:        Gobby network editor
6 Summary(pl.UTF-8):      Edytor sieciowy Gobby
7 Name:           gobby
8 Version:        0.5.0
9 Release:        1
10 License:        ISC
11 Group:          X11/Applications/Editors
12 Source0:        http://releases.0x539.de/gobby/%{name}-%{version}.tar.gz
13 # Source0-md5:  80b30bb4205b623f8e065150cbfb21e6
14 URL:            http://gobby.0x539.de/
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  gettext-tools
18 BuildRequires:  glibmm-devel >= 2.18.0
19 BuildRequires:  gnome-doc-utils >= 0.9.0
20 BuildRequires:  gsasl-devel >= 0.2.21
21 %{!?with_gtk3:BuildRequires:    gtkmm-devel >= 2.6.0}
22 %{?with_gtk3:BuildRequires:     gtkmm3-devel >= 3.0}
23 %{!?with_gtk3:BuildRequires:    gtksourceview2-devel >= 2.4}
24 %{?with_gtk3:BuildRequires:     gtksourceview3-devel >= 3.0}
25 BuildRequires:  intltool >= 0.35.0
26 BuildRequires:  libinfinity-devel >= 0.6
27 %{!?with_gtk3:BuildRequires:    libinfinity-gtk-devel >= 0.6}
28 %{?with_gtk3:BuildRequires:     libinfinity-gtk3-devel >= 0.6}
29 %{!?with_gtk3:BuildRequires:    libunique-devel >= 1.1.2}
30 %{?with_gtk3:BuildRequires:     libunique3-devel >= 3}
31 BuildRequires:  libstdc++-devel
32 BuildRequires:  libxml++-devel >= 2.6.0
33 BuildRequires:  pkgconfig
34 BuildRequires:  rpmbuild(macros) >= 1.596
35 Requires(post,postun):  gtk-update-icon-cache
36 Requires:       hicolor-icon-theme
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 gobby network editor.
41
42 %description -l pl.UTF-8
43 Edytor sieciowy Gobby.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__aclocal} -I m4
50 %{__autoconf}
51 %{__automake}
52 %configure \
53         %{?with_gtk3:--with-gtk3}
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{el_GR,el}
63
64 # gobby05.mo, gnome/help/gobby
65 %find_lang %{name} --all-name --with-gnome --with-omf
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post
71 %update_icon_cache hicolor
72
73 %postun
74 %update_icon_cache hicolor
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS COPYING ChangeLog NEWS TODO
79 %attr(755,root,root) %{_bindir}/gobby-0.5
80 %{_datadir}/gobby-0.5
81 %{_datadir}/appdata/gobby-0.5.appdata.xml
82 %{_mandir}/man1/gobby-0.5.1*
83 %{_desktopdir}/gobby-0.5.desktop
84 %{_iconsdir}/hicolor/48x48/apps/gobby-0.5.png
85 %{_iconsdir}/hicolor/scalable/apps/gobby-0.5.svg
86 # which themes???
87 #%{_iconsdir}/HighContrastLargePrint/48x48/apps/gobby-0.5.png
88 #%{_iconsdir}/HighContrastLargePrint/scalable/apps/gobby-0.5.svg
89 #%{_iconsdir}/HighContrastLargePrintInverse/48x48/apps/gobby-0.5.png
90 #%{_iconsdir}/HighContrastLargePrintInverse/scalable/apps/gobby-0.5.svg
This page took 0.047327 seconds and 2 git commands to generate.