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