1 | Name: clipit |
---|
2 | Version: 1.4.1 |
---|
3 | Release: 1%{?_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 --enable-appindicator=no |
---|
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 | %post |
---|
57 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
58 | |
---|
59 | |
---|
60 | %postun |
---|
61 | if [ $1 -eq 0 ] ; then |
---|
62 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
63 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
64 | fi |
---|
65 | |
---|
66 | %posttrans |
---|
67 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
68 | |
---|
69 | %files -f %{name}.lang |
---|
70 | %defattr(-,root,root,-) |
---|
71 | %doc AUTHORS ChangeLog COPYING README NEWS |
---|
72 | %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
---|
73 | %{_bindir}/%{name} |
---|
74 | %{_datadir}/applications/%{name}.desktop |
---|
75 | %{_datadir}/icons/hicolor/ |
---|
76 | %{_mandir}/man1/%{name}.1.gz |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Tue Jun 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.1-1 |
---|
80 | - new upstream release |
---|
81 | - updated source1 |
---|
82 | - added configure option --enable-appindicator=no |
---|
83 | - run gtk-update-icon-cache |
---|
84 | |
---|
85 | * Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-2 |
---|
86 | - added source1 to translate modified Japanese |
---|
87 | |
---|
88 | * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-1 |
---|
89 | - initial build for VineSeed |
---|