]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- rebuild
[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.1
5 Release:        2
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:  6870b71b564dc902af65ddee176e603f
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.16.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
107 %build
108 %{__gtkdocize}
109 %{__intltoolize}
110 %{__gnome_doc_prepare}
111 %{__gnome_doc_common}
112 %{__intltoolize}
113 %{__libtoolize}
114 %{__aclocal} -I m4
115 %{__autoconf}
116 %{__autoheader}
117 %{__automake}
118 %configure \
119         --with-gnome-distributor="PLD Linux Distribution" \
120         --with-html-dir=%{_gtkdocdir}
121 %{__make}
122
123 %install
124 rm -rf $RPM_BUILD_ROOT
125
126 %{__make} install \
127         DESTDIR=$RPM_BUILD_ROOT
128
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
132 %find_lang %{name} --with-gnome --with-omf --all-name
133
134 %clean
135 rm -fr $RPM_BUILD_ROOT
136
137 %post
138 %scrollkeeper_update_post
139
140 %postun
141 %scrollkeeper_update_postun
142
143 %post   libs -p /sbin/ldconfig
144 %postun libs -p /sbin/ldconfig
145
146 %files -f %{name}.lang
147 %defattr(644,root,root,755)
148 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
149 %attr(755,root,root) %{_bindir}/gnome-about
150 %{_mandir}/man1/gnome-about.1*
151 %{_datadir}/gnome-about
152 %{_datadir}/libgnome-desktop
153 %{_pixmapsdir}/*
154 %{_desktopdir}/gnome-about.desktop
155
156 %files libs
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so.*.*.*
159 %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-2.so.11
160
161 %files devel
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so
164 %{_libdir}/libgnome-desktop-2.la
165 %{_includedir}/gnome-desktop-2.0
166 %{_pkgconfigdir}/gnome-desktop-2.0.pc
167
168 %files static
169 %defattr(644,root,root,755)
170 %{_libdir}/libgnome-desktop-2.a
171
172 %files apidocs
173 %defattr(644,root,root,755)
174 %{_gtkdocdir}/gnome-desktop
This page took 0.057182 seconds and 4 git commands to generate.