]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- merged from DEVEL and updated to 2.8.0
[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.8.0
7 Release:        1
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
11 # Source0-md5:  303b5a7db31e72fb74fcc9b6dcd860dc
12 Source1:        http://www.pld-linux.org/Members/krzak/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.8.0
20 BuildRequires:  gtk+2-devel >= 2:2.4.4
21 BuildRequires:  libgnomeui-devel >= 2.8.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  startup-notification-devel >= 0.7
25 BuildRequires:  scrollkeeper
26 Requires(post): /sbin/ldconfig
27 Requires(post): scrollkeeper
28 Requires:       libgnomeui >= 2.8.0
29 Conflicts:      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.8.0
56 Requires:       startup-notification-devel >= 0.7
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
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97         
98 rm -rf $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.png
99 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-logo-icon-transparent.svg
100
101 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
102
103 %find_lang %{name} --with-gnome --all-name
104
105 %clean
106 rm -fr $RPM_BUILD_ROOT
107
108 %post
109 /sbin/ldconfig
110 /usr/bin/scrollkeeper-update
111
112 %postun -p /sbin/ldconfig
113
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc AUTHORS ChangeLog NEWS README
117 %attr(755,root,root) %{_bindir}/*
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119 %doc %{_mandir}/man1/*
120 %{_datadir}/gnome/vfolders
121 %{_datadir}/gnome-about
122 %{_pixmapsdir}/*
123 %{_omf_dest_dir}/%{name}
124
125 %files devel
126 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_libdir}/lib*.so
128 %{_libdir}/lib*.la
129 %{_includedir}/gnome-desktop-2.0
130 %{_pkgconfigdir}/*.pc
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/*.a
This page took 0.042906 seconds and 4 git commands to generate.