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