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