source: projects/specs/trunk/c/clipit/clipit-vl.spec @ 12175

Revision 12175, 3.3 KB checked in by ara_t, 5 years ago (diff)

clipit: update to 1.4.4

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