]> git.pld-linux.org Git - packages/gnome-panel.git/blobdiff - gnome-panel.spec
- outdated
[packages/gnome-panel.git] / gnome-panel.spec
index 00866ef9b5be248797044dfbb3dcfe498502d98e..9b436a9fb9e9e89ee5e94ac13f67f56e7a798f4a 100644 (file)
@@ -1,34 +1,54 @@
 Summary:       The core programs for the GNOME GUI desktop environment
 Summary(pl):   Podstawowe programy ¶rodowiska graficznego GNOME
 Name:          gnome-panel
-Version:       2.1.90
-Release:       1
+Version:       2.6.2
+Release:       3
 License:       LGPL
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
+# Source0-md5: 41318b24e18f497b4418c7d60aaf33f6
+Source1:       pld-desktop-stripe.png
+# Source1-md5: 4b8b299a8aa7b95a606e7c4d8debd60c
+Patch0:                %{name}-no_launchers_on_panel.patch
+Patch1:                %{name}-finalize-memleak.patch
+Patch2:                %{name}-locale-names.patch
+#Patch3:               %{name}-menu-stripe.patch
+Patch4:                %{name}-notification_area_applet.patch
+Patch5:                %{name}-applet-categories.patch
+Patch6:                %{name}-schemas.patch
 URL:           http://www.gnome.org/
+BuildRequires: GConf2-devel >= 2.6.2
+BuildRequires: ORBit2-devel >= 1:2.10.2
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: glib2-devel >= 2.2.0
-BuildRequires: gnome-desktop-devel >= 2.1.90
-BuildRequires: gtk+2-devel >= 2.2.0
-BuildRequires:  gtk-doc >= 0.9-4
-BuildRequires: intltool >= 0.23
-BuildRequires: libart_lgpl-devel >= 2.3.11
-BuildRequires: libglade2-devel >= 2.0.1
-BuildRequires: libgnomeui-devel >= 2.1.5
+BuildRequires: evolution-data-server-devel >= 0.0.94
+BuildRequires: gnome-common >= 2.4.0
+BuildRequires: gnome-desktop-devel >= 2.6.2
+BuildRequires: gnome-vfs2-devel >= 2.6.1.1
+BuildRequires: gtk+2-devel >= 2:2.4.3
+BuildRequires: gtk-doc >= 1.1
+BuildRequires: intltool >= 0.29
+BuildRequires: libart_lgpl-devel >= 2.3.15
+BuildRequires: libglade2-devel >= 1:2.4.0
+BuildRequires: libgnomeui-devel >= 2.6.1.1
+BuildRequires: libpng-devel >= 1.2.0
 BuildRequires: libtool
-BuildRequires: libwnck-devel >= 2.1.3
-BuildRequires: ORBit2-devel >= 2.5.0
-BuildRequires: pkgconfig >= 0.12.0
-BuildRequires: rpm-build >= 4.1-8.2
+BuildRequires: libwnck-devel >= 2.6.2
+BuildRequires: pango-devel >= 1.4.0
+BuildRequires: perl-base
+BuildRequires: pkgconfig >= 0.15.0
+BuildRequires: rpm-build >= 4.1-10
 BuildRequires: scrollkeeper >= 0.3.11
+BuildRequires: zlib-devel
 BuildConflicts:        GConf-devel < 1.0.9-7
-Requires(post,postun): scrollkeeper
-Requires(post,postun): /sbin/ldconfig
-Requires(post):        GConf2
-Requires:      gnome-desktop >= 2.1.90
-Requires:      libgnomeui >= 2.1.5
+Requires(post,postun): /sbin/ldconfig
+Requires(post,postun): scrollkeeper
+Requires(post):        GConf2 >= 2.6.2
+Requires:      gnome-desktop >= 2.6.2
+Requires:      gnome-icon-theme >= 1.2.3
+Requires:      gnome-vfs2-module-menu >= 0.6-2.1
+Requires:      libgnomeui >= 2.6.1.1
+Requires:      librsvg >= 1:2.6.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,7 +57,7 @@ applications and desktop tools to be used in conjunction with a window
 manager for the X Window System. GNOME is similar in purpose and scope
 to CDE and KDE, but GNOME is based completely on free software.
 
