14658
|
1 |
#
|
|
2 |
# spec file for package SUNWcups-manager
|
|
3 |
#
|
|
4 |
# Copyright 2008 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner gheet
|
14658
|
9 |
#
|
|
10 |
|
|
11 |
%include Solaris.inc
|
|
12 |
|
|
13 |
%use scp = system-config-printer.spec
|
|
14 |
|
|
15 |
Name: SUNWcups-manager
|
|
16 |
License: GPL v2
|
|
17 |
Summary: Print Manager for CUPS
|
|
18 |
Version: %{default_pkg_version}
|
|
19 |
SUNW_BaseDir: %{_basedir}
|
|
20 |
SUNW_Copyright: %{name}.copyright
|
|
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
18507
|
22 |
Requires: SUNWdbus-python26
|
18528
|
23 |
Requires: SUNWPython26
|
15285
|
24 |
Requires: SUNWpycups
|
|
25 |
Requires: SUNWcupsu
|
14707
|
26 |
BuildRequires: SUNWgnome-desktop-prefs
|
15285
|
27 |
BuildRequires: SUNWcupsu
|
14658
|
28 |
|
|
29 |
%include default-depend.inc
|
|
30 |
|
|
31 |
%package root
|
|
32 |
Summary: %{summary} - / filesystem
|
|
33 |
SUNW_BaseDir: /
|
|
34 |
%include default-depend.inc
|
18528
|
35 |
Requires: SUNWPython26
|
14658
|
36 |
|
14741
|
37 |
%if %build_l10n
|
|
38 |
%package l10n
|
|
39 |
Summary: %{summary} - l10n files
|
|
40 |
SUNW_BaseDir: %{_basedir}
|
|
41 |
%include default-depend.inc
|
|
42 |
Requires: %{name}
|
|
43 |
%endif
|
|
44 |
|
14658
|
45 |
%prep
|
|
46 |
rm -rf %name-%version
|
|
47 |
mkdir -p %name-%version
|
|
48 |
%scp.prep -d %name-%version
|
|
49 |
|
|
50 |
%build
|
14678
|
51 |
%scp.build -d %name-%version
|
14658
|
52 |
|
|
53 |
%install
|
|
54 |
%scp.install -d %name-%version
|
|
55 |
|
14741
|
56 |
%if %build_l10n
|
|
57 |
%else
|
|
58 |
# REMOVE l10n FILES
|
|
59 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
60 |
%endif
|
|
61 |
|
14658
|
62 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
63 |
|
|
64 |
%clean
|
|
65 |
rm -rf $RPM_BUILD_ROOT
|
|
66 |
|
|
67 |
%files
|
|
68 |
%defattr(-, root, bin)
|
|
69 |
%dir %attr (0755, root, bin) %{_bindir}
|
|
70 |
%{_bindir}/*
|
|
71 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
72 |
%{_libdir}/*
|
|
73 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
74 |
%{_datadir}/%{scp.name}/icons/*
|
|
75 |
%{_datadir}/%{scp.name}/*.glade
|
|
76 |
%doc -d %scp.name-%{scp.version} AUTHORS README NEWS
|
|
77 |
%doc(bzip2) -d %scp.name-%{scp.version} COPYING ChangeLog
|
|
78 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
79 |
|
|
80 |
%files root
|
|
81 |
%defattr (-, root, sys)
|
|
82 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
83 |
%attr(0755, root, bin) %dir %{_sysconfdir}/dbus-1
|
|
84 |
%attr(0755, root, bin) %dir %{_sysconfdir}/dbus-1/system.d
|
|
85 |
%{_sysconfdir}/dbus-1/system.d/*
|
|
86 |
|
14741
|
87 |
%if %build_l10n
|
|
88 |
%files l10n
|
|
89 |
%defattr (-, root, bin)
|
|
90 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
91 |
%attr (-, root, other) %{_datadir}/locale
|
|
92 |
%endif
|
|
93 |
|
14658
|
94 |
%changelog
|
14741
|
95 |
* Tue Dec 09 2008 - [email protected]
|
|
96 |
- Add l10n package.
|
14707
|
97 |
* Thu Dec 04 2008 - [email protected]
|
|
98 |
- Add BuildRequires on SUNWgnome-desktop-prefs(desktop-file-install)
|
14658
|
99 |
* Tues Nov 18 2008 - [email protected]
|
|
100 |
- Initial version.
|
15650
|
101 |
|