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