Name: clipit Version: 1.4.4 Release: 2%{?_dist_release} Summary: lightweight GTK+ clipboard manager Summary(ja): 軽量な GTK+ クリップボードマネージャ Group: Applications/Accessories License: GPLv3 URL: http://gtk%{name}.sourceforge.net/ # https://github.com/CristianHenzel/ClipIt/releases Source0: ClipIt-%{version}.tar.gz #Source1: %{name}_ja.po Patch0: delete_unity.patch # fix selecting by number at reverse history Patch1: clipit_select_reverse_history.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gtk2-devel >= 2.10.0, glib2-devel >= 2.14.0 BuildRequires: desktop-file-utils, intltool >= 0.23 BuildRequires: gettext BuildRequires: perl-XML-Parser Requires: xdotool %description ClipIt is a lightweight, fully featured GTK+ clipboard manager. It was forked from Parcellite (http://parcellite.sourceforge.net), adding additional features and bugfixes to the project. %description -l ja ClipIt は軽量で十分な機能を備えた GTK+ のクリップボードマネージャです。 Parcellite (http://parcellite.sourceforge.net) からフォークし、 プロジェクトに追加機能とバグフィックスを加えています。 %prep %setup -q -n ClipIt-%{version} #cp -f %{SOURCE1} po/ja.po %patch0 -p1 %patch1 %build ./autogen.sh %configure --enable-appindicator=no %{__make} %{?_smp_mflags} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' %find_lang %{name} desktop-file-install --vendor="" \ --delete-original \ --remove-category=Application \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop desktop-file-install --vendor="" \ --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ \ ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop %clean %{__rm} -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING README NEWS %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/ %{_mandir}/man1/%{name}.1.gz %changelog * Sun Sep 08 2019 Toshiaki Ara - 1.4.4-2 - add Patch1 to fix selecting by number at reverse history * Sat Sep 07 2019 Toshiaki Ara - 1.4.4-1 - update to 1.4.4 * Mon Jan 13 2014 Toshiharu Kudoh - 1.4.2-2 - rebuilt with current toolchain * Sat Apr 28 2012 Toshiharu Kudoh - 1.4.2-1 - new upstream release - dropt source1 to add Japanese translation - added patch0 to delete unity key in desktop file - added Requires: xdotool * Tue Jun 07 2011 Toshiharu Kudoh - 1.4.1-1 - new upstream release - updated source1 - added configure option --enable-appindicator=no - run gtk-update-icon-cache * Fri Jan 14 2011 Toshiharu Kudoh - 1.3.11-2 - added source1 to translate modified Japanese * Wed Jan 12 2011 Toshiharu Kudoh - 1.3.11-1 - initial build for VineSeed