2 %bcond_without nls # do not use Native Language Support
3 %bcond_with gnuld # assume the C compiler uses GNU ld
5 Summary: geany gdb plugin
6 Summary(pl.UTF-8): wtyczka dla geany wspierająca gdb
12 Source0: http://plugins.geany.org/geanygdb/geanygdb-%{version}.tar.gz
13 # Source0-md5: 9e088888ac81c902fa5fe487e147efdf
14 URL: http://plugins.geany.org/geanygdb/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: geany-devel >= 0.16
18 BuildRequires: gettext-tools
19 BuildRequires: gtk+2-devel >= 2:2.8
20 BuildRequires: intltool
21 BuildRequires: libtool
22 BuildRequires: pkgconfig
23 BuildRequires: rpmbuild(macros) >= 1.198
25 Requires: geany >= 0.16
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is a plugin to provide integrated debugging from Geany using the
32 %descriptaion -l pl.UTF-8
33 Ta wtyczka zapewnia zintegrowanie debugownia z Geany dzięki użyciu GNU
37 Summary: geany-plugin-gdb static library
38 Summary(pl.UTF-8): Biblioteka statyczna geany-plugin-gdb
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{rel}
43 geany-plugin-gdb static library.
45 %description static -l pl.UTF-8
46 Biblioteka statyczna geany-plugin-gdb.
49 %setup -q -n geanygdb-%{version}
59 %{?with_gnuld: --with-gnu-ld} \
60 %{!?with_nls: --disable-nls} \
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %files -f geanygdb.lang
77 %defattr(644,root,root,755)
78 %attr(755,root,root)%{_bindir}/*
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/geany/*.a