File glipper.spec of Package glipper

# spec file for package glipper (version 1.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           glipper
Version:        1.0
Release:        1
Summary:        Clipboard Manager for the GNOME Panel
License:        GPL v2 only
Url:            http://glipper.sourceforge.net/
Group:          Productivity/Other
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-python-desktop
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  python-crypto
BuildRequires:  python-devel
BuildRequires:  python-gtk-devel
BuildRequires:  python-gnome-devel
Requires:       gnome-python-desktop
Requires:       python-gtk
Requires:       python-gnome
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires
%gconf_schemas_prereq
%if 0%{?suse_version} < 1120
%define python_sitelib %{py_sitedir}
%endif

%description
Glipper is a clipboard manager for the GNOME Panel. It maintains a
history of text copied to the clipboard from which you can choose.
You can see this as a GNOME counterpart to KDE's Klipper.

Glipper uses plugins to give the user all the extra functionality
they want, including support for Actions, Snippets and No-Paste
services.

%package        devel
Summary:        Clipboard Manager for the GNOME Panel - Development Files
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}

%description    devel
Glipper is a clipboard manager for the GNOME Panel. It maintains a
history of text copied to the clipboard from which you can choose.
You can see this as a GNOME counterpart to KDE's Klipper.

Glipper uses plugins to give the user all the extra functionality
they want, including support for Actions, Snippets and No-Paste
services.

%lang_package

%prep
%setup -q

%build
%configure \
        --disable-schemas-install \
        --disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas
%fdupes %{buildroot}%{python_sitelib}

%clean
rm -rf %{buildroot}

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun

%post
%icon_theme_cache_post

%postun
%icon_theme_cache_postun

%files -f %{name}.schemas_list
%defattr(-,root,root,-)
%doc AUTHORS COPYING MAINTAINERS NEWS README
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_libdir}/%{name}
%{_libdir}/bonobo/servers/Glipper.server
%{python_sitelib}/%{name}

%files lang -f %{name}.lang

%files devel
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/*.pc

%changelog
* Tue May 20 2008 zdenekzapp@gmail.com
- Initial package
openSUSE Build Service is sponsored by