- Updated to pycups-1.9.19.

- Avoid %makeinstall.
- 0.7.60:
- Handle reconnection failure.
- New applet name.
This commit is contained in:
Tim Waugh 2007-03-27 16:28:26 +00:00
parent 6acc159123
commit 55c5672a12
3 changed files with 26 additions and 7 deletions

View File

@ -101,3 +101,5 @@ pycups-1.9.18.tar.bz2
system-config-printer-0.7.57.tar.bz2 system-config-printer-0.7.57.tar.bz2
system-config-printer-0.7.58.tar.bz2 system-config-printer-0.7.58.tar.bz2
system-config-printer-0.7.59.tar.bz2 system-config-printer-0.7.59.tar.bz2
pycups-1.9.19.tar.bz2
system-config-printer-0.7.60.tar.bz2

View File

@ -1,2 +1,2 @@
2e9e9a000e8f396218d4d7ee87b5e911 pycups-1.9.18.tar.bz2 c85a0ed5972a24c36787ce0dec4e0375 pycups-1.9.19.tar.bz2
24f809ab9bc758448f3c64f0e1aef680 system-config-printer-0.7.59.tar.bz2 966650ce6a9c91756ea2fca088e430a7 system-config-printer-0.7.60.tar.bz2

View File

@ -1,8 +1,8 @@
%define pycups_version 1.9.18 %define pycups_version 1.9.19
Summary: A printer administration tool Summary: A printer administration tool
Name: system-config-printer Name: system-config-printer
Version: 0.7.59 Version: 0.7.60
Release: 1%{?dist} Release: 1%{?dist}
License: GPL License: GPL
URL: http://cyberelk.net/tim/software/system-config-printer/ URL: http://cyberelk.net/tim/software/system-config-printer/
@ -55,10 +55,10 @@ popd
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%makeinstall make DESTDIR=%buildroot install
pushd pycups-%{pycups_version} pushd pycups-%{pycups_version}
make install DESTDIR=%buildroot make DESTDIR=%buildroot install
popd popd
mkdir -p %buildroot%{_bindir} mkdir -p %buildroot%{_bindir}
@ -69,7 +69,16 @@ install -m0644 %{SOURCE3} %buildroot%{_sysconfdir}/security/console.apps/%{name}
ln -s consolehelper %buildroot%{_bindir}/%{name} ln -s consolehelper %buildroot%{_bindir}/%{name}
# The applet desktop file gets shipped by desktop-printing. # The applet desktop file gets shipped by desktop-printing.
rm -f %buildroot%{_datadir}/applications/redhat-print-applet.desktop rm -f %buildroot%{_sysconfdir}/xdg/autostart/redhat-print-applet.desktop
# Add 'SystemSetup' desktop-file category so that 'Printing' shows
# up in the System->Administration menu.
desktop-file-install --vendor redhat \
--dir %buildroot%{_datadir}/applications/ \
--add-category X-Red-Hat-Base \
--add-category SystemSetup \
--add-category Application \
system-config-printer.desktop
%find_lang system-config-printer %find_lang system-config-printer
@ -92,6 +101,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog README NEWS TODO %doc ChangeLog README NEWS TODO
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/%{name}-applet
%{_sbindir}/%{name} %{_sbindir}/%{name}
%{_datadir}/%{name}/config.py* %{_datadir}/%{name}/config.py*
%{_datadir}/%{name}/cupsd.py* %{_datadir}/%{name}/cupsd.py*
@ -118,6 +128,13 @@ if [ "$1" = "0" ]; then
fi fi
%changelog %changelog
* Tue Mar 27 2007 Tim Waugh <twaugh@redhat.com> 0.7.60-1
- Updated to pycups-1.9.19.
- Avoid %%makeinstall.
- 0.7.60:
- Handle reconnection failure.
- New applet name.
* Mon Mar 26 2007 Tim Waugh <twaugh@redhat.com> 0.7.59-1 * Mon Mar 26 2007 Tim Waugh <twaugh@redhat.com> 0.7.59-1
- 0.7.59: - 0.7.59:
- Fixed a translatable string. - Fixed a translatable string.