]> git.pld-linux.org Git - packages/gnome-panel.git/blob - gnome-panel.spec
- Requires: gnome-vfs-menu-module (virtual package)
[packages/gnome-panel.git] / gnome-panel.spec
1 Summary:        The core programs for the GNOME GUI desktop environment
2 Summary(pl):    Podstawowe programy ¶rodowiska graficznego GNOME
3 Name:           gnome-panel
4 Version:        2.6.2
5 Release:        5
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
9 # Source0-md5:  41318b24e18f497b4418c7d60aaf33f6
10 Source1:        pld-desktop-stripe.png
11 # Source1-md5:  4b8b299a8aa7b95a606e7c4d8debd60c
12 Patch0:         %{name}-no_launchers_on_panel.patch
13 Patch1:         %{name}-finalize-memleak.patch
14 Patch2:         %{name}-locale-names.patch
15 #Patch3:                %{name}-menu-stripe.patch
16 Patch4:         %{name}-notification_area_applet.patch
17 Patch5:         %{name}-applet-categories.patch
18 Patch6:         %{name}-schemas.patch
19 Patch7:         %{name}-desktop.patch
20 URL:            http://www.gnome.org/
21 BuildRequires:  GConf2-devel >= 2.6.2
22 BuildRequires:  ORBit2-devel >= 1:2.10.2
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  evolution-data-server-devel >= 0.0.94
26 BuildRequires:  gnome-common >= 2.4.0
27 BuildRequires:  gnome-desktop-devel >= 2.6.2
28 BuildRequires:  gnome-vfs2-devel >= 2.6.1.1
29 BuildRequires:  gtk+2-devel >= 2:2.4.3
30 BuildRequires:  gtk-doc >= 1.1
31 BuildRequires:  intltool >= 0.29
32 BuildRequires:  libart_lgpl-devel >= 2.3.15
33 BuildRequires:  libglade2-devel >= 1:2.4.0
34 BuildRequires:  libgnomeui-devel >= 2.6.1.1
35 BuildRequires:  libpng-devel >= 1.2.0
36 BuildRequires:  libtool
37 BuildRequires:  libwnck-devel >= 2.6.2
38 BuildRequires:  pango-devel >= 1.4.0
39 BuildRequires:  perl-base
40 BuildRequires:  pkgconfig >= 0.15.0
41 BuildRequires:  rpm-build >= 4.1-10
42 BuildRequires:  scrollkeeper >= 0.3.11
43 BuildRequires:  zlib-devel
44 BuildConflicts: GConf-devel < 1.0.9-7
45 Requires(post,postun):  /sbin/ldconfig
46 Requires(post,postun):  scrollkeeper
47 Requires(post): GConf2 >= 2.6.2
48 Requires:       gnome-desktop >= 2.6.2
49 Requires:       gnome-icon-theme >= 1.2.3
50 Requires:       gnome-vfs-menu-module
51 Requires:       libgnomeui >= 2.6.1.1
52 Requires:       librsvg >= 1:2.6.5
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55 %description
56 GNOME (GNU Network Object Model Environment) is a user-friendly set of
57 applications and desktop tools to be used in conjunction with a window
58 manager for the X Window System. GNOME is similar in purpose and scope
59 to CDE and KDE, but GNOME is based completely on free software.
60
61 The gnome-panel packages provides the GNOME panel, menus and some
62 basic applets for the panel.
63
64 %description -l pl
65 GNOME (GNU Network Object Model Environment) to zestaw przyjaznych
66 dla u¿ytkownika aplikacji i narzêdzi do u¿ywania w po³±czeniu z
67 zarz±dc± okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje
68 ca³kowicie na wolnym oprogramowaniu.
69
70 Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
71 panelu GNOME2.
72
73 %package devel
74 Summary:        GNOME panel includes, and more
75 Summary(pl):    Pliki nag³ówkowe biblioteki panelu GNOME
76 Group:          X11/Development/Libraries
77 Requires:       %{name} = %{version}-%{release}
78 Requires:       gtk-doc-common
79 Requires:       libgnomeui-devel >= 2.6.1.1
80
81 %description devel
82 Panel header files for creating GNOME panels.
83
84 %description devel -l pl
85 Pliki nag³ówkowe bibliotek panelu GNOME.
86
87 %package static
88 Summary:        GNOME panel static libraries
89 Summary(pl):    Statyczne biblioteki panelu GNOME
90 Group:          X11/Development/Libraries
91 Requires:       %{name}-devel = %{version}-%{release}
92
93 %description static
94 Panel static libraries.
95
96 %description static -l pl
97 Statyczne biblioteki panelu GNOME.
98
99 %prep
100 %setup -q
101 %patch0 -p1
102 %patch1 -p1
103 %patch2 -p1
104 #%patch3 -p1
105 %patch4 -p1
106 %patch5 -p1
107 %patch6 -p1
108 %patch7 -p1
109
110 mv po/{no,nb}.po
111
112 %build
113 intltoolize --copy --force
114 %{__libtoolize}
115 glib-gettextize --copy --force
116 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
117 %{__autoheader}
118 %{__autoconf}
119 %{__automake}
120 %configure \
121         --enable-gtk-doc \
122         --with-html-dir=%{_gtkdocdir} \
123         --enable-eds \
124         --disable-schemas-install
125
126 %{__make}
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130
131 %{__make} install \
132         DESTDIR=$RPM_BUILD_ROOT \
133         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
134
135 install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
136
137 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
138
139 install -d $RPM_BUILD_ROOT%{_datadir}/gnome/capplets
140 mv $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets/*.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/capplets
141
142 mv ChangeLog main-ChangeLog
143 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
144
145 %find_lang %{name} --with-gnome --all-name
146
147 %clean
148 rm -rf $RPM_BUILD_ROOT
149
150 %post
151 /sbin/ldconfig
152 scrollkeeper-update
153 %gconf_schema_install
154 %{_bindir}/gconftool-2 --direct \
155         --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
156         --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
157 %{_bindir}/gconftool-2 --direct \
158         --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
159         --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null
160
161 %postun
162 /sbin/ldconfig
163 scrollkeeper-update
164
165 %files -f %{name}.lang
166 %defattr(644,root,root,755)
167 %doc AUTHORS NEWS README *ChangeLog
168 %config %{_sysconfdir}/gconf/schemas/*
169 %attr(755,root,root) %{_bindir}/*
170 %attr(755,root,root) %{_libdir}/fish-applet-2
171 %attr(755,root,root) %{_libdir}/libpanel-applet*.so.*.*
172 %attr(755,root,root) %{_libdir}/clock-applet
173 %attr(755,root,root) %{_libdir}/wnck-applet
174 %attr(755,root,root) %{_libdir}/notification-area-applet
175 %{_libdir}/bonobo/servers/*
176 %{_datadir}/gnome/capplets/*
177 %{_datadir}/gnome/panel
178 %{_datadir}/gnome-2.0/ui/*
179 %{_datadir}/gnome-panel
180 %{_datadir}/gnome-panelrc
181 %{_datadir}/idl/gnome-panel-2.0
182 %{_pixmapsdir}/*
183 %{_omf_dest_dir}/%{name}
184 %{_mandir}/man1/*
185
186 %files devel
187 %defattr(644,root,root,755)
188 %attr(755,root,root) %{_libdir}/libpanel-applet*.so
189 %{_libdir}/*.la
190 %{_gtkdocdir}/panel-applet
191 %{_includedir}/panel-2.0
192 %{_pkgconfigdir}/*.pc
193
194 %files static
195 %defattr(644,root,root,755)
196 %{_libdir}/lib*.a
This page took 0.033123 seconds and 3 git commands to generate.