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