]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- updated to 2.22.2
[packages/gnome-desktop.git] / gnome-desktop.spec
1 Summary:        The core programs for the GNOME GUI desktop environment
2 Summary(pl.UTF-8):      Podstawowe programy środowiska graficznego GNOME
3 Name:           gnome-desktop
4 Version:        2.22.2
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6d6271cfa135ce016126414d929b8fb7
10 Source1:        pld-logo.svg
11 Patch0:         %{name}-crystalsvg.patch
12 Patch1:         %{name}-recently-used-apps.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.22.0
15 BuildRequires:  autoconf
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  gettext-devel
18 BuildRequires:  glib2-devel >= 1:2.16.0
19 BuildRequires:  gnome-common >= 2.20.0
20 BuildRequires:  gnome-doc-utils >= 0.12.0
21 BuildRequires:  gtk+2-devel >= 2:2.12.5
22 BuildRequires:  gtk-doc >= 1.8
23 BuildRequires:  intltool >= 0.36.1
24 BuildRequires:  libgnomeui-devel >= 2.22.0
25 BuildRequires:  libtool
26 BuildRequires:  libxml2-devel >= 1:2.6.31
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(find_lang) >= 1.23
29 BuildRequires:  rpmbuild(macros) >= 1.311
30 BuildRequires:  scrollkeeper
31 BuildRequires:  sed >= 4.0
32 BuildRequires:  startup-notification-devel >= 0.8
33 Requires(post,postun):  scrollkeeper
34 Requires:       %{name}-libs = %{version}-%{release}
35 Obsoletes:      gnome-core
36 # sr@Latn vs. sr@latin
37 Conflicts:      glibc-misc < 6:2.7
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
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.
45
46 This package contains applications related to GNOME desktop.
47
48 %description -l pl.UTF-8
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.
54
55 Ten pakiet zawiera aplikacje związane w desktopem GNOME.
56
57 %package libs
58 Summary:        gnome-desktop library
59 Summary(pl.UTF-8):      Biblioteka gnome-desktop
60 Group:          X11/Libraries
61 Requires:       libgnomeui >= 2.22.0
62
63 %description libs
64 This package contains gnome-desktop library.
65
66 %description libs -l pl.UTF-8
67 Pakiet ten zawiera bibliotekę gnome-desktop.
68
69 %package devel
70 Summary:        GNOME desktop includes
71 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek GNOME desktop
72 Group:          X11/Development/Libraries
73 Requires:       %{name}-libs = %{version}-%{release}
74 Requires:       libgnomeui-devel >= 2.22.0
75 Requires:       startup-notification-devel >= 0.8
76
77 %description devel
78 GNOME desktop header files.
79
80 %description devel -l pl.UTF-8
81 Pliki nagłówkowe bibliotek GNOME desktop.
82
83 %package static
84 Summary:        GNOME desktop static libraries
85 Summary(pl.UTF-8):      Statyczne biblioteki GNOME desktop
86 Group:          X11/Development/Libraries
87 Requires:       %{name} = %{version}-%{release}
88
89 %description static
90 GNOME desktop static libraries.
91
92 %description static -l pl.UTF-8
93 Statyczne biblioteki GNOME desktop.
94
95 %package apidocs
96 Summary:        gnome-desktop API documentation
97 Summary(pl.UTF-8):      Dokumentacja API gnome-desktop
98 Group:          Documentation
99 Requires:       gtk-doc-common
100
101 %description apidocs
102 gnome-desktop API documentation.
103
104 %description apidocs -l pl.UTF-8
105 Dokumentacja API gnome-desktop.
106
107 %prep
108 %setup -q
109 %patch0 -p1
110 %patch1 -p1
111
112 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
113 mv po/sr@{Latn,latin}.po
114
115 %build
116 %{__gtkdocize}
117 %{__intltoolize}
118 %{__gnome_doc_prepare}
119 %{__gnome_doc_common}
120 %{__intltoolize}
121 %{__libtoolize}
122 %{__aclocal}
123 %{__autoconf}
124 %{__autoheader}
125 %{__automake}
126 %configure \
127         --with-gnome-distributor="PLD Linux Distribution" \
128         --with-html-dir=%{_gtkdocdir}
129 %{__make}
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133
134 %{__make} install \
135         DESTDIR=$RPM_BUILD_ROOT
136
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
140 %find_lang %{name} --with-gnome --with-omf --all-name
141
142 %clean
143 rm -fr $RPM_BUILD_ROOT
144
145 %post
146 %scrollkeeper_update_post
147
148 %postun
149 %scrollkeeper_update_postun
150
151 %post   libs -p /sbin/ldconfig
152 %postun libs -p /sbin/ldconfig
153
154 %files -f %{name}.lang
155 %defattr(644,root,root,755)
156 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
157 %attr(755,root,root) %{_bindir}/gnome-about
158 %{_mandir}/man1/gnome-about.1*
159 %{_datadir}/gnome-about
160 %{_pixmapsdir}/*
161 %{_desktopdir}/gnome-about.desktop
162
163 %files libs
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so.*.*.*
166 %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-2.so.2
167
168 %files devel
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so
171 %{_libdir}/libgnome-desktop-2.la
172 %{_includedir}/gnome-desktop-2.0
173 %{_pkgconfigdir}/gnome-desktop-2.0.pc
174
175 %files static
176 %defattr(644,root,root,755)
177 %{_libdir}/libgnome-desktop-2.a
178
179 %files apidocs
180 %defattr(644,root,root,755)
181 %{_gtkdocdir}/gnome-desktop
This page took 0.045494 seconds and 4 git commands to generate.