]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- Up to 2.32.1
[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.32.1
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.32/%{name}-%{version}.tar.bz2
9 # Source0-md5:  5c80d628a240eb9d9ff78913b31f2f67
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:  docbook-dtd412-xml
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 1:2.20.0
18 BuildRequires:  gnome-common >= 2.24.0
19 BuildRequires:  gnome-doc-utils >= 0.14.0
20 BuildRequires:  gtk+2-devel >= 2:2.18.0
21 BuildRequires:  gtk-doc >= 1.8
22 BuildRequires:  intltool >= 0.40.0
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpm-pythonprov
26 BuildRequires:  rpmbuild(find_lang) >= 1.23
27 BuildRequires:  rpmbuild(macros) >= 1.311
28 BuildRequires:  scrollkeeper
29 BuildRequires:  sed >= 4.0
30 BuildRequires:  startup-notification-devel >= 0.8
31 BuildRequires:  xorg-lib-libXrandr-devel >= 1.2
32 Requires(post,postun):  scrollkeeper
33 Requires:       %{name}-libs = %{version}-%{release}
34 Requires:       python-gnome
35 Requires:       python-pygtk-gtk
36 Obsoletes:      gnome-core
37 # sr@Latn vs. sr@latin
38 Conflicts:      glibc-misc < 6:2.7
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 GNOME (GNU Network Object Model Environment) is a user-friendly set of
43 applications and desktop tools to be used in conjunction with a window
44 manager for the X Window System. GNOME is similar in purpose and scope
45 to CDE and KDE, but GNOME is based completely on free software.
46
47 This package contains applications related to GNOME desktop.
48
49 %description -l pl.UTF-8
50 GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych
51 dla użytkownika programów i narzędzi biurkowych, których używa się
52 wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i
53 zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości
54 na wolnym oprogramowaniu.
55
56 Ten pakiet zawiera aplikacje związane w desktopem GNOME.
57
58 %package libs
59 Summary:        gnome-desktop library
60 Summary(pl.UTF-8):      Biblioteka gnome-desktop
61 Group:          X11/Libraries
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:       gtk+2-devel >= 2:2.18.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
110 sed -i -e 's/en@shaw//' po/LINGUAS
111 rm -f po/en@shaw.po
112
113 %build
114 %{__gtkdocize}
115 %{__intltoolize}
116 %{__gnome_doc_prepare}
117 %{__gnome_doc_common}
118 %{__intltoolize}
119 %{__libtoolize}
120 %{__aclocal} -I m4
121 %{__autoconf}
122 %{__autoheader}
123 %{__automake}
124 %configure \
125         --with-gnome-distributor="PLD Linux Distribution" \
126         --enable-gtk-doc \
127         --with-html-dir=%{_gtkdocdir} \
128         --disable-silent-rules
129 %{__make}
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133
134 %{__make} install \
135         DESTDIR=$RPM_BUILD_ROOT
136
137 %{__rm} -f $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
138 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
139 %{__rm} -f  $RPM_BUILD_ROOT%{_libdir}/*.la
140
141 %find_lang %{name} --with-gnome --with-omf --all-name
142
143 %clean
144 rm -fr $RPM_BUILD_ROOT
145
146 %post
147 %scrollkeeper_update_post
148
149 %postun
150 %scrollkeeper_update_postun
151
152 %post   libs -p /sbin/ldconfig
153 %postun libs -p /sbin/ldconfig
154
155 %files -f %{name}.lang
156 %defattr(644,root,root,755)
157 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
158 %attr(755,root,root) %{_bindir}/gnome-about
159 %{_mandir}/man1/gnome-about.1*
160 %{_datadir}/gnome-about
161 %{_datadir}/libgnome-desktop
162 %{_pixmapsdir}/*
163 %{_desktopdir}/gnome-about.desktop
164
165 %files libs
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so.*.*.*
168 %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-2.so.17
169
170 %files devel
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so
173 %{_includedir}/gnome-desktop-2.0
174 %{_pkgconfigdir}/gnome-desktop-2.0.pc
175
176 %files static
177 %defattr(644,root,root,755)
178 %{_libdir}/libgnome-desktop-2.a
179
180 %files apidocs
181 %defattr(644,root,root,755)
182 %{_gtkdocdir}/gnome-desktop
This page took 0.095445 seconds and 4 git commands to generate.