]> git.pld-linux.org Git - packages/gnome-panel.git/blobdiff - gnome-panel.spec
- fixed description, added pl ones
[packages/gnome-panel.git] / gnome-panel.spec
index 7393df85058f035978442927a853684b8e205895..07c47c81b3885f0919432e7e1dfb5ad3e0cd18bb 100644 (file)
@@ -1,20 +1,22 @@
-Summary:       The core programs for the GNOME GUI desktop environment.
+Summary:       The core programs for the GNOME GUI desktop environment
+Summary(pl):   Podstawowe programy ¶rodowiska graficznego GNOME
 Name:          gnome-panel
-Version:       1.5.18
+Version:       1.5.19
 Release:       0.1
 License:       LGPL
 Group:         X11/Applications
 Source0:       ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Patch0:                %{name}-am.patch
 URL:           http://www.gnome.org/
-BuildRequires: pkgconfig
 BuildRequires: ORBit2-devel
+BuildRequires: gnome-desktop-devel >= 1.5.18
+BuildRequires: gnome-vfs2-devel
 BuildRequires: gtk+2-devel
+BuildRequires: libglade2-devel
 BuildRequires: libgnomeui-devel
 BuildRequires: libwnck-devel
-BuildRequires: gnome-desktop-devel
-BuildRequires: libglade2-devel
-BuildRequires: gnome-vfs2-devel
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define         _prefix         /usr/X11R6
 %define         _mandir         %{_prefix}/man
@@ -25,42 +27,62 @@ BuildRequires:      gnome-vfs2-devel
 GNOME (GNU Network Object Model Environment) is a user-friendly set of
 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-core package includes the basic programs and libraries that are
-needed to install GNOME.
+to CDE and KDE, but GNOME is based completely on free software.
 
-The GNOME panel packages provides the gnome panel, menu's and some
+The GNOME panel packages provides the gnome panel, menus and some
 basic applets for the panel.
 
+%description -l pl
+GNOME (GNU Network Object Model Environment) to zestaw przyjaznych
+dla u¿ytkownika aplikacji i narzêdzi do u¿ywania w po³±czeniu z
+zarz±dc± okien pod X. GNOME ma podobny cel jak CDE i KDE, ale bazuje
+ca³kowicie na wolnym oprogramowaniu.
+
+Ten pakiet dostarcza panel GNOME2, menu oraz podstawowe aplety dla
+panelu GNOME2.
+
 %package devel
-Summary:       GNOME panel libraries, includes, and more.
-Group:         Development/Libraries
+Summary:       GNOME panel includes, and more
+Summary(pl):   Pliki nag³ówkowe biblioteki panelu GNOME
+Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}
 
 %description devel
-Panel libraries and header files for creating GNOME panels.
+Panel header files for creating GNOME panels.
+
+%description devel -l pl
+Pliki nag³ówkowe bibliotek panelu GNOME.
 
 %package static
-Summary:       GNOME panel libraries, includes, and more.
-Group:         Development/Libraries
+Summary:       GNOME panel static libraries
+Summary(pl):   Statyczne biblioteki panelu GNOME
+Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-devel
 
 %description static
-Panel libraries and header files for creating GNOME panels.
+Panel static libraries.
+
+%description static -l pl
+Statyczne biblioteki panelu GNOME.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+intltoolize --copy --force
+libtoolize --copy --force
+gettextize --copy --force
+aclocal
+autoconf
+automake -a -c -f
 if [ -f %{_pkgconfigdir}/libpng12.pc ] ; then
         CPPFLAGS="`pkg-config libpng12 --cflags`"
 fi
-
-%configure \
+%configure  CPPFLAGS="$CPPFLAGS" \
        --enable-gtk-doc=no
 %{__make}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -78,14 +100,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-for SCHEMAS in clock.schemas fish.schemas mailcheck.schemas pager.schemas panel-global-config.schemas panel-per-panel-config.schemas tasklist.schemas; do
-       /usr/X11R6/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$SCHEMAS > /dev/null 2>&1
-done
+GCONF_CONFIG_SOURCE=`%{_bindir}/gconftool-2 --get-default-source`; export GCONF_CONFIG_SOURCE
+%{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null 2>&1
 
-%postun
-/sbin/ldconfig
-/usr/bin/scrollkeeper-update
+%postun        -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.064423 seconds and 4 git commands to generate.