]>
Commit | Line | Data |
---|---|---|
5d84d6e6 | 1 | Summary: The core programs for the GNOME GUI desktop environment |
5b16d880 | 2 | Summary(pl.UTF-8): Podstawowe programy środowiska graficznego GNOME |
39416a2d | 3 | Name: gnome-desktop |
b17bc5b0 | 4 | Version: 2.22.3 |
a477735f | 5 | Release: 1 |
39416a2d | 6 | License: LGPL |
7 | Group: X11/Applications | |
2b287125 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.22/%{name}-%{version}.tar.bz2 |
b17bc5b0 | 9 | # Source0-md5: c5e24ee437e5d98c03299b0442523a6b |
6ec5c2fb | 10 | Source1: pld-logo.svg |
96ec7213 | 11 | Patch0: %{name}-crystalsvg.patch |
172334a8 | 12 | Patch1: %{name}-recently-used-apps.patch |
39416a2d | 13 | URL: http://www.gnome.org/ |
2b287125 | 14 | BuildRequires: GConf2-devel >= 2.22.0 |
1596f461 | 15 | BuildRequires: autoconf |
172334a8 | 16 | BuildRequires: automake >= 1:1.9 |
2b287125 PZ |
17 | BuildRequires: gettext-devel |
18 | BuildRequires: glib2-devel >= 1:2.16.0 | |
4f1056c2 | 19 | BuildRequires: gnome-common >= 2.20.0 |
ced47641 | 20 | BuildRequires: gnome-doc-utils >= 0.12.0 |
2b287125 | 21 | BuildRequires: gtk+2-devel >= 2:2.12.5 |
172334a8 | 22 | BuildRequires: gtk-doc >= 1.8 |
4f1056c2 | 23 | BuildRequires: intltool >= 0.36.1 |
2b287125 | 24 | BuildRequires: libgnomeui-devel >= 2.22.0 |
1596f461 | 25 | BuildRequires: libtool |
2b287125 | 26 | BuildRequires: libxml2-devel >= 1:2.6.31 |
8d23132e | 27 | BuildRequires: pkgconfig |
a477735f | 28 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
d2f8210f | 29 | BuildRequires: rpmbuild(macros) >= 1.311 |
6a0a6c0b | 30 | BuildRequires: scrollkeeper |
a477735f | 31 | BuildRequires: sed >= 4.0 |
2bbf3d66 | 32 | BuildRequires: startup-notification-devel >= 0.8 |
c4c30509 | 33 | Requires(post,postun): scrollkeeper |
5d84d6e6 | 34 | Requires: %{name}-libs = %{version}-%{release} |
9f262ab6 | 35 | Obsoletes: gnome-core |
cee74d09 | 36 | # sr@Latn vs. sr@latin |
37 | Conflicts: glibc-misc < 6:2.7 | |
1596f461 | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39416a2d | 39 | |
39416a2d | 40 | %description |
172334a8 MB |
41 | GNOME (GNU Network Object Model Environment) is a user-friendly set of |
42 | applications and desktop tools to be used in conjunction with a window | |
43 | manager for the X Window System. GNOME is similar in purpose and scope | |
44 | to CDE and KDE, but GNOME is based completely on free software. | |
39416a2d | 45 | |
5d84d6e6 | 46 | This package contains applications related to GNOME desktop. |
39416a2d | 47 | |
f8781591 | 48 | %description -l pl.UTF-8 |
172334a8 MB |
49 | GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych |
50 | dla użytkownika programów i narzędzi biurkowych, których używa się | |
51 | wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i | |
52 | zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości | |
53 | na wolnym oprogramowaniu. | |
75fd44a6 | 54 | |
f8781591 | 55 | Ten pakiet zawiera aplikacje związane w desktopem GNOME. |
5d84d6e6 | 56 | |
57 | %package libs | |
58 | Summary: gnome-desktop library | |
5b16d880 | 59 | Summary(pl.UTF-8): Biblioteka gnome-desktop |
2b287125 PZ |
60 | Group: X11/Libraries |
61 | Requires: libgnomeui >= 2.22.0 | |
5d84d6e6 | 62 | |
63 | %description libs | |
64 | This package contains gnome-desktop library. | |
65 | ||
f8781591 JR |
66 | %description libs -l pl.UTF-8 |
67 | Pakiet ten zawiera bibliotekę gnome-desktop. | |
75fd44a6 | 68 | |
39416a2d | 69 | %package devel |
5d84d6e6 | 70 | Summary: GNOME desktop includes |
5b16d880 | 71 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek GNOME desktop |
c7e8dd7f | 72 | Group: X11/Development/Libraries |
5d84d6e6 | 73 | Requires: %{name}-libs = %{version}-%{release} |
2b287125 | 74 | Requires: libgnomeui-devel >= 2.22.0 |
41dfc190 | 75 | Requires: startup-notification-devel >= 0.8 |
39416a2d | 76 | |
77 | %description devel | |
5d84d6e6 | 78 | GNOME desktop header files. |
a79e7959 | 79 | |
f8781591 JR |
80 | %description devel -l pl.UTF-8 |
81 | Pliki nagłówkowe bibliotek GNOME desktop. | |
39416a2d | 82 | |
83 | %package static | |
5d84d6e6 | 84 | Summary: GNOME desktop static libraries |
5b16d880 | 85 | Summary(pl.UTF-8): Statyczne biblioteki GNOME desktop |
c7e8dd7f | 86 | Group: X11/Development/Libraries |
3a2dcbb3 | 87 | Requires: %{name} = %{version}-%{release} |
39416a2d | 88 | |
89 | %description static | |
5d84d6e6 | 90 | GNOME desktop static libraries. |
a79e7959 | 91 | |
f8781591 | 92 | %description static -l pl.UTF-8 |
5d84d6e6 | 93 | Statyczne biblioteki GNOME desktop. |
39416a2d | 94 | |
b33a78af | 95 | %package apidocs |
96 | Summary: gnome-desktop API documentation | |
5b16d880 | 97 | Summary(pl.UTF-8): Dokumentacja API gnome-desktop |
b33a78af | 98 | Group: Documentation |
99 | Requires: gtk-doc-common | |
100 | ||
101 | %description apidocs | |
102 | gnome-desktop API documentation. | |
103 | ||
f8781591 | 104 | %description apidocs -l pl.UTF-8 |
b33a78af | 105 | Dokumentacja API gnome-desktop. |
106 | ||
39416a2d | 107 | %prep |
108 | %setup -q | |
96ec7213 | 109 | %patch0 -p1 |
5cb57de5 | 110 | %patch1 -p1 |
39416a2d | 111 | |
2b287125 PZ |
112 | sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS |
113 | mv po/sr@{Latn,latin}.po | |
a477735f | 114 | |
39416a2d | 115 | %build |
5e7b3a0e | 116 | %{__gtkdocize} |
5d84d6e6 | 117 | %{__intltoolize} |
d2f8210f | 118 | %{__gnome_doc_prepare} |
c4c30509 | 119 | %{__gnome_doc_common} |
af8e699c | 120 | %{__intltoolize} |
1596f461 | 121 | %{__libtoolize} |
e2506272 | 122 | %{__aclocal} |
1596f461 JB |
123 | %{__autoconf} |
124 | %{__autoheader} | |
125 | %{__automake} | |
88036f35 | 126 | %configure \ |
1e2955fc | 127 | --with-gnome-distributor="PLD Linux Distribution" \ |
128 | --with-html-dir=%{_gtkdocdir} | |
39416a2d | 129 | %{__make} |
130 | ||
131 | %install | |
132 | rm -rf $RPM_BUILD_ROOT | |
133 | ||
134 | %{__make} install \ | |
2a859574 | 135 | DESTDIR=$RPM_BUILD_ROOT |
2bbf3d66 | 136 | |
e2506272 | 137 | rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png |
138 | install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg | |
139 | ||
a477735f | 140 | %find_lang %{name} --with-gnome --with-omf --all-name |
39416a2d | 141 | |
142 | %clean | |
143 | rm -fr $RPM_BUILD_ROOT | |
144 | ||
3a2dcbb3 | 145 | %post |
c4c30509 | 146 | %scrollkeeper_update_post |
3a2dcbb3 | 147 | |
c4c30509 | 148 | %postun |
c4c30509 | 149 | %scrollkeeper_update_postun |
39416a2d | 150 | |
5d84d6e6 | 151 | %post libs -p /sbin/ldconfig |
152 | %postun libs -p /sbin/ldconfig | |
153 | ||
39416a2d | 154 | %files -f %{name}.lang |
155 | %defattr(644,root,root,755) | |
172334a8 | 156 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README |
2d1da467 | 157 | %attr(755,root,root) %{_bindir}/gnome-about |
172334a8 | 158 | %{_mandir}/man1/gnome-about.1* |
e1c47caf | 159 | %{_datadir}/gnome-about |
1596f461 | 160 | %{_pixmapsdir}/* |
2d1da467 | 161 | %{_desktopdir}/gnome-about.desktop |
39416a2d | 162 | |
5d84d6e6 | 163 | %files libs |
164 | %defattr(644,root,root,755) | |
2d1da467 | 165 | %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so.*.*.* |
2b287125 | 166 | %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-2.so.2 |
5d84d6e6 | 167 | |
39416a2d | 168 | %files devel |
169 | %defattr(644,root,root,755) | |
2d1da467 MB |
170 | %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so |
171 | %{_libdir}/libgnome-desktop-2.la | |
1596f461 | 172 | %{_includedir}/gnome-desktop-2.0 |
2d1da467 | 173 | %{_pkgconfigdir}/gnome-desktop-2.0.pc |
39416a2d | 174 | |
175 | %files static | |
176 | %defattr(644,root,root,755) | |
2d1da467 | 177 | %{_libdir}/libgnome-desktop-2.a |
b33a78af | 178 | |
179 | %files apidocs | |
180 | %defattr(644,root,root,755) | |
2d1da467 | 181 | %{_gtkdocdir}/gnome-desktop |