]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- merged from DEVEL
[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.14.0
5 Release:        3
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-desktop/2.14/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b8daad3194f8d5d48546a9b4d4585503
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.11.90
19 BuildRequires:  gtk+2-devel >= 2:2.8.0
20 BuildRequires:  intltool
21 BuildRequires:  libgnomeui-devel >= 2.10.0-2
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.197
25 BuildRequires:  scrollkeeper
26 BuildRequires:  startup-notification-devel >= 0.8
27 BuildRequires:  scrollkeeper
28 Requires(post,postun):  scrollkeeper
29 Requires:       %{name}-libs = %{version}-%{release}
30 Obsoletes:      gnome-core
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 GNOME (GNU Network Object Model Environment) is a user-friendly set
35 of applications and desktop tools to be used in conjunction with a
36 window manager for the X Window System. GNOME is similar in purpose
37 and scope to CDE and KDE, but GNOME is based completely on free
38 software.
39
40 This package contains applications related to GNOME desktop.
41
42 %description -l pl
43 GNOME (GNU Network Object Model Environment) jest zestawem
44 przyjaznych dla u¿ytkownika programów i narzêdzi biurkowych, których
45 u¿ywa siê wraz z zarz±dc± okien systemu X Window. GNOME przypomina
46 wygl±dem i zakresem funkcjonalno¶ci CDE i KDE, jednak GNOME opiera
47 siê w ca³o¶ci na wolnym oprogramowaniu.
48
49 Ten pakiet zawiera aplikacje zwi±zane w desktopem GNOME.
50
51 %package libs
52 Summary:        gnome-desktop library
53 Summary(pl):    Biblioteka gnome-desktop
54 Group:          Development/Libraries
55 Requires:       libgnomeui >= 2.10.0-2
56
57 %description libs
58 This package contains gnome-desktop library.
59
60 %description libs -l pl
61 Pakiet ten zawiera bibliotekê gnome-desktop.
62
63 %package devel
64 Summary:        GNOME desktop includes
65 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME desktop
66 Group:          X11/Development/Libraries
67 Requires:       %{name}-libs = %{version}-%{release}
68 Requires:       libgnomeui-devel >= 2.10.0-2
69 Requires:       startup-notification-devel >= 0.8
70
71 %description devel
72 GNOME desktop header files.
73
74 %description devel -l pl
75 Pliki nag³ówkowe bibliotek GNOME desktop.
76
77 %package static
78 Summary:        GNOME desktop static libraries
79 Summary(pl):    Statyczne biblioteki GNOME desktop
80 Group:          X11/Development/Libraries
81 Requires:       %{name} = %{version}-%{release}
82
83 %description static
84 GNOME desktop static libraries.
85
86 %description static -l pl
87 Statyczne biblioteki GNOME desktop.
88
89 %prep
90 %setup -q
91 %patch0 -p1
92 %patch1 -p1
93
94 %build
95 %{__intltoolize}
96 gnome-doc-prepare --copy --force
97 %{__gnome_doc_common}
98 %{__intltoolize}
99 %{__libtoolize}
100 %{__aclocal}
101 %{__autoconf}
102 %{__autoheader}
103 %{__automake}
104 %configure \
105         --with-gnome-distributor="PLD Linux Distribution"
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
115 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
116
117 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
118
119 %find_lang %{name} --with-gnome --all-name
120
121 %clean
122 rm -fr $RPM_BUILD_ROOT
123
124 %post
125 %scrollkeeper_update_post
126
127 %postun
128 %scrollkeeper_update_postun
129
130 %post   libs -p /sbin/ldconfig
131 %postun libs -p /sbin/ldconfig
132
133 %files -f %{name}.lang
134 %defattr(644,root,root,755)
135 %doc AUTHORS ChangeLog NEWS README
136 %attr(755,root,root) %{_bindir}/*
137 %doc %{_mandir}/man1/*
138 %{_datadir}/gnome-about
139 %{_pixmapsdir}/*
140 %{_omf_dest_dir}/fdl
141 %{_omf_dest_dir}/gnome-feedback
142 %{_omf_dest_dir}/gpl
143 %{_omf_dest_dir}/lgpl
144 %{_desktopdir}/*.desktop
145
146 %files libs
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/lib*.so.*.*
149
150 %files devel
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_libdir}/lib*.so
153 %{_libdir}/lib*.la
154 %{_includedir}/gnome-desktop-2.0
155 %{_pkgconfigdir}/*.pc
156
157 %files static
158 %defattr(644,root,root,755)
159 %{_libdir}/*.a
This page took 0.042512 seconds and 4 git commands to generate.