1 | Name: clipit |
---|
2 | Version: 1.3.11 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: lightweight GTK+ clipboard manager |
---|
5 | Summary(ja): 軽量な GTK+ クリップボードマネージャ |
---|
6 | |
---|
7 | Group: Applications/Accessories |
---|
8 | License: GPLv3 |
---|
9 | URL: http://gtk%{name}.sourceforge.net/ |
---|
10 | Source0: %{name}-%{version}.tar.gz |
---|
11 | Source1: %{name}_ja.po |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: gtk2-devel >= 2.10.0, glib2-devel >= 2.14.0 |
---|
16 | BuildRequires: desktop-file-utils, intltool >= 0.23 |
---|
17 | BuildRequires: gettext |
---|
18 | BuildRequires: perl-XML-Parser |
---|
19 | |
---|
20 | %description |
---|
21 | ClipIt is a lightweight, fully featured GTK+ clipboard manager. |
---|
22 | It was forked from Parcellite (http://parcellite.sourceforge.net), |
---|
23 | adding additional features and bugfixes to the project. |
---|
24 | |
---|
25 | %description -l ja |
---|
26 | ClipIt は軽量で十分な機能を備えた GTK+ のクリップボードマネージャです。 |
---|
27 | Parcellite (http://parcellite.sourceforge.net) からフォークし、 |
---|
28 | プロジェクトに追加機能とバグフィックスを加えています。 |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q |
---|
32 | cp -f %{SOURCE1} po/ja.po |
---|
33 | |
---|
34 | %build |
---|
35 | %configure |
---|
36 | make %{?_smp_mflags} |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf $RPM_BUILD_ROOT |
---|
40 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
41 | %find_lang %{name} |
---|
42 | |
---|
43 | desktop-file-install --vendor="" \ |
---|
44 | --delete-original \ |
---|
45 | --remove-category=Application \ |
---|
46 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
47 | ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop |
---|
48 | |
---|
49 | desktop-file-install --vendor="" \ |
---|
50 | --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ \ |
---|
51 | ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | %files -f %{name}.lang |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %doc AUTHORS ChangeLog COPYING README NEWS TODO |
---|
59 | %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
---|
60 | %{_bindir}/%{name} |
---|
61 | %{_datadir}/applications/%{name}.desktop |
---|
62 | %{_mandir}/man1/%{name}.1.gz |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-2 |
---|
66 | - added source1 to translate modified Japanese |
---|
67 | |
---|
68 | * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-1 |
---|
69 | - initial build for VineSeed |
---|