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