1 |
Name: parcellite |
2 |
Summary: Lightweight GTK+ clipboard manager |
3 |
Version: 1.1.8 |
4 |
Release: %mkrel 5 |
5 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
6 |
Patch0: %{name}-%{version}-mga-linkage.patch |
7 |
# https://sourceforge.net/p/parcellite/patches/38 |
8 |
Patch1: %{name}-%{version}-mga-desktop-file.patch |
9 |
URL: http://parcellite.sourceforge.net |
10 |
Group: Graphical desktop/GNOME |
11 |
License: GPLv3+ |
12 |
BuildRequires: intltool |
13 |
BuildRequires: pkgconfig(gtk+-2.0) |
14 |
|
15 |
%description |
16 |
Parcellite is a lightweight GTK+ clipboard manager. This is a stripped |
17 |
down, basic-features-only clipboard manager with a small memory footprint |
18 |
for those who like simplicity. |
19 |
|
20 |
%prep |
21 |
%setup -q |
22 |
%patch0 -p1 |
23 |
%patch1 -p1 |
24 |
|
25 |
%build |
26 |
%configure2_5x |
27 |
%make |
28 |
|
29 |
%install |
30 |
%makeinstall_std |
31 |
|
32 |
# KDE has own klipper |
33 |
desktop-file-edit \ |
34 |
--add-not-show-in="KDE" \ |
35 |
%{buildroot}/%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
36 |
|
37 |
%find_lang %{name} |
38 |
|
39 |
%files -f %{name}.lang |
40 |
%doc AUTHORS NEWS README ChangeLog TODO |
41 |
%{_bindir}/%{name} |
42 |
%{_datadir}/applications/%{name}.desktop |
43 |
%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop |
44 |
%{_mandir}/man1/%{name}.1* |
45 |
%{_datadir}/pixmaps/* |