]>
Commit | Line | Data |
---|---|---|
85634f3b | 1 | Summary: GNOME manager for CUPS printers |
71adfa2d | 2 | Summary(pl.UTF-8): Zarządca drukarek CUPS dla GNOME |
85634f3b | 3 | Name: gnome-cups-manager |
f4bb4993 | 4 | Version: 0.33 |
934ca72e | 5 | Release: 5 |
85634f3b | 6 | License: GPL |
7 | Group: X11/Applications | |
0c850db3 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-cups-manager/%{version}/%{name}-%{version}.tar.bz2 |
f4bb4993 | 9 | # Source0-md5: a48eb85cd239760913c936d824062473 |
aae7cb36 | 10 | Source1: %{name}-cc.desktop |
274f64e5 | 11 | URL: http://www.gnome.org/ |
7e6ed5c2 | 12 | BuildRequires: autoconf >= 2.52 |
6a634c93 | 13 | BuildRequires: automake |
428c9065 | 14 | BuildRequires: cups-devel >= 1.1.23 |
db5db6ea | 15 | BuildRequires: gettext-tools |
b7c7c052 | 16 | BuildRequires: gnome-common >= 2.8.0 |
6a2cfc8a | 17 | BuildRequires: gtk+2-devel >= 2:2.6.3 |
1831d4b1 | 18 | BuildRequires: intltool >= 0.20 |
5c013dbf | 19 | BuildRequires: libbonobo-devel >= 2.0.0 |
6a2cfc8a | 20 | BuildRequires: libglade2-devel >= 1:2.5.1 |
029c737e | 21 | BuildRequires: libgnome-keyring-devel |
29a0457d | 22 | BuildRequires: libgnomecups-devel >= 0.2.3 |
d336a008 | 23 | BuildRequires: libgnomeui-devel >= 2.10.0-2 |
1831d4b1 | 24 | BuildRequires: libsmbclient-devel |
aae7cb36 | 25 | BuildRequires: libstdc++-devel |
7e6ed5c2 | 26 | BuildRequires: libtool |
428c9065 | 27 | BuildRequires: pkgconfig |
6a634c93 | 28 | Requires: gnome-icon-theme |
d336a008 | 29 | Requires: gnomesu >= 0.3 |
ca7471ee | 30 | Obsoletes: gnome-cups-manager-cc-applet <= 0.17-3 |
a206a080 | 31 | # sr@Latn vs. sr@latin |
32 | Conflicts: glibc-misc < 6:2.7 | |
85634f3b | 33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
36 | GNOME manager for CUPS printers. | |
37 | ||
d4edf388 JR |
38 | %description -l pl.UTF-8 |
39 | Zarządca drukarek CUPS dla GNOME. | |
5c013dbf | 40 | |
85634f3b | 41 | %package devel |
42 | Summary: Devel files for gnome-cups-manager (libgnomecupsui) | |
71adfa2d | 43 | Summary(pl.UTF-8): Pliki nagłówkowe dla gnome-cups-manager (libgnomecupsui) |
85634f3b | 44 | Group: Development/Libraries |
6a634c93 | 45 | Requires: %{name} = %{version}-%{release} |
6a2cfc8a | 46 | Requires: gtk+2-devel >= 2:2.6.3 |
81cd324d | 47 | Requires: libgnomecups-devel >= 0.1.14 |
85634f3b | 48 | |
49 | %description devel | |
50 | Devel files for gnome-cups-manager (libgnomecupsui). | |
51 | ||
d4edf388 JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe dla gnome-cups-manager (libgnomecupsui). | |
5c013dbf | 54 | |
85634f3b | 55 | %package static |
56 | Summary: gnome-cups-manager (libgnomecupsui) static library | |
71adfa2d | 57 | Summary(pl.UTF-8): Statyczna biblioteka gnome-cups-manager (libgnomecupsui) |
85634f3b | 58 | Group: Development/Libraries |
6a634c93 | 59 | Requires: %{name}-devel = %{version}-%{release} |
85634f3b | 60 | |
61 | %description static | |
62 | gnome-cups-manager (libgnomecupsui) static library. | |
63 | ||
d4edf388 | 64 | %description static -l pl.UTF-8 |
5c013dbf JB |
65 | Statyczna biblioteka gnome-cups-manager (libgnomecupsui). |
66 | ||
85634f3b | 67 | %prep |
68 | %setup -q | |
69 | ||
70 | %build | |
7e6ed5c2 | 71 | %{__libtoolize} |
b7c7c052 | 72 | %{__aclocal} |
7e6ed5c2 JB |
73 | %{__autoconf} |
74 | %{__autoheader} | |
75 | %{__automake} | |
85634f3b | 76 | %configure |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
1619b772 | 81 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
85634f3b | 82 | |
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
1619b772 | 86 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
aae7cb36 | 87 | |
a206a080 | 88 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
89 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
78d5f638 | 90 | %find_lang %{name} |
91 | ||
85634f3b | 92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
78d5f638 | 98 | %files -f %{name}.lang |
85634f3b | 99 | %defattr(644,root,root,755) |
100 | %doc AUTHORS README | |
101 | %attr(755,root,root) %{_bindir}/gnome-cups-add | |
78d5f638 | 102 | %attr(755,root,root) %{_bindir}/gnome-cups-icon |
85634f3b | 103 | %attr(755,root,root) %{_bindir}/gnome-cups-manager |
104 | %attr(755,root,root) %{_sbindir}/gnome-cups-switch | |
105 | %attr(755,root,root) %{_libdir}/libgnomecupsui*.so.*.*.* | |
85634f3b | 106 | %{_datadir}/%{name} |
1619b772 | 107 | %{_desktopdir}/*.desktop |
0f0da6c8 | 108 | %{_iconsdir}/hicolor/48x48/devices/*.png |
f4bb4993 | 109 | %{_iconsdir}/hicolor/48x48/stock/data/*.icon |
8f2f8d4b | 110 | %{_iconsdir}/hicolor/48x48/stock/data/*.png |
1619b772 | 111 | %{_libdir}/bonobo/servers/Gnome_CupsManager.server |
85634f3b | 112 | %{_pixmapsdir}/%{name} |
113 | ||
114 | %files devel | |
115 | %defattr(644,root,root,755) | |
116 | %doc ChangeLog | |
5c013dbf | 117 | %attr(755,root,root) %{_libdir}/libgnomecupsui*.so |
85634f3b | 118 | %{_includedir}/libgnomecups-1/libgnomecups/*.h |
1619b772 | 119 | %{_libdir}/libgnomecupsui*.la |
85634f3b | 120 | %{_pkgconfigdir}/libgnomecupsui*.pc |
121 | ||
122 | %files static | |
123 | %defattr(644,root,root,755) | |
124 | %{_libdir}/libgnomecupsui*.a |