]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- updated to 2.26.3
[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.26.3
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.26/%{name}-%{version}.tar.bz2
9 # Source0-md5:  1668dcedde64b30aa02f0a73e59c957d
10 Source1:        pld-logo.svg
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.26.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  gettext-devel
16 BuildRequires:  glib2-devel >= 1:2.20.0
17 BuildRequires:  gnome-common >= 2.24.0
18 BuildRequires:  gnome-doc-utils >= 0.14.0
19 BuildRequires:  gtk+2-devel >= 2:2.16.0
20 BuildRequires:  gtk-doc >= 1.8
21 BuildRequires:  intltool >= 0.40.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(find_lang) >= 1.23
25 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  scrollkeeper
27 BuildRequires:  startup-notification-devel >= 0.8
28 BuildRequires:  xorg-lib-libXrandr-devel >= 1.2
29 Requires(post,postun):  scrollkeeper
30 Requires:       %{name}-libs = %{version}-%{release}
31 Requires:       python-gnome
32 Requires:       python-pygtk-gtk
33 Obsoletes:      gnome-core
34 # sr@Latn vs. sr@latin
35 Conflicts:      glibc-misc < 6:2.7
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 GNOME (GNU Network Object Model Environment) is a user-friendly set of
40 applications and desktop tools to be used in conjunction with a window
41 manager for the X Window System. GNOME is similar in purpose and scope
42 to CDE and KDE, but GNOME is based completely on free software.
43
44 This package contains applications related to GNOME desktop.
45
46 %description -l pl.UTF-8
47 GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych
48 dla użytkownika programów i narzędzi biurkowych, których używa się
49 wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i
50 zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości
51 na wolnym oprogramowaniu.
52
53 Ten pakiet zawiera aplikacje związane w desktopem GNOME.
54
55 %package libs
56 Summary:        gnome-desktop library
57 Summary(pl.UTF-8):      Biblioteka gnome-desktop
58 Group:          X11/Libraries
59
60 %description libs
61 This package contains gnome-desktop library.
62
63 %description libs -l pl.UTF-8
64 Pakiet ten zawiera bibliotekę gnome-desktop.
65
66 %package devel
67 Summary:        GNOME desktop includes
68 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek GNOME desktop
69 Group:          X11/Development/Libraries
70 Requires:       %{name}-libs = %{version}-%{release}
71 Requires:       gtk+2-devel >= 2:2.15.0
72 Requires:       startup-notification-devel >= 0.8
73
74 %description devel
75 GNOME desktop header files.
76
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe bibliotek GNOME desktop.
79
80 %package static
81 Summary:        GNOME desktop static libraries
82 Summary(pl.UTF-8):      Statyczne biblioteki GNOME desktop
83 Group:          X11/Development/Libraries
84 Requires:       %{name} = %{version}-%{release}
85
86 %description static
87 GNOME desktop static libraries.
88
89 %description static -l pl.UTF-8
90 Statyczne biblioteki GNOME desktop.
91
92 %package apidocs
93 Summary:        gnome-desktop API documentation
94 Summary(pl.UTF-8):      Dokumentacja API gnome-desktop
95 Group:          Documentation
96 Requires:       gtk-doc-common
97
98 %description apidocs
99 gnome-desktop API documentation.
100
101 %description apidocs -l pl.UTF-8
102 Dokumentacja API gnome-desktop.
103
104 %prep
105 %setup -q
106 sed -i -e 's#ca@valencia##' po/LINGUAS
107 rm -f po/ca@valencia.po
108
109 %build
110 %{__gtkdocize}
111 %{__intltoolize}
112 %{__gnome_doc_prepare}
113 %{__gnome_doc_common}
114 %{__intltoolize}
115 %{__libtoolize}
116 %{__aclocal} -I m4
117 %{__autoconf}
118 %{__autoheader}
119 %{__automake}
120 %configure \
121         --with-gnome-distributor="PLD Linux Distribution" \
122         --with-html-dir=%{_gtkdocdir}
123 %{__make}
124
125 %install
126 rm -rf $RPM_BUILD_ROOT
127
128 %{__make} install \
129         DESTDIR=$RPM_BUILD_ROOT
130
131 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
132 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
133
134 %find_lang %{name} --with-gnome --with-omf --all-name
135
136 %clean
137 rm -fr $RPM_BUILD_ROOT
138
139 %post
140 %scrollkeeper_update_post
141
142 %postun
143 %scrollkeeper_update_postun
144
145 %post   libs -p /sbin/ldconfig
146 %postun libs -p /sbin/ldconfig
147
148 %files -f %{name}.lang
149 %defattr(644,root,root,755)
150 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
151 %attr(755,root,root) %{_bindir}/gnome-about
152 %{_mandir}/man1/gnome-about.1*
153 %{_datadir}/gnome-about
154 %{_pixmapsdir}/*
155 %{_desktopdir}/gnome-about.desktop
156
157 %files libs
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so.*.*.*
160 %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-2.so.11
161
162 %files devel
163 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so
165 %{_libdir}/libgnome-desktop-2.la
166 %{_includedir}/gnome-desktop-2.0
167 %{_pkgconfigdir}/gnome-desktop-2.0.pc
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/libgnome-desktop-2.a
172
173 %files apidocs
174 %defattr(644,root,root,755)
175 %{_gtkdocdir}/gnome-desktop
This page took 0.069556 seconds and 3 git commands to generate.