]>
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 |
cc4f5e14 | 4 | Version: 1.0.9 |
612388bb | 5 | Release: 1 |
064bf3d9 | 6 | License: GPL v2 |
37e4c823 | 7 | Group: X11/Applications |
cc4f5e14 PZ |
8 | Source0: http://cyberelk.net/tim/data/system-config-printer/1.0.x/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: accb926526b4c56c47ba732dd1028cb4 | |
064bf3d9 PZ |
10 | URL: http://cyberelk.net/tim/software/system-config-printer/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
5160d12d | 13 | BuildRequires: desktop-file-utils |
064bf3d9 PZ |
14 | BuildRequires: gettext-devel |
15 | BuildRequires: intltool | |
16 | BuildRequires: python-devel | |
d7ab3d89 | 17 | BuildRequires: xmlto |
4e78ae1e | 18 | Requires: python-PyXML |
37e4c823 | 19 | Requires: python-pycups >= 1.9.28 |
32498bfb | 20 | Requires: python-pynotify |
064bf3d9 | 21 | %pyrequires_eq python-libs |
32d2e24c | 22 | Obsoletes: eggcups |
cc4f5e14 | 23 | Obsoletes: gnome-cups-manager < 0.34 |
855e054e MB |
24 | # sr@Latn vs. sr@latin |
25 | Conflicts: glibc-misc < 6:2.7 | |
064bf3d9 PZ |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
37e4c823 PZ |
29 | The purpose of the tool is to configure a CUPS server (often the local |
30 | machine) using the CUPS API. The tool is written in Python, using | |
31 | pygtk for the graphical parts and with some Python bindings (pycups) | |
32 | for the CUPS API. | |
064bf3d9 | 33 | |
2cec6a22 | 34 | %description -l pl.UTF-8 |
37e4c823 PZ |
35 | To narzędzie służy do konfigurowania serwera CUPS (zwykle na maszynie |
36 | lokalnej) przy użyciu API CUPS-a. Narzędzie jest napisane w Pythonie z | |
37 | użyciem pygtk do części graficznych i dowiązań Pythona (pycups) do API | |
38 | CUPS-a. | |
2cec6a22 | 39 | |
064bf3d9 PZ |
40 | %prep |
41 | %setup -q | |
42 | ||
855e054e | 43 | sed -i -e s#sr\@Latn#sr\@latin# configure.in |
855e054e | 44 | |
064bf3d9 | 45 | %build |
37e4c823 | 46 | %{__intltoolize} |
064bf3d9 PZ |
47 | %{__aclocal} |
48 | %{__autoconf} | |
49 | %{__automake} | |
855e054e | 50 | %configure |
064bf3d9 PZ |
51 | %{__make} |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
855e054e | 55 | |
064bf3d9 PZ |
56 | %{__make} install \ |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
cb809a7a PZ |
59 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no |
60 | ||
064bf3d9 PZ |
61 | %find_lang %{name} |
62 | ||
c9550511 PZ |
63 | %py_comp $RPM_BUILD_ROOT%{_datadir}/system-config-printer |
64 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/system-config-printer | |
cc4f5e14 PZ |
65 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers |
66 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers | |
67 | %py_postclean $RPM_BUILD_ROOT%{py_sitescriptdir}/cupshelpers | |
064bf3d9 PZ |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files -f %{name}.lang | |
73 | %defattr(644,root,root,755) | |
cc4f5e14 | 74 | %doc AUTHORS ChangeLog NEWS README |
37e4c823 | 75 | %attr(755,root,root) %{_bindir}/my-default-printer |
612388bb | 76 | %attr(755,root,root) %{_bindir}/system-config-printer |
064bf3d9 | 77 | %attr(755,root,root) %{_bindir}/system-config-printer-applet |
064bf3d9 | 78 | %{_sysconfdir}/xdg/autostart/*.desktop |
612388bb | 79 | /etc/dbus-1/system.d/newprinternotification.conf |
c9550511 PZ |
80 | %dir %{_datadir}/system-config-printer |
81 | %{_datadir}/system-config-printer/*.glade | |
c9550511 | 82 | %attr(755,root,root) %{_datadir}/system-config-printer/*.py* |
c6a0ec90 PZ |
83 | %dir %{_datadir}/system-config-printer/troubleshoot |
84 | %attr(755,root,root) %{_datadir}/system-config-printer/troubleshoot/*.py* | |
612388bb SP |
85 | %dir %{_datadir}/system-config-printer/icons |
86 | %{_datadir}/system-config-printer/icons/i-network-printer.png | |
bed33e12 JB |
87 | %{_mandir}/man*/* |
88 | %{_desktopdir}/*.desktop | |
cc4f5e14 PZ |
89 | %{py_sitescriptdir}/cupshelpers-1.0-py*.egg-info |
90 | %dir %{py_sitescriptdir}/cupshelpers | |
91 | %{py_sitescriptdir}/cupshelpers/*py[co] |