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