]>
Commit | Line | Data |
---|---|---|
781c5cac KG |
1 | # Conditional build: |
2 | %bcond_without nls # do not use Native Language Support | |
3 | %bcond_with gnuld # assume the C compiler uses GNU ld | |
4 | ||
5 | Summary: geany gdb plugin | |
6 | Summary(pl.UTF-8): wtyczka dla geany wspierająca gdb | |
7 | Name: geany-plugin-gdb | |
8 | Version: 0.0.2 | |
9 | Release: 1 | |
10 | License: GPL v2 | |
11 | Group: Libraries | |
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 | |
038ac5df | 18 | BuildRequires: gettext-tools |
781c5cac KG |
19 | BuildRequires: gtk+2-devel >= 2:2.8 |
20 | BuildRequires: intltool | |
21 | BuildRequires: libtool | |
c7d52f75 | 22 | BuildRequires: pkgconfig |
781c5cac KG |
23 | BuildRequires: rpmbuild(macros) >= 1.198 |
24 | Requires: gdb | |
25 | Requires: geany >= 0.16 | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | This is a plugin to provide integrated debugging from Geany using the | |
30 | GNU debugger (gdb). | |
31 | ||
32 | %descriptaion -l pl.UTF-8 | |
33 | Ta wtyczka zapewnia zintegrowanie debugownia z Geany dzięki użyciu GNU | |
34 | debugera (gdb). | |
35 | ||
36 | %package static | |
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} | |
41 | ||
42 | %description static | |
43 | geany-plugin-gdb static library. | |
44 | ||
45 | %description static -l pl.UTF-8 | |
46 | Biblioteka statyczna geany-plugin-gdb. | |
47 | ||
781c5cac KG |
48 | %prep |
49 | %setup -q -n geanygdb-%{version} | |
50 | ||
51 | %build | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
56 | %{__autoconf} | |
57 | ||
58 | %configure \ | |
59 | %{?with_gnuld: --with-gnu-ld} \ | |
60 | %{!?with_nls: --disable-nls} \ | |
61 | --enable-static | |
62 | ||
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %find_lang geanygdb | |
72 | ||
b0a86ab5 | 73 | %clean |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
781c5cac KG |
76 | %files -f geanygdb.lang |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root)%{_bindir}/* | |
79 | %{_libdir}/geany/*.so | |
80 | %{_libdir}/geany/*.la | |
81 | ||
82 | %files static | |
83 | %defattr(644,root,root,755) | |
84 | %attr(755,root,root) %{_libdir}/geany/*.a |