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