[2492] | 1 | Name: clipit |
---|
[6049] | 2 | Version: 1.4.2 |
---|
[8167] | 3 | Release: 2%{?_dist_release} |
---|
[2492] | 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 |
---|
[6049] | 11 | #Source1: %{name}_ja.po |
---|
| 12 | Patch0: delete_unity.patch |
---|
[2492] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | BuildRequires: gtk2-devel >= 2.10.0, glib2-devel >= 2.14.0 |
---|
| 17 | BuildRequires: desktop-file-utils, intltool >= 0.23 |
---|
| 18 | BuildRequires: gettext |
---|
| 19 | BuildRequires: perl-XML-Parser |
---|
| 20 | |
---|
[6049] | 21 | Requires: xdotool |
---|
| 22 | |
---|
[2492] | 23 | %description |
---|
| 24 | ClipIt is a lightweight, fully featured GTK+ clipboard manager. |
---|
| 25 | It was forked from Parcellite (http://parcellite.sourceforge.net), |
---|
| 26 | adding additional features and bugfixes to the project. |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | ClipIt は軽量で十分な機能を備えた GTK+ のクリップボードマネージャです。 |
---|
| 30 | Parcellite (http://parcellite.sourceforge.net) からフォークし、 |
---|
| 31 | プロジェクトに追加機能とバグフィックスを加えています。 |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
[6049] | 35 | #cp -f %{SOURCE1} po/ja.po |
---|
| 36 | %patch0 -p1 |
---|
[2492] | 37 | |
---|
| 38 | %build |
---|
[4077] | 39 | %configure --enable-appindicator=no |
---|
[2492] | 40 | make %{?_smp_mflags} |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 45 | %find_lang %{name} |
---|
| 46 | |
---|
| 47 | desktop-file-install --vendor="" \ |
---|
| 48 | --delete-original \ |
---|
| 49 | --remove-category=Application \ |
---|
| 50 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
| 51 | ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop |
---|
| 52 | |
---|
| 53 | desktop-file-install --vendor="" \ |
---|
| 54 | --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ \ |
---|
| 55 | ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
---|
| 56 | |
---|
| 57 | %clean |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | |
---|
[4077] | 60 | %post |
---|
| 61 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %postun |
---|
| 65 | if [ $1 -eq 0 ] ; then |
---|
| 66 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 67 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 68 | fi |
---|
| 69 | |
---|
| 70 | %posttrans |
---|
| 71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 72 | |
---|
[2492] | 73 | %files -f %{name}.lang |
---|
| 74 | %defattr(-,root,root,-) |
---|
[4077] | 75 | %doc AUTHORS ChangeLog COPYING README NEWS |
---|
[2492] | 76 | %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
---|
| 77 | %{_bindir}/%{name} |
---|
| 78 | %{_datadir}/applications/%{name}.desktop |
---|
[4077] | 79 | %{_datadir}/icons/hicolor/ |
---|
[2492] | 80 | %{_mandir}/man1/%{name}.1.gz |
---|
| 81 | |
---|
| 82 | %changelog |
---|
[8167] | 83 | * Mon Jan 13 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.2-2 |
---|
| 84 | - rebuilt with current toolchain |
---|
| 85 | |
---|
[6049] | 86 | * Sat Apr 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.2-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - dropt source1 to add Japanese translation |
---|
| 89 | - added patch0 to delete unity key in desktop file |
---|
| 90 | - added Requires: xdotool |
---|
| 91 | |
---|
[4077] | 92 | * Tue Jun 07 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.1-1 |
---|
| 93 | - new upstream release |
---|
| 94 | - updated source1 |
---|
| 95 | - added configure option --enable-appindicator=no |
---|
| 96 | - run gtk-update-icon-cache |
---|
| 97 | |
---|
[2501] | 98 | * Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-2 |
---|
| 99 | - added source1 to translate modified Japanese |
---|
| 100 | |
---|
[2492] | 101 | * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-1 |
---|
| 102 | - initial build for VineSeed |
---|