]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- updated to 2.6.1
[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.6.1
7 Release:        1
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
11 # Source0-md5:  63aa021d420ce14877f6a1dd3f0eeb16
12 Source1:        http://www.pld-linux.org/Members/krzak/pld-logo.svg
13 # Source1-md5:  9fda4ca70a6e8e82e8e5bebe0e28db74
14 Patch0:         %{name}-crystalsvg.patch
15 Patch1:         %{name}-locale-names.patch
16 Patch2:         %{name}-omf.patch
17 URL:            http://www.gnome.org/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gnome-common
21 BuildRequires:  gnome-vfs2-devel >= 2.6.1
22 BuildRequires:  gtk+2-devel >= 2:2.4.0
23 BuildRequires:  libgnomeui-devel >= 2.6.0
24 BuildRequires:  libgnomecanvas-devel >= 2.6.0
25 BuildRequires:  libtool
26 BuildRequires:  pkgconfig
27 BuildRequires:  startup-notification-devel >= 0.6
28 Requires(post): /sbin/ldconfig
29 Requires(post): scrollkeeper
30 Requires:       libgnomeui >= 2.6.0
31 Conflicts:      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.6.0
58 Requires:       startup-notification-devel >= 0.6
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 %patch2 -p1
83
84 mv po/{no,nb}.po
85
86 %build
87 gnome-doc-common --copy
88 %{__libtoolize}
89 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 %configure \
94         --with-gnome-distributor="PLD Linux Distribution"
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103         
104 rm -rf $RPM_BUILD_ROOT/%{_pixmapsdir}/gnome-logo-icon-transparent.png
105 install %{SOURCE1} $RPM_BUILD_ROOT/%{_pixmapsdir}/gnome-logo-icon-transparent.svg
106
107 %find_lang %{name} --with-gnome --all-name
108
109 %clean
110 rm -fr $RPM_BUILD_ROOT
111
112 %post
113 /sbin/ldconfig
114 /usr/bin/scrollkeeper-update
115
116 %postun -p /sbin/ldconfig
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/vfolders
125 %{_datadir}/gnome-about
126 %{_pixmapsdir}/*
127 %{_omf_dest_dir}/%{name}
128
129 %files devel
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/lib*.so
132 %{_libdir}/lib*.la
133 %{_includedir}/gnome-desktop-2.0
134 %{_pkgconfigdir}/*.pc
135
136 %files static
137 %defattr(644,root,root,755)
138 %{_libdir}/*.a
This page took 0.109949 seconds and 4 git commands to generate.