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