X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=eel.spec;h=92815358e150a75f8fc475bf38e967b985b75d37;hb=cfa44ade64497940e3f42eb4b58831e76d092991;hp=90aedb35ebab5d9f427e7512db61026c2874502c;hpb=e41b20019b555ad0da28a9349bf81362f5b921ac;p=packages%2Feel.git diff --git a/eel.spec b/eel.spec index 90aedb3..9281535 100644 --- a/eel.spec +++ b/eel.spec @@ -1,106 +1,116 @@ -# Note that this is NOT a relocatable package - Summary: Eazel Extensions Library Summary(pl): Biblioteka rozszerzeñ Eazel +Summary(ko): Eazel È®Àå ¶óÀ̺귯¸® Name: eel -Version: 1.0.1 +Version: 2.6.0 Release: 1 -Vendor: GNOME 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.6/%{name}-%{version}.tar.bz2 +# Source0-md5: a5e51e028011a7b92ccc30d0a86aa6bb +Patch0: %{name}-locale-names.patch 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: autoconf +BuildRequires: automake +BuildRequires: GConf2-devel >= 2.5.90 +BuildRequires: freetype-devel >= 2.1.4 +BuildRequires: gail-devel >= 1.6.0 +BuildRequires: gettext-devel +BuildRequires: gnome-vfs2-devel >= 2.6.0 +BuildRequires: gtk+2-devel >= 2:2.4.0 +BuildRequires: intltool >= 0.29 +BuildRequires: libart_lgpl-devel >= 2.3.16 +BuildRequires: libglade2-devel >= 2.3.6 +BuildRequires: libgnomeui-devel >= 2.6.0 BuildRequires: libpng-devel -BuildRequires: librsvg-devel >= 1.0.0 -BuildRequires: xml-i18n-tools -BuildRequires: freetype-devel >= 2.0.1 +BuildRequires: librsvg-devel >= 1:2.6.2 +BuildRequires: libtool +BuildRequires: libxml2-devel >= 2.6.6 +BuildRequires: perl-base +BuildRequires: pkgconfig +BuildRequires: popt-devel >= 1.5 +Requires: libgnomeui >= 2.6.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 -%define _sysconfdir /etc - %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}-%{release} +Requires: gail-devel >= 1.6.0 +Requires: libgnomeui-devel >= 2.6.0 %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}-%{release} + +%description static +Static eel libraries. + +%description static -l pl +Biblioteki statyczne eel. %prep %setup -q +%patch0 -p1 -%build -CFLAGS="$RPM_OPT_FLAGS" +mv po/{no,nb}.po -%configure2_13 \ +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} +%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 - -for FILE in "$RPM_BUILD_ROOT/bin/*"; do - file "$FILE" | grep -q not\ stripped && strip $FILE -done +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + pkgconfigdir=%{_pkgconfigdir} -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}/lib*.so.*.* %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/eel-config -%{_includedir}/eel/*.h -%{_libdir}/*.la -%{_libdir}/*.sh +%doc AUTHORS ChangeLog NEWS +%attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_includedir}/eel-2 +%{_pkgconfigdir}/*.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a