]>
Commit | Line | Data |
---|---|---|
1f317831 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without gnome # build without GNOME integration | |
4 | # | |
953e84fd | 5 | Summary: Gobby network editor |
0371740a | 6 | Summary(pl.UTF-8): Edytor sieciowy Gobby |
953e84fd | 7 | Name: gobby |
540561b2 | 8 | Version: 0.4.5 |
b5a67553 | 9 | Release: 1 |
1f317831 | 10 | License: GPL v2+ |
11 | Group: X11/Applications/Editors | |
b5a67553 | 12 | Source0: http://releases.0x539.de/gobby/%{name}-%{version}.tar.gz |
540561b2 | 13 | # Source0-md5: e5501d37f4199938dfe97d30fdf14e9a |
953e84fd | 14 | URL: http://gobby.0x539.de/ |
1f317831 | 15 | BuildRequires: autoconf >= 2.59 |
16 | BuildRequires: automake >= 1.9 | |
17 | BuildRequires: gtkmm-devel >= 2.6.0 | |
18 | BuildRequires: gtksourceview-devel >= 1.0.0 | |
19 | BuildRequires: libxml++-devel >= 2.6.0 | |
b5a67553 | 20 | BuildRequires: obby-devel >= 0.4.3 |
1f317831 | 21 | BuildRequires: pkgconfig |
953e84fd | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | gobby network editor. | |
26 | ||
543c6031 | 27 | %description -l pl.UTF-8 |
ae81c5dd JB |
28 | Edytor sieciowy Gobby. |
29 | ||
953e84fd | 30 | %prep |
b5a67553 | 31 | %setup -q |
953e84fd | 32 | |
33 | %build | |
1f317831 | 34 | %{__aclocal} -I m4 |
35 | %{__autoconf} | |
36 | %{__automake} | |
37 | %configure \ | |
38 | %{?with_gnome: --with-gnome} | |
953e84fd | 39 | %{__make} |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %find_lang %{name} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files -f %{name}.lang | |
53 | %defattr(644,root,root,755) | |
54 | %attr(755,root,root) %{_bindir}/* | |
0d2d51fd | 55 | %{_mandir}/man1/gobby.1* |
dc56c6c6 | 56 | %{_desktopdir}/*.desktop |
1f317831 | 57 | %{_pixmapsdir}/* |