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