]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- desktop patch
[packages/gnome-desktop.git] / gnome-desktop.spec
1 # TODO:
2 # play with --with-kde-datadir
3 Summary:        The core programs for the GNOME2 GUI desktop environment
4 Summary(pl):    Podstawowe programy ¶rodowiska graficznego GNOME2
5 Name:           gnome-desktop
6 Version:        2.10.0
7 Release:        3
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/gnome-desktop/2.10/%{name}-%{version}.tar.bz2
11 # Source0-md5:  62edee01c309cb1b049ceaa801d415cc
12 Source1:        pld-logo.svg
13 # Source1-md5:  9fda4ca70a6e8e82e8e5bebe0e28db74
14 Patch0:         %{name}-crystalsvg.patch
15 Patch1:         %{name}-dekstop.patch
16 URL:            http://www.gnome.org/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gnome-common >= 2.8.0
20 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
21 BuildRequires:  gtk+2-devel >= 2:2.6.2
22 BuildRequires:  libgnomeui-devel >= 2.10.0-2
23 BuildRequires:  libtool
24 BuildRequires:  pkgconfig
25 BuildRequires:  startup-notification-devel >= 0.8
26 BuildRequires:  scrollkeeper
27 Requires(post): /sbin/ldconfig
28 Requires(post): desktop-file-utils
29 Requires(post): 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-common --copy
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 /usr/bin/scrollkeeper-update
113 /usr/bin/update-desktop-database
114
115 %postun
116 /sbin/ldconfig
117 /usr/bin/update-desktop-database
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog NEWS README
122 %attr(755,root,root) %{_bindir}/*
123 %attr(755,root,root) %{_libdir}/lib*.so.*.*
124 %doc %{_mandir}/man1/*
125 %{_datadir}/gnome-about
126 %{_pixmapsdir}/*
127 %{_omf_dest_dir}/%{name}
128 %{_desktopdir}/*.desktop
129
130 %files devel
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_libdir}/lib*.la
134 %{_includedir}/gnome-desktop-2.0
135 %{_pkgconfigdir}/*.pc
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/*.a
This page took 0.056976 seconds and 4 git commands to generate.