xprehashprinterlist/xprehashprinterlist.spec

47 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

Name: xprehashprinterlist
Version: 1.0.1
Release: 1mamba
Summary: xprehashprinterlist Recomputes the list of available printers
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://xorg.freedesktop.org/
Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXp-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
xprehashprinterlist causes all Xprint servers to recompute (update) their lists of available printers, and update the attributes for the printers.
The intended usage of this tool is that a system administrator can run it after changing the printer topology.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR="%{buildroot}"
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/man?/*
%doc COPYING ChangeLog README
%changelog
* Sun Apr 24 2011 Tiziana Ferro <tiziana.ferro@email.it> 1.0.1-1mamba
- package created by autospec