-The GNOME panel packages provides the gnome panel, menus and some
+The gnome-panel packages provides the GNOME panel, menus and some
 basic applets for the panel.
 
 %description -l pl
@@ -53,8 +73,9 @@ panelu GNOME2.
 Summary:       GNOME panel includes, and more
 Summary(pl):   Pliki nag³ówkowe biblioteki panelu GNOME
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Requires:      gtk-doc-common
+Requires:      libgnomeui-devel >= 2.6.1.1
 
 %description devel
 Panel header files for creating GNOME panels.
@@ -66,7 +87,7 @@ Pliki nag
 Summary:       GNOME panel static libraries
 Summary(pl):   Statyczne biblioteki panelu GNOME
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Panel static libraries.
@@ -76,17 +97,29 @@ Statyczne biblioteki panelu GNOME.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+#%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+
+mv po/{no,nb}.po
 
 %build
 intltoolize --copy --force
 %{__libtoolize}
 glib-gettextize --copy --force
 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__autoheader}
 %{__autoconf}
 %{__automake}
 %configure \
        --enable-gtk-doc \
-       --with-html-path=%{_gtkdocdir}
+       --with-html-dir=%{_gtkdocdir} \
+       --enable-eds \
+       --disable-schemas-install
 
 %{__make}
 
@@ -95,9 +128,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       omf_dest_dir=%{_omf_dest_dir}/%{name} \
-       pkgconfigdir=%{_pkgconfigdir} \
-       HTML_DIR=%{_gtkdocdir}
+       GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+
+install %{name}/panel-default-setup.entries $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}
+
+install -d $RPM_BUILD_ROOT%{_datadir}/gnome/capplets
+mv $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets/*.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/capplets
 
 mv ChangeLog main-ChangeLog
 find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
@@ -111,39 +149,42 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/ldconfig
 scrollkeeper-update
 %gconf_schema_install
-
-%postun        
+%{_bindir}/gconftool-2 --direct \
+       --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
+       --load %{_datadir}/%{name}/panel-default-setup.entries > /dev/null
+%{_bindir}/gconftool-2 --direct \
+       --config-source="`%{_bindir}/gconftool-2 --get-default-source`" \
+       --load %{_datadir}/%{name}/panel-default-setup.entries /apps/panel/profiles/default > /dev/null
+
+%postun
 /sbin/ldconfig
 scrollkeeper-update
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS *ChangeLog NEWS README
+%doc AUTHORS NEWS README *ChangeLog
 %config %{_sysconfdir}/gconf/schemas/*
-%config %{_sysconfdir}/sound/events/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/fish-applet-2
 %attr(755,root,root) %{_libdir}/libpanel-applet*.so.*.*
-%attr(755,root,root) %{_libdir}/libgen_util_applet*.so
-%attr(755,root,root) %{_libdir}/%{name}/libnotification-area-applet.so
-%{_libdir}/libgen_util_applet*.la
-%{_libdir}/%{name}/libnotification-area-applet.la
+%attr(755,root,root) %{_libdir}/clock-applet
+%attr(755,root,root) %{_libdir}/wnck-applet
+%attr(755,root,root) %{_libdir}/notification-area-applet
 %{_libdir}/bonobo/servers/*
-%{_datadir}/control-center-2.0/capplets/*
-%{_datadir}/fish/*
-%{_datadir}/gen_util
+%{_datadir}/gnome/capplets/*
 %{_datadir}/gnome/panel
 %{_datadir}/gnome-2.0/ui/*
-%{_datadir}/gnome-panel*
+%{_datadir}/gnome-panel
+%{_datadir}/gnome-panelrc
 %{_datadir}/idl/gnome-panel-2.0
-%{_datadir}/pixmaps/*
+%{_pixmapsdir}/*
 %{_omf_dest_dir}/%{name}
 %{_mandir}/man1/*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpanel-applet*.so
-%{_libdir}/libpanel-applet*.la
+%{_libdir}/*.la
 %{_gtkdocdir}/panel-applet
 %{_includedir}/panel-2.0
 %{_pkgconfigdir}/*.pc
@@ -151,4 +192,3 @@ scrollkeeper-update
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
-%{_libdir}/%{name}/*.a
This page took 0.07794 seconds and 4 git commands to generate.