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