]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- 2.15.4, updated deps, --as-needed support
[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.4
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:  13b68f7780b885621515e487572d3eb1
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.1
18 BuildRequires:  gnome-vfs2-devel >= 2.15.3
19 BuildRequires:  gtk+2-devel >= 2:2.10.0
20 BuildRequires:  gtk-doc >= 1.6
21 BuildRequires:  intltool
22 BuildRequires:  libgnomeui-devel >= 2.15.2
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.2
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.2
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 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
107 %configure \
108         --with-gnome-distributor="PLD Linux Distribution" \
109         --with-html-dir=%{_gtkdocdir}
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114
115 %{__make} install \
116         DESTDIR=$RPM_BUILD_ROOT
117
118 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
119 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
120 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{tk,ug,yo}
121
122 %find_lang %{name} --with-gnome --all-name
123
124 %clean
125 rm -fr $RPM_BUILD_ROOT
126
127 %post
128 %scrollkeeper_update_post
129
130 %postun
131 %scrollkeeper_update_postun
132
133 %post   libs -p /sbin/ldconfig
134 %postun libs -p /sbin/ldconfig
135
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %doc AUTHORS ChangeLog NEWS README
139 %attr(755,root,root) %{_bindir}/*
140 %doc %{_mandir}/man1/*
141 %{_datadir}/gnome-about
142 %{_pixmapsdir}/*
143 %{_omf_dest_dir}/fdl
144 %{_omf_dest_dir}/gnome-feedback
145 %{_omf_dest_dir}/gpl
146 %{_omf_dest_dir}/lgpl
147 %{_desktopdir}/*.desktop
148
149 %files libs
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/lib*.so.*.*
152
153 %files devel
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/lib*.so
156 %{_libdir}/lib*.la
157 %{_includedir}/gnome-desktop-2.0
158 %{_pkgconfigdir}/*.pc
159 %{_gtkdocdir}/*
160
161 %files static
162 %defattr(644,root,root,755)
163 %{_libdir}/*.a
This page took 0.101343 seconds and 4 git commands to generate.