source: projects/specs/branches/6/g/geany-plugin-gdb/geany-plugin-gdb-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define __name geanygdb
2
3Summary:       Geany plugin to provide integrated debugging environment using the GNU debugger
4Summary(ja):       GNU デバッガを使い統合的デバッグ環境を提供する Geany プラグイン
5Name:          geany-plugin-gdb
6Version:       0.0.2
7Release: 2%{?_dist_release}
8License:       GPLv2
9Group:         Development/Tools
10Source:   http://plugins.geany.org/geanygdb/%{__name}-%{version}.tar.gz
11URL:           http://plugins.geany.org/%{__name}/
12BuildRoot:     %{_tmppath}/%{__name}-%{version}-root
13Requires:      geany >= 0.16
14Requires:      gdb
15BuildRequires: geany-devel
16BuildRequires: gtk2, gtk2-devel
17BuildRequires: intltool libtool gettext
18
19%description
20Geanygdb is plugin to provide integrated debugging environment
21using the GNU debugger.
22
23%description -l ja
24Geanygdb は GNU デバッガを使い統合的デバッグ環境を提供する Geany プラグインです。
25
26%prep
27%setup -q -n %{__name}-%{version}
28
29%build
30%configure
31make %{?_smp_mflags}
32
33%install
34%__rm -Rf $RPM_BUILD_ROOT
35
36install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/geany/
37install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/locale/
38
39./libtool --silent --mode=install /usr/bin/install -c ./src/geanygdb.la \
40        $RPM_BUILD_ROOT%{_libdir}/geany/geanygdb.la
41mv ./po/de.gmo ./po/geanygdb_de.mo
42
43install -m 0755 ./po/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/
44
45#remove .la file before packaging
46rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/geanygdb.la
47
48%clean
49%__rm -Rf $RPM_BUILD_ROOT
50
51%files
52%defattr(-, root, root, -)
53%doc AUTHORS COPYING ChangeLog NEWS README
54%{_libdir}/geany/geanygdb.so
55%{_datadir}/locale/*
56
57%changelog
58
59* Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.2-2vl5
60- rebuilt with geany-0.18
61
62* Sat Jun 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.0.2-1vl5
63- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.