File xfprint.spec of Package xfprint
#
# spec file for package xfprint (Version 4.6.1)
#
# 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/
#
# norootforbuild
Name: xfprint
Summary: Print dialog and printer manager for XFce 4
Version: 4.6.1
Release: 1
License: GNU General Public License (GPL)
Url: http://www.xfce.org/
Source0: %{name}-%{version}.tar.bz2
Group: System/GUI/XFCE
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cups-devel glib2-devel gtk2-devel libxfce4util-devel libxfcegui4-devel libxfconf-devel
BuildRequires: gtk-doc intltool
%description
xfprint contains a print dialog and a printer manager for the XFce 4
Desktop Environment
Authors:
--------
Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
%package devel
License: GNU General Public License (GPL)
Requires: xfprint = %{version}
Summary: Print dialog and printer manager for XFce 4
Group: System/GUI/XFCE
Requires: glib2-devel gtk2-devel libxfcegui4-devel libxfce4util-devel libxfconf-devel cups-devel
PreReq: %install_info_prereq
%description devel
xfprint contains a print dialog and a printer manager for the XFce 4
Desktop Environment
Authors:
--------
Benedikt Meurer <benedikt.meurer@unix-ag.uni-siegen.de>
%prep
%setup -q
%build
%configure \
--disable-static \
--enable-gtk-doc \
--enable-cups
make %{?jobs:-j%jobs}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%find_lang %{name}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{_libdir}/xfce4/xfprint-plugins/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %name.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/xfce4/doc/*/xfprint.html
%{_datadir}/xfce4/doc/*/*/*
%dir %{_libdir}/xfce4/xfprint-plugins
%{_libdir}/xfce4/xfprint-plugins/cups_plugin.so
%dir %{_libdir}/xfce4
%dir %{_datadir}/xfce4
%dir %{_datadir}/xfce4/doc
%dir %{_datadir}/xfce4/doc/C
%dir %{_datadir}/xfce4/doc/C/images
%dir %{_datadir}/xfce4/doc/fr
%dir %{_datadir}/xfce4/doc/fr/images
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/xfce4/libxfprint
%{_datadir}/gtk-doc/html/libxfprint
%changelog