Name: clipit Version: 1.4.1 Release: 1%{?_dist_release} Summary: lightweight GTK+ clipboard manager Summary(ja): 軽量な GTK+ クリップボードマネージャ Group: Applications/Accessories License: GPLv3 URL: http://gtk%{name}.sourceforge.net/ Source0: %{name}-%{version}.tar.gz Source1: %{name}_ja.po 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 %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 cp -f %{SOURCE1} po/ja.po %build %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 * 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