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