]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- adapterized (killed trailing spaces/tabs)
[packages/gnome-desktop.git] / gnome-desktop.spec
1 Summary:        The core programs for the GNOME2 GUI desktop environment
2 Summary(pl):    Podstawowe programy ¶rodowiska graficznego GNOME2
3 Name:           gnome-desktop
4 Version:        2.12.3
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-desktop/2.12/%{name}-%{version}.tar.bz2
9 # Source0-md5:  387efe89249c61e512812568047be654
10 Source1:        pld-logo.svg
11 # Source1-md5:  9fda4ca70a6e8e82e8e5bebe0e28db74
12 Patch0:         %{name}-crystalsvg.patch
13 Patch1:         %{name}-desktop.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gnome-common >= 2.8.0
18 BuildRequires:  gnome-doc-utils >= 0.3.1-2
19 BuildRequires:  gnome-vfs2-devel >= 2.11.90
20 BuildRequires:  gtk+2-devel >= 2:2.8.0
21 BuildRequires:  intltool
22 BuildRequires:  libgnomeui-devel >= 2.10.0-2
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.197
26 BuildRequires:  scrollkeeper
27 BuildRequires:  startup-notification-devel >= 0.8
28 Requires(post,postun):  /sbin/ldconfig
29 Requires(post,postun):  scrollkeeper
30 Requires:       libgnomeui >= 2.10.0-2
31 Obsoletes:      gnome-core
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 GNOME2 (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. GNOME2 is similar in purpose
38 and scope to CDE and KDE, but GNOME2 is based completely on free
39 software.
40
41 This package contains applications related to GNOME2 desktop.
42
43 %description -l pl
44 GNOME2 (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. GNOME2 przypomina
47 wygl±dem i zakresem funkcjonalno¶ci CDE i KDE, jednak GNOME2 opiera
48 siê w ca³o¶ci na wolnym oprogramowaniu.
49
50 Ten pakiet zawiera aplikacje zwi±zane w desktopem GNOME2.
51
52 %package devel
53 Summary:        GNOME2 desktop includes
54 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME2 desktop
55 Group:          X11/Development/Libraries
56 Requires:       %{name} = %{version}-%{release}
57 Requires:       libgnomeui-devel >= 2.10.0-2
58 Requires:       startup-notification-devel >= 0.8
59
60 %description devel
61 GNOME2 desktop header files.
62
63 %description devel -l pl
64 Pliki nag³ówkowe bibliotek GNOME2 desktop.
65
66 %package static
67 Summary:        GNOME2 desktop static libraries
68 Summary(pl):    Statyczne biblioteki GNOME2 desktop
69 Group:          X11/Development/Libraries
70 Requires:       %{name} = %{version}-%{release}
71
72 %description static
73 GNOME2 desktop static libraries.
74
75 %description static -l pl
76 Statyczne biblioteki GNOME2 desktop.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81 %patch1 -p1
82
83 %build
84 gnome-doc-prepare --copy --force
85 %{__gnome_doc_common}
86 %{__intltoolize}
87 %{__libtoolize}
88 %{__aclocal}
89 %{__autoconf}
90 %{__autoheader}
91 %{__automake}
92 %configure \
93         --with-gnome-distributor="PLD Linux Distribution"
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
103 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
104
105 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
106
107 %find_lang %{name} --with-gnome --all-name
108
109 %clean
110 rm -fr $RPM_BUILD_ROOT
111
112 %post
113 /sbin/ldconfig
114 %scrollkeeper_update_post
115
116 %postun
117 /sbin/ldconfig
118 %scrollkeeper_update_postun
119
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README
123 %attr(755,root,root) %{_bindir}/*
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %doc %{_mandir}/man1/*
126 %{_datadir}/gnome-about
127 %{_pixmapsdir}/*
128 %{_omf_dest_dir}/fdl
129 %{_omf_dest_dir}/gnome-feedback
130 %{_omf_dest_dir}/gpl
131 %{_omf_dest_dir}/lgpl
132 %{_desktopdir}/*.desktop
133
134 %files devel
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/lib*.so
137 %{_libdir}/lib*.la
138 %{_includedir}/gnome-desktop-2.0
139 %{_pkgconfigdir}/*.pc
140
141 %files static
142 %defattr(644,root,root,755)
143 %{_libdir}/*.a
This page took 0.042747 seconds and 4 git commands to generate.