]>
Commit | Line | Data |
---|---|---|
4f738aa1 PZ |
1 | Summary: A graphical interface for configuring printers |
2 | Summary(pl.UTF-8): Graficzny interfejs do zarządzania drukarkami | |
064bf3d9 | 3 | Name: system-config-printer |
0c601662 | 4 | Version: 1.3.2 |
7f80538e | 5 | Release: 1 |
bdc6a5cf | 6 | License: GPL v2+ |
37e4c823 | 7 | Group: X11/Applications |
6d180d0b | 8 | Source0: http://cyberelk.net/tim/data/system-config-printer/1.3/%{name}-%{version}.tar.xz |
0c601662 | 9 | # Source0-md5: 34a0ce9a11be5695b3b4065e4f17b009 |
064bf3d9 PZ |
10 | URL: http://cyberelk.net/tim/software/system-config-printer/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
5160d12d | 13 | BuildRequires: desktop-file-utils |
2afa49a2 | 14 | BuildRequires: docbook-dtd412-xml |
064bf3d9 PZ |
15 | BuildRequires: gettext-devel |
16 | BuildRequires: intltool | |
7fcb3a19 | 17 | BuildRequires: pkgconfig |
064bf3d9 | 18 | BuildRequires: python-devel |
2afa49a2 | 19 | BuildRequires: python-modules |
20 | BuildRequires: rpm-pythonprov | |
cda77943 | 21 | BuildRequires: rpmbuild(macros) >= 1.219 |
6d180d0b | 22 | BuildRequires: tar >= 1:1.22 |
d7ab3d89 | 23 | BuildRequires: xmlto |
6d180d0b | 24 | BuildRequires: xz >= 1:4.999.7 |
cda77943 | 25 | %pyrequires_eq python-libs |
4e78ae1e | 26 | Requires: python-PyXML |
37e4c823 | 27 | Requires: python-pycups >= 1.9.28 |
afd40c7f | 28 | Requires: python-pygtk-glade |
32498bfb | 29 | Requires: python-pynotify |
771acaf7 | 30 | Requires: python-smbc |
32d2e24c | 31 | Obsoletes: eggcups |
cc4f5e14 | 32 | Obsoletes: gnome-cups-manager < 0.34 |
855e054e MB |
33 | # sr@Latn vs. sr@latin |
34 | Conflicts: glibc-misc < 6:2.7 | |
064bf3d9 PZ |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
37e4c823 PZ |
38 | The purpose of the tool is to configure a CUPS server (often the local |
39 | machine) using the CUPS API. The tool is written in Python, using | |
40 | pygtk for the graphical parts and with some Python bindings (pycups) | |
41 | for the CUPS API. | |
064bf3d9 | 42 | |
2cec6a22 | 43 | %description -l pl.UTF-8 |
37e4c823 PZ |
44 | To narzędzie służy do konfigurowania serwera CUPS (zwykle na maszynie |
45 | lokalnej) przy użyciu API CUPS-a. Narzędzie jest napisane w Pythonie z | |
46 | użyciem pygtk do części graficznych i dowiązań Pythona (pycups) do API | |
47 | CUPS-a. | |
2cec6a22 | 48 | |
064bf3d9 PZ |
49 | %prep |
50 | %setup -q | |
51 | ||
52 | %build | |
37e4c823 | 53 | %{__intltoolize} |
064bf3d9 PZ |
54 | %{__aclocal} |
55 | %{__autoconf} | |
56 | %{__automake} | |
855e054e | 57 | %configure |
9c90d354 | 58 | %{__make} -j 1 |
064bf3d9 PZ |
59 | |
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
855e054e | 62 | |
064bf3d9 PZ |
63 | %{__make} install \ |
64 | DESTDIR=$RPM_BUILD_ROOT | |
65 | ||
66 | %find_lang %{name} | |
67 | ||
c9550511 PZ |
68 | %py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-printer |
69 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-printer | |
cc4f5e14 PZ |
70 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers |
71 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers | |
cda77943 | 72 | %py_postclean |
064bf3d9 PZ |
73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files -f %{name}.lang | |
78 | %defattr(644,root,root,755) | |
cc4f5e14 | 79 | %doc AUTHORS ChangeLog NEWS README |
6d180d0b | 80 | %attr(755,root,root) %{_bindir}/scp-dbus-service |
612388bb | 81 | %attr(755,root,root) %{_bindir}/system-config-printer |
064bf3d9 | 82 | %attr(755,root,root) %{_bindir}/system-config-printer-applet |
064bf3d9 | 83 | %{_sysconfdir}/xdg/autostart/*.desktop |
6d180d0b | 84 | /etc/dbus-1/system.d/com.redhat.NewPrinterNotification.conf |
85 | /etc/dbus-1/system.d/com.redhat.PrinterDriversInstaller.conf | |
c9550511 | 86 | %dir %{_datadir}/system-config-printer |
31662ba4 | 87 | %dir %{_datadir}/system-config-printer/ui |
0c601662 | 88 | %{_datadir}/system-config-printer/ui/*.glade |
c9550511 | 89 | %attr(755,root,root) %{_datadir}/system-config-printer/*.py* |
c6a0ec90 PZ |
90 | %dir %{_datadir}/system-config-printer/troubleshoot |
91 | %attr(755,root,root) %{_datadir}/system-config-printer/troubleshoot/*.py* | |
612388bb SP |
92 | %dir %{_datadir}/system-config-printer/icons |
93 | %{_datadir}/system-config-printer/icons/i-network-printer.png | |
bed33e12 JB |
94 | %{_mandir}/man*/* |
95 | %{_desktopdir}/*.desktop | |
cc4f5e14 | 96 | %dir %{py_sitescriptdir}/cupshelpers |
cda77943 | 97 | %{py_sitescriptdir}/cupshelpers/*.py[co] |
0c601662 | 98 | %if "%{py_ver}" > "2.4" |
99 | %{py_sitescriptdir}/cupshelpers-1.0-py*.egg-info | |
100 | %endif |