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