]> git.pld-linux.org Git - packages/kde4-print-manager.git/blob - kde4-print-manager.spec
- up to 4.14.0
[packages/kde4-print-manager.git] / kde4-print-manager.spec
1 #
2 %define         _state          stable
3 %define         orgname         print-manager
4 %define         qtver           4.8.0
5 %define         kdeworkspacever 4.11.0
6
7 Summary:        K Desktop Environment - print manager
8 Name:           kde4-print-manager
9 Version:        4.14.0
10 Release:        1
11 License:        GPL
12 Group:          X11/Applications
13 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
14 # Source0-md5:  686b65c58f975bf68db175512fd14b31
15 URL:            http://www.kde.org/
16 BuildRequires:  automoc4
17 BuildRequires:  cups-devel
18 BuildRequires:  kde4-kdebase-devel >= %{version}
19 BuildRequires:  qt4-build
20 Requires:       kde4-kdebase-workspace >= %{kdeworkspacever}
21 Obsoletes:      kde4-kdeutils-print-manager
22 Obsoletes:      kde4-printer-manager
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Printer Applet is a system tray utility that shows current print jobs,
27 shows printer warnings and errors.
28
29 %description -l pl.UTF-8
30 Printer Applet to narzedzie zasobnika systemowego, ktore pokazuje
31 aktualne zadania drukarki, ostrzezenia i bledy.
32
33 %prep
34 %setup -q -n %{orgname}-%{version}
35
36 %build
37 install -d build
38 cd build
39 %cmake \
40         -DINSTALL_PRINTER_APPLET=TRUE \
41         ..
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} -C build/ install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         kde_htmldir=%{_kdedocdir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/kde-add-printer
57 %attr(755,root,root) %{_bindir}/kde-print-queue
58 %dir %{_libdir}/kde4/imports/org/kde/printmanager
59 %{_libdir}/kde4/imports/org/kde/printmanager/qmldir
60 %attr(755,root,root) %{_libdir}/kde4/imports/org/kde/printmanager/libprintmanager.so
61 %attr(755,root,root) %{_libdir}/kde4/kcm_printer_manager.so
62 %attr(755,root,root) %{_libdir}/kde4/kded_printmanager.so
63 %attr(755,root,root) %{_libdir}/kde4/libexec/configure-printer
64 #%attr(755,root,root) %{_libdir}/kde4/plugins/designer/printmanagerwidget.so
65 %attr(755,root,root) %{_libdir}/libkcupslib.so
66 %{_datadir}/apps/plasma/plasmoids/org.kde.printmanager
67 %{_datadir}/apps/printmanager
68 %{_datadir}/dbus-1/services/org.kde.ConfigurePrinter.service
69 %{_datadir}/kde4/services/kcm_printer_manager.desktop
70 %{_datadir}/kde4/services/kded/printmanager.desktop
71 %{_datadir}/kde4/services/plasma-applet-printmanager.desktop
This page took 0.066051 seconds and 3 git commands to generate.