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