2006-11-02 13:35:51 +00:00
|
|
|
%define pycups_version 1.9.14
|
2006-04-12 21:09:45 +00:00
|
|
|
|
|
|
|
Summary: A printer administration tool
|
|
|
|
Name: system-config-printer
|
2006-10-02 16:06:34 +00:00
|
|
|
Version: 0.7.32
|
2006-07-24 15:06:02 +00:00
|
|
|
Release: 1
|
2006-04-12 21:09:45 +00:00
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Base
|
|
|
|
Source0: system-config-printer-%{version}.tar.bz2
|
|
|
|
Source1: pycups-%{pycups_version}.tar.bz2
|
2006-05-05 11:53:46 +00:00
|
|
|
Source2: system-config-printer.pam
|
|
|
|
Source3: system-config-printer.console
|
2006-04-12 21:09:45 +00:00
|
|
|
|
|
|
|
%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
|
|
|
|
|
2006-04-21 13:48:40 +00:00
|
|
|
BuildRequires: cups-devel >= 1.2
|
2006-10-24 16:23:23 +00:00
|
|
|
BuildRequires: python-devel >= 2.4
|
2006-05-04 17:17:52 +00:00
|
|
|
BuildRequires: desktop-file-utils >= 0.2.92
|
2006-06-21 09:55:23 +00:00
|
|
|
BuildRequires: gettext-devel
|
2006-08-30 11:17:44 +00:00
|
|
|
BuildRequires: intltool
|
2006-04-12 21:09:45 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
Requires: pygtk2 >= 2.4.0, pygtk2-libglade
|
2006-05-27 13:10:55 +00:00
|
|
|
Requires: pygobject2
|
2006-05-05 11:53:46 +00:00
|
|
|
Requires: usermode >= 1.37
|
2006-10-31 15:01:47 +00:00
|
|
|
Requires: desktop-file-utils >= 0.2.92
|
2006-06-01 15:13:15 +00:00
|
|
|
PreReq: system-config-printer-libs = %{version}-%{release}
|
2006-04-12 21:09:45 +00:00
|
|
|
|
2006-04-13 17:13:51 +00:00
|
|
|
Obsoletes: system-config-printer-gui <= 0.6.152
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
%description
|
2006-08-11 14:31:40 +00:00
|
|
|
system-config-printer is a graphical user interface that allows
|
2006-04-12 21:09:45 +00:00
|
|
|
the user to configure a CUPS print server.
|
|
|
|
|
2006-05-31 15:02:38 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Common code for the graphical and non-graphical pieces.
|
|
|
|
Group: System Environment/Base
|
|
|
|
PreReq: python, python-abi = %{pyver}
|
|
|
|
Requires: rhpl >= 0.81
|
|
|
|
Requires: foomatic
|
|
|
|
Requires: PyXML
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
The common code used by both the graphical and non-graphical parts of
|
|
|
|
the configuration tool.
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -a 1
|
|
|
|
|
|
|
|
%build
|
2006-06-19 17:02:33 +00:00
|
|
|
%configure
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
pushd pycups-%{pycups_version}
|
|
|
|
make
|
|
|
|
popd
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-06-19 17:02:33 +00:00
|
|
|
%makeinstall
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
pushd pycups-%{pycups_version}
|
|
|
|
make install DESTDIR=%buildroot
|
|
|
|
popd
|
|
|
|
|
|
|
|
mkdir -p %buildroot%{_bindir}
|
2006-05-05 11:53:46 +00:00
|
|
|
mkdir -p %buildroot%{_sysconfdir}/pam.d
|
|
|
|
mkdir -p %buildroot%{_sysconfdir}/security/console.apps
|
|
|
|
install -m0644 %{SOURCE2} %buildroot%{_sysconfdir}/pam.d/%{name}
|
|
|
|
install -m0644 %{SOURCE3} %buildroot%{_sysconfdir}/security/console.apps/%{name}
|
|
|
|
ln -s consolehelper %buildroot%{_bindir}/%{name}
|
2006-04-12 21:09:45 +00:00
|
|
|
|
2006-06-21 10:07:19 +00:00
|
|
|
%find_lang system-config-printer
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-06-27 14:47:11 +00:00
|
|
|
%files libs -f system-config-printer.lang
|
2006-04-12 21:09:45 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc --parents pycups-%{pycups_version}/{ChangeLog,README,NEWS,TODO}
|
|
|
|
%{_libdir}/python*/*/*.so
|
2006-05-31 15:02:38 +00:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/foomatic.py*
|
|
|
|
%{_datadir}/%{name}/cupshelpers.py*
|
2006-06-01 10:38:50 +00:00
|
|
|
%{_datadir}/%{name}/gtk_html2pango.py*
|
2006-05-31 15:02:38 +00:00
|
|
|
|
2006-06-27 14:47:11 +00:00
|
|
|
%files
|
2006-05-31 15:02:38 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README NEWS TODO
|
2006-04-12 21:09:45 +00:00
|
|
|
%{_bindir}/%{name}
|
2006-05-05 11:53:46 +00:00
|
|
|
%{_sbindir}/%{name}
|
2006-06-21 10:07:19 +00:00
|
|
|
%{_datadir}/%{name}/config.py*
|
2006-05-31 15:02:38 +00:00
|
|
|
%{_datadir}/%{name}/cupsd.py*
|
|
|
|
%{_datadir}/%{name}/nametree.py*
|
|
|
|
%{_datadir}/%{name}/options.py*
|
|
|
|
%{_datadir}/%{name}/optionwidgets.py*
|
|
|
|
%{_datadir}/%{name}/probe_printer.py*
|
2006-06-23 13:09:53 +00:00
|
|
|
%{_datadir}/%{name}/pysmb.py*
|
2006-05-31 15:02:38 +00:00
|
|
|
%{_datadir}/%{name}/system-config-printer.py*
|
|
|
|
%{_datadir}/%{name}/gtk_label_autowrap.py*
|
|
|
|
%{_datadir}/%{name}/*.glade
|
2006-05-04 17:17:52 +00:00
|
|
|
%{_datadir}/applications/redhat-system-config-printer.desktop
|
2006-05-05 11:53:46 +00:00
|
|
|
%{_sysconfdir}/pam.d/%{name}
|
|
|
|
%{_sysconfdir}/security/console.apps/%{name}
|
2006-04-12 21:09:45 +00:00
|
|
|
|
2006-06-30 11:38:34 +00:00
|
|
|
%post
|
|
|
|
/bin/rm -f /var/cache/foomatic/foomatic.pickle
|
2006-10-31 15:01:47 +00:00
|
|
|
/usr/bin/update-desktop-database &>/dev/null ||:
|
2006-06-30 11:38:34 +00:00
|
|
|
exit 0
|
|
|
|
|
2006-10-31 15:01:47 +00:00
|
|
|
%postun
|
|
|
|
if [ "$1" = "0" ]; then
|
|
|
|
/usr/bin/update-desktop-database &>/dev/null ||:
|
|
|
|
fi
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
%changelog
|
2006-11-02 13:35:51 +00:00
|
|
|
* Thu Nov 2 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Updated to pycups-1.9.14 (bug #213136).
|
|
|
|
|
2006-10-31 15:01:47 +00:00
|
|
|
* Tue Oct 31 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Update desktop database (bug #213249).
|
|
|
|
|
2006-10-24 16:23:23 +00:00
|
|
|
* Tue Oct 24 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Build requires Python 2.4.
|
|
|
|
|
2006-10-02 16:06:34 +00:00
|
|
|
* Mon Oct 2 2006 Tim Waugh <twaugh@redhat.com> 0.7.32-1
|
2006-10-02 14:55:42 +00:00
|
|
|
- Updated to pycups-1.9.13 for HTTP_FORBIDDEN.
|
2006-10-02 16:06:34 +00:00
|
|
|
- 0.7.32:
|
|
|
|
- Handle HTTP errors during connection (bug #208824).
|
|
|
|
- Updated translations (bug #208873).
|
2006-10-02 14:55:42 +00:00
|
|
|
|
2006-09-29 17:03:46 +00:00
|
|
|
* Fri Sep 29 2006 Tim Waugh <twaugh@redhat.com> 0.7.31-1
|
|
|
|
- 0.7.31:
|
|
|
|
- Select recommended driver automatically (bug #208606).
|
|
|
|
- Better visibility of driver list (bug #203907).
|
|
|
|
|
2006-09-29 12:58:26 +00:00
|
|
|
* Fri Sep 29 2006 Tim Waugh <twaugh@redhat.com> 0.7.30-1
|
|
|
|
- 0.7.30:
|
|
|
|
- Translations fixed properly (bug #206622).
|
|
|
|
- Button widths corrected (bug #208556).
|
2006-09-29 12:08:34 +00:00
|
|
|
|
2006-09-26 15:49:19 +00:00
|
|
|
* Tue Sep 26 2006 Tim Waugh <twaugh@redhat.com> 0.7.28-1
|
|
|
|
- 0.7.28. Translations fixed (bug #206622).
|
|
|
|
|
2006-08-30 11:09:06 +00:00
|
|
|
* Wed Aug 30 2006 Tim Waugh <twaugh@redhat.com> 0.7.27-1
|
2006-08-30 11:17:44 +00:00
|
|
|
- Build requires intltool.
|
2006-08-30 11:09:06 +00:00
|
|
|
- 0.7.27.
|
|
|
|
|
2006-08-23 17:28:07 +00:00
|
|
|
* Wed Aug 23 2006 Tim Waugh <twaugh@redhat.com> 0.7.26-1
|
|
|
|
- 0.7.26. Fixes bug # 203149.
|
|
|
|
|
|
|
|
* Mon Aug 14 2006 Florian Festi <ffesti@redhat.com> 0.7.25-1
|
2006-08-14 16:19:22 +00:00
|
|
|
- 0.7.25. (bug #202060)
|
|
|
|
|
2006-08-11 14:31:40 +00:00
|
|
|
* Fri Aug 11 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Fixed description (bug #202189).
|
|
|
|
|
2006-08-03 12:40:54 +00:00
|
|
|
* Thu Aug 3 2006 Tim Waugh <twaugh@redhat.com> 0.7.24-1
|
|
|
|
- 0.7.24.
|
|
|
|
|
2006-07-24 15:06:02 +00:00
|
|
|
* Mon Jul 24 2006 Tim Waugh <twaugh@redhat.com> 0.7.23-1
|
|
|
|
- 0.7.23. Fixes bug #197866.
|
|
|
|
|
2006-07-12 08:24:04 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.7.22-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-07 15:09:13 +00:00
|
|
|
* Fri Jul 7 2006 Tim Waugh <twaugh@redhat.com> 0.7.22-1
|
|
|
|
- 0.7.22.
|
|
|
|
|
2006-07-05 14:39:03 +00:00
|
|
|
* Wed Jul 5 2006 Tim Waugh <twaugh@redhat.com> 0.7.21-1
|
2006-07-05 14:35:16 +00:00
|
|
|
- Updated to pycups-1.9.12.
|
2006-07-05 14:39:03 +00:00
|
|
|
- 0.7.21.
|
2006-07-05 14:35:16 +00:00
|
|
|
|
2006-07-03 14:42:43 +00:00
|
|
|
* Mon Jul 3 2006 Tim Waugh <twaugh@redhat.com> 0.7.20-1
|
|
|
|
- 0.7.20.
|
|
|
|
|
2006-06-30 17:40:56 +00:00
|
|
|
* Fri Jun 30 2006 Tim Waugh <twaugh@redhat.com> 0.7.19-1
|
|
|
|
- 0.7.19.
|
2006-06-30 11:38:34 +00:00
|
|
|
- Remove foomatic pickle file post-install.
|
|
|
|
|
2006-06-27 15:39:21 +00:00
|
|
|
* Tue Jun 27 2006 Tim Waugh <twaugh@redhat.com> 0.7.18-1
|
|
|
|
- 0.7.18.
|
2006-06-27 14:47:11 +00:00
|
|
|
- Ship translations with libs subpackage.
|
|
|
|
|
2006-06-23 16:44:15 +00:00
|
|
|
* Fri Jun 23 2006 Tim Waugh <twaugh@redhat.com> 0.7.17-1
|
|
|
|
- 0.7.17.
|
|
|
|
|
2006-06-23 13:06:07 +00:00
|
|
|
* Fri Jun 23 2006 Tim Waugh <twaugh@redhat.com> 0.7.16-1
|
|
|
|
- 0.7.16, now with SMB browser.
|
|
|
|
|
2006-06-22 09:07:11 +00:00
|
|
|
* Wed Jun 22 2006 Tim Waugh <twaugh@redhat.com> 0.7.15-1
|
|
|
|
- 0.7.15.
|
2006-06-21 09:55:23 +00:00
|
|
|
- Build requires gettext-devel.
|
2006-06-21 10:07:19 +00:00
|
|
|
- Ship translations.
|
2006-06-21 09:55:23 +00:00
|
|
|
|
2006-06-20 16:33:27 +00:00
|
|
|
* Tue Jun 20 2006 Tim Waugh <twaugh@redhat.com> 0.7.14-1
|
|
|
|
- 0.7.14.
|
|
|
|
|
2006-06-19 17:02:33 +00:00
|
|
|
* Mon Jun 19 2006 Tim Waugh <twaugh@redhat.com> 0.7.13-1
|
|
|
|
- 0.7.13.
|
|
|
|
|
2006-06-09 09:58:39 +00:00
|
|
|
* Fri Jun 9 2006 Tim Waugh <twaugh@redhat.com> 0.7.12-1
|
|
|
|
- 0.7.12.
|
|
|
|
|
2006-06-01 15:13:15 +00:00
|
|
|
* Thu Jun 1 2006 Tim Waugh <twaugh@redhat.com> 0.7.11-3
|
|
|
|
- Fix libs dependency.
|
|
|
|
|
2006-06-01 10:38:50 +00:00
|
|
|
* Thu Jun 1 2006 Tim Waugh <twaugh@redhat.com> 0.7.11-2
|
|
|
|
- Moved the gtk_html2pango module to the libs package (needed by
|
|
|
|
foomatic.py).
|
|
|
|
|
2006-05-31 15:06:23 +00:00
|
|
|
* Wed May 31 2006 Tim Waugh <twaugh@redhat.com> 0.7.11-1
|
2006-05-31 15:02:38 +00:00
|
|
|
- Split out system-config-printer-libs.
|
2006-05-31 15:06:23 +00:00
|
|
|
- Updated to system-config-printer-0.7.11.
|
2006-05-31 15:02:38 +00:00
|
|
|
|
2006-05-27 13:10:55 +00:00
|
|
|
* Sat May 27 2006 Tim Waugh <twaugh@redhat.com> 0.7.10-2
|
|
|
|
- Requires gobject2 (bug #192764).
|
|
|
|
|
2006-05-26 11:58:25 +00:00
|
|
|
* Fri May 26 2006 Tim Waugh <twaugh@redhat.com> 0.7.10-1
|
2006-05-26 10:00:43 +00:00
|
|
|
- Require foomatic (bug #192764).
|
2006-05-26 11:58:25 +00:00
|
|
|
- Updated to system-config-printer-0.7.10.
|
2006-05-26 10:00:43 +00:00
|
|
|
|
2006-05-25 12:42:39 +00:00
|
|
|
* Thu May 25 2006 Tim Waugh <twaugh@redhat.com> 0.7.9-1
|
2006-05-25 12:38:33 +00:00
|
|
|
- Updated to pycups-1.9.11.
|
2006-05-25 12:42:39 +00:00
|
|
|
- Updated to system-config-printer-0.7.9.
|
2006-05-25 12:38:33 +00:00
|
|
|
|
2006-05-15 17:43:47 +00:00
|
|
|
* Mon May 15 2006 Tim Waugh <twaugh@redhat.com> 0.7.8-1
|
2006-05-15 17:42:02 +00:00
|
|
|
- Updated to pycups-1.9.10.
|
2006-05-15 17:43:47 +00:00
|
|
|
- Updated to system-config-printer-0.7.8.
|
2006-05-15 17:42:02 +00:00
|
|
|
|
2006-05-05 15:28:58 +00:00
|
|
|
* Fri May 5 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Fix pycups segfault.
|
|
|
|
|
2006-05-05 12:39:52 +00:00
|
|
|
* Fri May 5 2006 Tim Waugh <twaugh@redhat.com> 0.7.7-2
|
2006-05-05 11:53:46 +00:00
|
|
|
- Ship PAM and userhelper files.
|
|
|
|
- Requires usermode.
|
2006-05-05 11:34:34 +00:00
|
|
|
- Added missing options.py file.
|
|
|
|
- Fix getClasses() in pycups.
|
|
|
|
|
2006-05-04 17:23:31 +00:00
|
|
|
* Thu May 4 2006 Tim Waugh <twaugh@redhat.com> 0.7.7-1
|
|
|
|
- Updated to system-config-printer-0.7.7.
|
2006-05-04 17:21:45 +00:00
|
|
|
- Updated to pycups-1.9.9.
|
2006-05-04 17:17:52 +00:00
|
|
|
- Desktop file.
|
|
|
|
- Requires PyXML.
|
|
|
|
|
2006-04-28 08:32:57 +00:00
|
|
|
* Fri Apr 28 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Make it actually run.
|
|
|
|
|
2006-04-21 13:48:40 +00:00
|
|
|
* Fri Apr 21 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Build requires CUPS 1.2.
|
|
|
|
|
2006-04-20 16:50:57 +00:00
|
|
|
* Thu Apr 20 2006 Tim Waugh <twaugh@redhat.com> 0.7.5-1
|
2006-04-20 16:49:19 +00:00
|
|
|
- Updated to pycups-1.9.8. No longer need threads patch.
|
2006-04-20 16:50:57 +00:00
|
|
|
- Updated to system-config-printer-0.7.5.
|
2006-04-20 16:49:19 +00:00
|
|
|
|
2006-04-15 19:11:05 +00:00
|
|
|
* Sat Apr 15 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Updated to pycups-1.9.7.
|
|
|
|
|
2006-04-13 17:13:51 +00:00
|
|
|
* Thu Apr 13 2006 Tim Waugh <twaugh@redhat.com> 0.7.4-2
|
|
|
|
- Obsoletes: system-config-printer-gui <= 0.6.152
|
|
|
|
|
2006-04-12 21:11:29 +00:00
|
|
|
* Wed Apr 12 2006 Tim Waugh <twaugh@redhat.com> 0.7.4-1
|
|
|
|
- Updated to system-config-printer-0.7.4.
|
|
|
|
|
2006-04-12 21:09:45 +00:00
|
|
|
* Fri Apr 7 2006 Tim Waugh <twaugh@redhat.com> 0.7.3-1
|
|
|
|
- Added threads patch from pycups CVS.
|
|
|
|
- Updated to system-config-printer-0.7.3.
|
|
|
|
|
|
|
|
* Tue Apr 4 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Updated to pycups-1.9.6.
|
|
|
|
|
|
|
|
* Fri Mar 24 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Updated to pycups-1.9.5.
|
|
|
|
|
|
|
|
* Fri Mar 17 2006 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Package the actual system-config-printer command.
|
|
|
|
|
|
|
|
* Thu Mar 16 2006 Tim Waugh <twaugh@redhat.com> 0.7.1-1
|
|
|
|
- Include s-c-printer tarball.
|
|
|
|
- Updated to pycups-1.9.4.
|
|
|
|
|
|
|
|
* Wed Mar 15 2006 Tim Waugh <twaugh@redhat.com> 0.7.0-1
|
|
|
|
- Initial spec file.
|