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

Revision 2501, 2.2 KB checked in by kudoh, 13 years ago (diff)
Line 
1Name:           clipit
2Version:        1.3.11
3Release:        2%{?_dist_release}
4Summary:        lightweight GTK+ clipboard manager
5Summary(ja):    軽量な GTK+ クリップボードマネージャ
6
7Group:          Applications/Accessories
8License:        GPLv3
9URL:            http://gtk%{name}.sourceforge.net/
10Source0:        %{name}-%{version}.tar.gz
11Source1:        %{name}_ja.po
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  gtk2-devel >= 2.10.0, glib2-devel >= 2.14.0
16BuildRequires:  desktop-file-utils, intltool >= 0.23
17BuildRequires:  gettext
18BuildRequires:  perl-XML-Parser
19
20%description
21ClipIt is a lightweight, fully featured GTK+ clipboard manager.
22It was forked from Parcellite (http://parcellite.sourceforge.net),
23adding additional features and bugfixes to the project.
24
25%description -l ja
26ClipIt は軽量で十分な機能を備えた GTK+ のクリップボードマネージャです。
27Parcellite (http://parcellite.sourceforge.net) からフォークし、
28プロジェクトに追加機能とバグフィックスを加えています。
29
30%prep
31%setup -q
32cp -f %{SOURCE1} po/ja.po
33
34%build
35%configure
36make %{?_smp_mflags}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
41%find_lang %{name}
42
43desktop-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
49desktop-file-install --vendor=""                           \
50  --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/     \
51  ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files -f %{name}.lang
57%defattr(-,root,root,-)
58%doc AUTHORS ChangeLog COPYING README NEWS TODO
59%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
60%{_bindir}/%{name}
61%{_datadir}/applications/%{name}.desktop
62%{_mandir}/man1/%{name}.1.gz
63
64%changelog
65* Fri Jan 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-2
66- added source1 to translate modified Japanese
67
68* Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-1
69- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.