# # Conditional build: %bcond_without gnome # build without GNOME integration # %define _rc rc3 Summary: Gobby network editor Summary(pl): Edytor sieciowy Gobby Name: gobby Version: 0.3.0 Release: 0.%{_rc}.1 License: GPL v2+ Group: X11/Applications/Editors Source0: http://releases.0x539.de/gobby/%{name}-%{version}%{_rc}.tar.gz # Source0-md5: 59f6b9b7076cb6f23fad054554eedb6a Patch0: %{name}-desktop.patch 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: libxml++-devel >= 2.6.0 BuildRequires: obby-devel >= 0.3.0-0.rc3.1 BuildRequires: pkgconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description gobby network editor. %description -l pl Edytor sieciowy Gobby. %prep %setup -q -n %{name}-%{version}%{_rc} %patch0 -p1 %build %{__aclocal} -I m4 %{__autoconf} %{__automake} %configure \ %{?with_gnome: --with-gnome} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/* %{_desktopdir}/*.desktop %{_pixmapsdir}/*