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