]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
50277d7a702f6b2cf27556353c7a2d6aeab365be
[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.0
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:  51c217ea85ed1ccc7e9bf42ea2636ebf
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:  libgnomeui-devel >= 2.10.0-2
22 BuildRequires:  libtool
23 BuildRequires:  rpmbuild(macros) >= 1.197
24 BuildRequires:  pkgconfig
25 BuildRequires:  startup-notification-devel >= 0.8
26 BuildRequires:  scrollkeeper
27 Requires(post,postun):  /sbin/ldconfig
28 Requires(post,postun):  scrollkeeper
29 Requires:       libgnomeui >= 2.10.0-2
30 Obsoletes:      gnome-core
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 GNOME2 (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. GNOME2 is similar in purpose
37 and scope to CDE and KDE, but GNOME2 is based completely on free
38 software.
39
40 This package contains applications related to GNOME2 desktop.
41
42 %description -l pl
43 GNOME2 (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. GNOME2 przypomina
46 wygl±dem i zakresem funkcjonalno¶ci CDE i KDE, jednak GNOME2 opiera
47 siê w ca³o¶ci na wolnym oprogramowaniu.
48
49 Ten pakiet zawiera aplikacje zwi±zane w desktopem GNOME2.
50
51 %package devel
52 Summary:        GNOME2 desktop includes
53 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME2 desktop
54 Group:          X11/Development/Libraries
55 Requires:       %{name} = %{version}-%{release}
56 Requires:       libgnomeui-devel >= 2.10.0-2
57 Requires:       startup-notification-devel >= 0.8
58
59 %description devel
60 GNOME2 desktop header files.
61
62 %description devel -l pl
63 Pliki nag³ówkowe bibliotek GNOME2 desktop.
64
65 %package static
66 Summary:        GNOME2 desktop static libraries
67 Summary(pl):    Statyczne biblioteki GNOME2 desktop
68 Group:          X11/Development/Libraries
69 Requires:       %{name} = %{version}-%{release}
70
71 %description static
72 GNOME2 desktop static libraries.
73
74 %description static -l pl
75 Statyczne biblioteki GNOME2 desktop.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81
82 %build
83 gnome-doc-prepare --copy --force
84 %{__gnome_doc_common}
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91         --with-gnome-distributor="PLD Linux Distribution"
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99         
100 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
101 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
102
103 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
104
105 %find_lang %{name} --with-gnome --all-name
106
107 %clean
108 rm -fr $RPM_BUILD_ROOT
109
110 %post
111 /sbin/ldconfig
112 %scrollkeeper_update_post
113
114 %postun
115 /sbin/ldconfig
116 %scrollkeeper_update_postun
117
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog NEWS README
121 %attr(755,root,root) %{_bindir}/*
122 %attr(755,root,root) %{_libdir}/lib*.so.*.*
123 %doc %{_mandir}/man1/*
124 %{_datadir}/gnome-about
125 %{_pixmapsdir}/*
126 %{_omf_dest_dir}/fdl
127 %{_omf_dest_dir}/gnome-feedback
128 %{_omf_dest_dir}/gpl
129 %{_omf_dest_dir}/lgpl
130 %{_desktopdir}/*.desktop
131
132 %files devel
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/lib*.so
135 %{_libdir}/lib*.la
136 %{_includedir}/gnome-desktop-2.0
137 %{_pkgconfigdir}/*.pc
138
139 %files static
140 %defattr(644,root,root,755)
141 %{_libdir}/*.a
This page took 0.038874 seconds and 3 git commands to generate.