]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- 2.16.1
[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.1
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:  e92edb17cd75faca45a4fe2d6806bdd8
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.1
20 BuildRequires:  gtk+2-devel >= 2:2.10.5
21 BuildRequires:  gtk-doc >= 1.7
22 BuildRequires:  intltool
23 BuildRequires:  libgnomeui-devel >= 2.16.0
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.0
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.0
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 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{tk,ug,yo}
134
135 %find_lang %{name} --with-gnome --all-name
136
137 %clean
138 rm -fr $RPM_BUILD_ROOT
139
140 %post
141 %scrollkeeper_update_post
142
143 %postun
144 %scrollkeeper_update_postun
145
146 %post   libs -p /sbin/ldconfig
147 %postun libs -p /sbin/ldconfig
148
149 %files -f %{name}.lang
150 %defattr(644,root,root,755)
151 %doc AUTHORS ChangeLog NEWS README
152 %attr(755,root,root) %{_bindir}/*
153 %doc %{_mandir}/man1/*
154 %{_datadir}/gnome-about
155 %{_pixmapsdir}/*
156 %{_omf_dest_dir}/fdl
157 %{_omf_dest_dir}/gnome-feedback
158 %{_omf_dest_dir}/gpl
159 %{_omf_dest_dir}/lgpl
160 %{_desktopdir}/*.desktop
161
162 %files libs
163 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_libdir}/lib*.so.*.*
165
166 %files devel
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_libdir}/lib*.so
169 %{_libdir}/lib*.la
170 %{_includedir}/gnome-desktop-2.0
171 %{_pkgconfigdir}/*.pc
172 %{_gtkdocdir}/*
173
174 %files static
175 %defattr(644,root,root,755)
176 %{_libdir}/*.a
177
178 %files apidocs
179 %defattr(644,root,root,755)
180 %{_gtkdocdir}/*
This page took 0.056411 seconds and 4 git commands to generate.