]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- added BR: scrollkeeper
[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 BuildRequires:  scrollkeeper
29 Requires(post): /sbin/ldconfig
30 Requires(post): scrollkeeper
31 Requires:       libgnomeui >= 2.6.0
32 Conflicts:      gnome-core
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 GNOME2 (GNU Network Object Model Environment) is a user-friendly set
37 of applications and desktop tools to be used in conjunction with a
38 window manager for the X Window System. GNOME2 is similar in purpose
39 and scope to CDE and KDE, but GNOME2 is based completely on free
40 software.
41
42 This package contains applications related to GNOME2 desktop.
43
44 %description -l pl
45 GNOME2 (GNU Network Object Model Environment) jest zestawem
46 przyjaznych dla u¿ytkownika programów i narzêdzi biurkowych, których
47 u¿ywa siê wraz z zarz±dc± okien systemu X Window. GNOME2 przypomina
48 wygl±dem i zakresem funkcjonalno¶ci CDE i KDE, jednak GNOME2 opiera
49 siê w ca³o¶ci na wolnym oprogramowaniu.
50
51 Ten pakiet zawiera aplikacje zwi±zane w desktopem GNOME2.
52
53 %package devel
54 Summary:        GNOME2 desktop includes
55 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME2 desktop
56 Group:          X11/Development/Libraries
57 Requires:       %{name} = %{version}-%{release}
58 Requires:       libgnomeui-devel >= 2.6.0
59 Requires:       startup-notification-devel >= 0.6
60
61 %description devel
62 GNOME2 desktop header files.
63
64 %description devel -l pl
65 Pliki nag³ówkowe bibliotek GNOME2 desktop.
66
67 %package static
68 Summary:        GNOME2 desktop static libraries
69 Summary(pl):    Statyczne biblioteki GNOME2 desktop
70 Group:          X11/Development/Libraries
71 Requires:       %{name} = %{version}-%{release}
72
73 %description static
74 GNOME2 desktop static libraries.
75
76 %description static -l pl
77 Statyczne biblioteki GNOME2 desktop.
78
79 %prep
80 %setup -q
81 %patch0 -p1
82 %patch1 -p1
83 %patch2 -p1
84
85 mv po/{no,nb}.po
86
87 %build
88 gnome-doc-common --copy
89 %{__libtoolize}
90 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
91 %{__autoconf}
92 %{__autoheader}
93 %{__automake}
94 %configure \
95         --with-gnome-distributor="PLD Linux Distribution"
96
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104         
105 rm -rf $RPM_BUILD_ROOT/%{_pixmapsdir}/gnome-logo-icon-transparent.png
106 install %{SOURCE1} $RPM_BUILD_ROOT/%{_pixmapsdir}/gnome-logo-icon-transparent.svg
107
108 %find_lang %{name} --with-gnome --all-name
109
110 %clean
111 rm -fr $RPM_BUILD_ROOT
112
113 %post
114 /sbin/ldconfig
115 /usr/bin/scrollkeeper-update
116
117 %postun -p /sbin/ldconfig
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/vfolders
126 %{_datadir}/gnome-about
127 %{_pixmapsdir}/*
128 %{_omf_dest_dir}/%{name}
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.036023 seconds and 4 git commands to generate.