]> git.pld-linux.org Git - packages/imlib.git/commitdiff
- release 4, imlib-1_9_8_1-4
authorkloczek <kloczek@pld-linux.org>
Sun, 20 Aug 2000 20:26:49 +0000 (20:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added full i18n support for imlib cfg editor basing on .po files from MDK
  package (MDK has completly f^Hbrouken i18n in imlib),
- merged palfallback patch from redhat,
- added m4_fix patch with fix aclocal macros for imlib (bump minimal version
  imlib to 1.9.5).

Changed files:
    imlib.spec -> 1.49

imlib.spec

index 935b27d90a61f902095b8e52e526ea2a270a8f76..2a057d62de7e57cd54cb2372e61d0ba7eb96edb8 100644 (file)
@@ -3,14 +3,20 @@ Summary(fr):  Librairie de chargement et interpr
 Summary(pl):   Biblioteki do renderowania i ³adowania grafiki pod X11R6
 Name:          imlib
 Version:       1.9.8.1
-Release:       3
+Release:       4
 License:       LGPL
 Group:         X11/Libraries
 Group(pl):     X11/Biblioteki
 Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/imlib/%{name}-%{version}.tar.gz
 Source1:       %{name}-config.desktop
 Patch0:                %{name}-gdk.patch
+Patch1:                %{name}-palfallback.patch
+Patch2:                %{name}-m4_fix.patch
+Patch3:                %{name}-full_i18n.patch
 URL:           http://www.labs.redhat.com/imlib/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: gtk+-devel 
 BuildRequires: libjpeg-devel
 BuildRequires: libtiff-devel
@@ -20,7 +26,6 @@ BuildRequires:        zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
-%define                _datadir        /usr/share
 %define                _sysconfdir     /etc/X11
 
 %description
@@ -95,12 +100,17 @@ Biblioteki statyczne imlib.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
+gettextize --copy --force
+aclocal
+autoconf
 automake
 LDFLAGS="-s"; export LDFLAGS
 %configure
-
 %{__make}
                            
 %install
@@ -115,6 +125,8 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
 
 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so{,.*.*}
 
+%find_lang %{name}
+
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -129,7 +141,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libimlib-*.la
 %config %{_sysconfdir}/*
 
-%files cfgeditor
+%files cfgeditor -f %{name}.lang
 %defattr(644,root,root,755)
 %{_applnkdir}/Settings/imlib-config.desktop
 %attr(755,root,root) %{_bindir}/imlib_config
This page took 0.052987 seconds and 4 git commands to generate.