]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- release 4 for kill libpng12.la 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.2
5 Release:        4
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:  60d3c4f5977d6ef903e109a6de2c79c7
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.8.0
17 BuildRequires:  gnome-doc-utils >= 0.3.1-2
18 BuildRequires:  gnome-vfs2-devel >= 2.15.1
19 BuildRequires:  gtk+2-devel >= 2:2.9.2
20 BuildRequires:  gtk-doc >= 1.4
21 BuildRequires:  intltool
22 BuildRequires:  libgnomeui-devel >= 2.15.1
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.197
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.1
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.1
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 %prep
91 %setup -q
92 %patch0 -p1
93 %patch1 -p1
94
95 %build
96 %{__gtkdocize}
97 %{__intltoolize}
98 gnome-doc-prepare --copy --force
99 %{__gnome_doc_common}
100 %{__intltoolize}
101 %{__libtoolize}
102 %{__aclocal}
103 %{__autoconf}
104 %{__autoheader}
105 %{__automake}
106 %configure \
107         --with-gnome-distributor="PLD Linux Distribution" \
108         --with-html-dir=%{_gtkdocdir}
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT
116
117 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
118 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
119 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{tk,ug,yo}
120
121 %find_lang %{name} --with-gnome --all-name
122
123 %clean
124 rm -fr $RPM_BUILD_ROOT
125
126 %post
127 %scrollkeeper_update_post
128
129 %postun
130 %scrollkeeper_update_postun
131
132 %post   libs -p /sbin/ldconfig
133 %postun libs -p /sbin/ldconfig
134
135 %files -f %{name}.lang
136 %defattr(644,root,root,755)
137 %doc AUTHORS ChangeLog NEWS README
138 %attr(755,root,root) %{_bindir}/*
139 %doc %{_mandir}/man1/*
140 %{_datadir}/gnome-about
141 %{_pixmapsdir}/*
142 %{_omf_dest_dir}/fdl
143 %{_omf_dest_dir}/gnome-feedback
144 %{_omf_dest_dir}/gpl
145 %{_omf_dest_dir}/lgpl
146 %{_desktopdir}/*.desktop
147
148 %files libs
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/lib*.so.*.*
151
152 %files devel
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/lib*.so
155 %{_libdir}/lib*.la
156 %{_includedir}/gnome-desktop-2.0
157 %{_pkgconfigdir}/*.pc
158 %{_gtkdocdir}/*
159
160 %files static
161 %defattr(644,root,root,755)
162 %{_libdir}/*.a
This page took 0.037504 seconds and 4 git commands to generate.