]> git.pld-linux.org Git - SPECS.git/blob - kde4-printer-applet.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / kde4-printer-applet.spec
1 #
2 %define         _state          stable
3 %define         orgname         printer-applet
4 %define         qtver           4.8.0
5 %define         kdeworkspacever 4.11.0
6
7 Summary:        K Desktop Environment - printer applet
8 Name:           kde4-printer-applet
9 Version:        4.11.3
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications
13 #Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2
14 Source0:        http://ixion.pld-linux.org/~arekm/kde/%{orgname}-%{version}.tar.xz
15 # Source0-md5:  8acbc3ac369d29dd8f4511c4bffd638b
16 URL:            http://www.kde.org/
17 BuildRequires:  automoc4
18 BuildRequires:  kde4-kdebase-devel >= %{version}
19 BuildRequires:  python-pycups
20 BuildRequires:  qt4-build
21 BuildRequires:  system-config-printer
22 Requires:       kde4-kdebase-workspace >= %{kdeworkspacever}
23 Requires:       python-PyKDE4
24 Requires:       python-pycups
25 Requires:       system-config-printer
26 Obsoletes:      kde4-kdeutils-printer-applet
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Printer Applet is a system tray utility that shows current print jobs,
31 shows printer warnings and errors.
32
33 %description -l pl.UTF-8
34 Printer Applet to narzedzie zasobnika systemowego, ktore pokazuje
35 aktualne zadania drukarki, ostrzezenia i bledy.
36
37 %prep
38 %setup -q -n %{orgname}-%{version}
39
40 %build
41 install -d build
42 cd build
43 %cmake \
44         -DINSTALL_PRINTER_APPLET=TRUE \
45         ..
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} -C build/ install \
52         DESTDIR=$RPM_BUILD_ROOT \
53         kde_htmldir=%{_kdedocdir}
54
55 %find_lang %{orgname} --with-kde
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f %{orgname}.lang
61 %defattr(644,root,root,755)
62 %{_bindir}/printer-applet
63 %dir %{_datadir}/apps/printer-applet
64 %{_datadir}/apps/printer-applet/authconn.py
65 %{_datadir}/apps/printer-applet/debug.py
66 %{_datadir}/apps/printer-applet/monitor.py
67 %{_datadir}/apps/printer-applet/printer-applet-printers.ui
68 %{_datadir}/apps/printer-applet/printer-applet.notifyrc
69 %attr(755,root,root) %{_datadir}/apps/printer-applet/printer-applet.py
70 %{_datadir}/apps/printer-applet/printer-applet.ui
71 %{_datadir}/apps/printer-applet/printer-appletui.rc
72 %{_datadir}/apps/printer-applet/statereason.py
73 %{_datadir}/autostart/printer-applet.desktop
This page took 0.093643 seconds and 3 git commands to generate.