]> git.pld-linux.org Git - packages/Xlt.git/blobdiff - Xlt.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/Xlt.git] / Xlt.spec
index 31d7ad93c85a90be9521b7e807a78ff9b934f200..65c7f3c7836932050736a5c57308722b1d3354ba 100644 (file)
--- a/Xlt.spec
+++ b/Xlt.spec
@@ -1,23 +1,18 @@
+
+%define srcname        LessTifExtensions
+
 Summary:       The LessTif extension library
 Summary(pl):   Biblioteka rozszerzeñ do LessTifa
 Name:          Xlt
 Version:       9.0.9
-Release:       1
-License:       LGPL
+Release:       2
+License:       GPL
 Group:         X11/Libraries
-Group(de):     X11/Libraries
-Group(es):     X11/Bibliotecas
-Group(fr):     X11/Librairies
-Group(pl):     X11/Biblioteki
-Group(pt_BR):  X11/Bibliotecas
-Group(ru):     X11/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/â¦Â̦ÏÔÅËÉ
 Source0:       ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
 BuildRequires: lesstif-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: lynx
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
@@ -35,15 +30,7 @@ Biblioteka rozszerze
 %package devel
 Summary:       Xlt header files and development documentation
 Summary(pl):   Pliki nag³ówkowe i dokumentacja Xlt
-License:       LGPL
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Libraries
-Group(es):     X11/Desarrollo/Bibliotecas
-Group(fr):     X11/Development/Librairies
-Group(pl):     X11/Programowanie/Biblioteki
-Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
-Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 Requires:      %{name} = %{version}
 
 %description devel
@@ -55,16 +42,8 @@ Pliki nag
 %package static
 Summary:       Xlt static library
 Summary(pl):   Biblioteka statyczna Xlt
-License:       LGPL
 Group:         X11/Development/Libraries
-Group(de):     X11/Entwicklung/Libraries
-Group(es):     X11/Desarrollo/Bibliotecas
-Group(fr):     X11/Development/Librairies
-Group(pl):     X11/Programowanie/Biblioteki
-Group(pt_BR):  X11/Desenvolvimento/Bibliotecas
-Group(ru):     X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
-Requires:      %{name} = %{version}
+Requires:      %{name}-devel = %{version}
 
 %description static
 Xlt static library.
@@ -73,7 +52,7 @@ Xlt static library.
 Biblioteka statyczna Xlt.
 
 %prep
-%setup -q -n LessTifExtensions-%{version}
+%setup -q -n %{srcname}-%{version}
 
 %build
 libtoolize -c -f
@@ -83,28 +62,31 @@ automake -a -c
 %configure \
        --enable-static \
        --enable-shared \
-       --disable-build-12 \
+       --enable-build-12 \
+       --enable-default-12 \
        --disable-build-20 \
-       --disable-build-21 \
-       --enable-build-12
+       --disable-default-20
+
+%{__make} X_EXTRA_LIBS="-lXm"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_aclocaldir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_aclocaldir}
+# workaround - configure decides not to install *.m4 if aclocaldir is not writable
 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
 
 gzip -9nf AUTHORS ChangeLog README
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
This page took 0.33487 seconds and 4 git commands to generate.