]> git.pld-linux.org Git - packages/eel.git/blobdiff - eel.spec
- marged DEVEL branch
[packages/eel.git] / eel.spec
index 19b7e238e1a7b5e3afad8d3935dd924de0003c34..2cb5438e73965114d637c4513c1f502a22734ef4 100644 (file)
--- a/eel.spec
+++ b/eel.spec
-# Note that this is NOT a relocatable package
-
 Summary:       Eazel Extensions Library
 Summary(pl):   Biblioteka rozszerzeñ Eazel
 Name:          eel
-Version:       1.0.1
-Release:       1
-Vendor:                GNOME
+Version:       2.1.1
+Release:       2
 License:       GPL
-Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/eel/%{name}-%{version}.tar.bz2
+Group:         X11/Libraries
+Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
 URL:           http://nautilus.eazel.com/
-BuildRequires: glib-devel >= 1.2.9
-BuildRequires: gtk+-devel >= 1.2.9
-BuildRequires: libxml-devel >= 1.8.10
-BuildRequires: gnome-libs-devel >= 1.2.11
-BuildRequires: GConf-devel >= 0.12
-BuildRequires: oaf-devel >= 0.6.5
-BuildRequires: gnome-vfs-devel >= 1.0
-BuildRequires: gdk-pixbuf-devel >= 0.10.0
+BuildRequires: GConf2-devel >= 1.2.1
+BuildRequires: freetype-devel >= 2.0.9
+BuildRequires: gail-devel >= 0.17
+BuildRequires: gnome-vfs2-devel >= 2.0.4
+BuildRequires: gtk+2-devel >= 2.0.6
+BuildRequires: intltool >= 0.22
+BuildRequires: libgnome-devel >= 2.0.5
+BuildRequires: libgnomeui-devel >= 2.0.5
+BuildRequires: libgnomecanvas-devel >= 2.0.4
 BuildRequires: libpng-devel
-BuildRequires: librsvg-devel >= 1.0.0
-BuildRequires: xml-i18n-tools
-BuildRequires: freetype-devel >= 2.0.1
+BuildRequires: librsvg-devel >= 2.1.0
+BuildRequires: libxml2-devel >= 2.4.24
+BuildRequires: gettext-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define _prefix                /usr/X11R6
-%define _sysconfdir    /etc
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
-Eazel Extensions Library
+Eazel Extensions Library is a collection of widgets and extensions to
+many modules of the GNOME platform.
 
 %description -l pl
-Biblioteka rozszerzeñ Eazel
+Biblioteka rozszerzeñ Eazel.
 
 %package devel
-Summary:       Libraries and include files for developing with Eel.
-Summary(pl):   Biblioteki i nag³ówki potrzebne do developing'u z u¿yciem Eel.
-Group:         Development/Libraries
-Group(de):     Entwicklung/Libraries
-Group(fr):     Development/Librairies
-Group(pl):     Programowanie/Biblioteki
-Requires:      %name = %{version}
+Summary:       Libraries and include files for developing with Eel
+Summary(pl):   Biblioteki i nag³ówki potrzebne do programowania z u¿yciem Eel
+Group:         X11/Development/Libraries
+Requires:      %{name} = %{version}
+Requires:      gail-devel >= 0.17
 
 %description devel
 This package provides the necessary development libraries and include
 files to allow you to develop with Eel.
 
-%description -l pl devel
-Ten pakiet zawiera biblioteki oraz pliki nag³ówkowe niezbêdne do tworzenia 
-oprogramowania z wykorzystaniem Eel.
+%description devel -l pl
+Ten pakiet zawiera biblioteki oraz pliki nag³ówkowe niezbêdne do
+tworzenia oprogramowania z wykorzystaniem Eel.
+
+%package static
+Summary:       Static eel libraries
+Summary(pl):   Biblioteki statyczne eel
+Group:         X11/Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static eel libraries.
+
+%description static -l pl
+Biblioteki statyczne eel.
 
 %prep
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS"
-
-%configure2_13 \
+%configure \
        --disable-gtktest \
-       --prefix=%{_prefix} \
-       --sysconfdir=%{_sysconfdir} \
-%ifarch alpha
-       --host=alpha-pld-linux
-%endif
-
+       --enable-static
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT \
+        pkgconfigdir=%{_pkgconfigdir}
 
-for FILE in "$RPM_BUILD_ROOT/bin/*"; do
-       file "$FILE" | grep -q not\ stripped && strip $FILE
-done
 
-gzip -9nf AUTHORS ChangeLog NEWS
+%find_lang %{name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-
+%post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/*.so*
-%{_datadir}/eel/fonts/urw/*.dir
-%{_datadir}/eel/fonts/urw/*.pfb
-%{_datadir}/eel/fonts/urw/*.afm
-%{_datadir}/eel/fonts/urw/*.pfm
-%doc *.gz
-
+%attr(755,root,root) %{_libdir}/*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/eel-config
-%dir %{_includedir}/eel/*.h
-%{_libdir}/*.la
-%{_libdir}/*.sh
+%doc AUTHORS ChangeLog NEWS
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%{_includedir}/eel-2
+%{_pkgconfigdir}/*.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.109971 seconds and 4 git commands to generate.