3 %define orgname print-manager
6 Summary: K Desktop Environment - print manager
7 Name: kde4-print-manager
11 Group: X11/Applications
12 Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
13 # Source0-md5: f450845bac52c25d660482fafe288263
14 URL: http://www.kde.org/
15 BuildRequires: automoc4
16 BuildRequires: kde4-kdebase-devel >= %{version}
17 BuildRequires: qt4-build
18 Requires: kde4-kdebase-workspace >= %{version}
19 Obsoletes: kde4-kdeutils-printer-applet
20 Obsoletes: kde4-printer-applet
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Printing management for KDE.
27 %setup -q -n %{orgname}-%{version}
37 rm -rf $RPM_BUILD_ROOT
39 %{__make} -C build/ install \
40 DESTDIR=$RPM_BUILD_ROOT \
41 kde_htmldir=%{_kdedocdir}
43 #%find_lang %{orgname} --with-kde
46 rm -rf $RPM_BUILD_ROOT
48 #%files -f %{orgname}.lang
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_libdir}/libkcupslib.so
52 %attr(755,root,root) %{_libdir}/kde4/libexec/configure-printer
53 %attr(755,root,root) %{_libdir}/kde4/libexec/add-printer
54 %attr(755,root,root) %{_libdir}/kde4/libexec/print-queue
55 %attr(755,root,root) %{_libdir}/kde4/kcm_printer_manager.so
56 %attr(755,root,root) %{_libdir}/kde4/kded_printmanager.so
57 %attr(755,root,root) %{_libdir}/kde4/plasma_engine_printjobs.so
58 %attr(755,root,root) %{_libdir}/kde4/plasma_engine_printers.so
59 %{_datadir}/apps/plasma/plasmoids/printmanager
60 %{_datadir}/apps/plasma/services/org.kde.printjobs.operations
61 %{_datadir}/apps/plasma/services/org.kde.printers.operations
62 %{_datadir}/apps/printmanager
63 %{_datadir}/kde4/services/plasma-applet-printmanager.desktop
64 %{_datadir}/kde4/services/kcm_printer_manager.desktop
65 %{_datadir}/kde4/services/kded/printmanager.desktop
66 %{_datadir}/kde4/services/plasma-engine-printjobs.desktop
67 %{_datadir}/kde4/services/plasma-engine-printers.desktop
68 %{_datadir}/dbus-1/services/org.kde.ConfigurePrinter.service
69 %{_datadir}/dbus-1/services/org.kde.AddPrinter.service
70 %{_datadir}/dbus-1/services/org.kde.PrintQueue.service