1 | %define __name geanyvc |
---|
2 | |
---|
3 | Summary: geanyvc is plugin that provides a uniform way of accessing the different version-control systems |
---|
4 | Summary(ja): 異なるバージョン制御システムにアクセスする均一的方法を提供する Geany プラグイン |
---|
5 | Name: geany-plugin-vc |
---|
6 | Version: 0.5 |
---|
7 | Release: 6%{?_dist_release} |
---|
8 | License: GPLv2 |
---|
9 | Group: Development/Tools |
---|
10 | Source: http://users.cosmostv.by/yurand/geanyvc/geanyvc-%{version}.tar.gz |
---|
11 | URL: http://plugins.geany.org/geanyvc/ |
---|
12 | BuildRoot: %{_tmppath}/%{__name}-%{version}-root |
---|
13 | |
---|
14 | Requires: geany >= 0.16 |
---|
15 | BuildRequires: geany-devel |
---|
16 | BuildRequires: gettext, intltool |
---|
17 | BuildRequires: gtk2, gtk2-devel, gtkspell-devel |
---|
18 | BuildRequires: perl-XML-Parser |
---|
19 | |
---|
20 | %description |
---|
21 | geanyvc is plugin that provides a uniform way of accessing the different |
---|
22 | version-control systems inside Geany IDE. |
---|
23 | |
---|
24 | %description -l ja |
---|
25 | geanyvc は Geany IDE で異なるバージョン制御システムにアクセスする |
---|
26 | 均一的方法を提供するプラグインです。 |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n geanyvc-%{version} |
---|
30 | |
---|
31 | %build |
---|
32 | %configure |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | %install |
---|
36 | %__rm -Rf $RPM_BUILD_ROOT |
---|
37 | |
---|
38 | install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/geany/ |
---|
39 | install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/locale/ |
---|
40 | |
---|
41 | ./libtool --silent --mode=install /usr/bin/install -c ./geanyvc.la $RPM_BUILD_ROOT%{_libdir}/geany/geanyvc.la |
---|
42 | mv ./po/de.gmo ./po/geanyvc_de.mo |
---|
43 | |
---|
44 | install -m 0755 ./po/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/ |
---|
45 | |
---|
46 | #remove .la file before packaging |
---|
47 | rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/geanyvc.la |
---|
48 | |
---|
49 | %clean |
---|
50 | %__rm -Rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-, root, root, -) |
---|
54 | %doc COPYING ChangeLog README |
---|
55 | %{_libdir}/geany/geanyvc.so |
---|
56 | %{_datadir}/locale/* |
---|
57 | |
---|
58 | %changelog |
---|
59 | * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-6vl5 |
---|
60 | - rebuilt with geany-0.18 |
---|
61 | |
---|
62 | * Sat Jul 18 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-5vl5 |
---|
63 | - added BuildRequires: gtkspell-devel, gettext, intltool, perl-XML-Parser |
---|
64 | |
---|
65 | * Mon May 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-4vl5 |
---|
66 | - added document in %files |
---|
67 | |
---|
68 | * Sun May 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-3vl5 |
---|
69 | - rebuilt with geany-0.17 |
---|
70 | - spec in UTF-8 |
---|
71 | - changed summary(ja) and description(ja) a little |
---|
72 | |
---|
73 | * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> - 0.5-2vl5 |
---|
74 | - fixed library path for lib64 |
---|
75 | |
---|
76 | * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5 |
---|
77 | - new upstream release |
---|
78 | - changed Requires: geany >= 0.16 |
---|
79 | |
---|
80 | * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-3vl5 |
---|
81 | - fixed %changelog typo |
---|
82 | |
---|
83 | * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-2vl5 |
---|
84 | - rebuilt with geany-0.16 |
---|
85 | |
---|
86 | * Thu Feb 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-1vl5 |
---|
87 | - initial build for VineSeed |
---|