Name: parcellite
Version: 0.9
Release: 1%{?dist}
Summary: A lightweight GTK+ clipboard manager
Group: User Interface/Desktops
License: GPLv3+
URL: http://parcellite.sourceforge.net/
Source0: http://downloads.sourceforge.net/parcellite/parcellite-%{version}.tar.gz
# submitted upstream and to German translator by mail on Nov 23 2008
Patch0: parcellite-0.9-de.po.patch
# received from upstream by mail on Nov 23 2008
Patch1: parcellite-0.9-main.c.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.10.0
BuildRequires: desktop-file-utils, intltool >= 0.23
%description
Parcellite is a stripped down, basic-features-only clipboard manager with a
small memory footprint for those who like simplicity.
In GNOME and Xfce the clipboard manager will be started automatically. For
other desktops or window managers you should also install a panel with a
system tray or notification area if you want to use this package.
%prep
%setup -q
%patch0 -p1 -b .orig
%patch1 -p0 -b .click
%build
%configure
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="fedora" \
--delete-original \
--remove-category=Application \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
desktop-file-install --vendor="" \
--delete-original \
--add-category=TrayIcon \
--dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ \
${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%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/fedora-%{name}.desktop
%{_mandir}/man1/%{name}.1.gz
%changelog
* Sun Nov 23 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.9-1
- Update to 0.9
- Fix Control+Click behaviour
- Small corrections to German translation
* Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.8-1
- Update to 0.8
* Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-2
- No longer require lxpanel
- Preserve timestamps during install
- Include NEWS in doc
* Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-1
- Initial Fedora RPM