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