]> git.pld-linux.org Git - packages/Xlt.git/blobdiff - Xlt.spec
- avoid defining default %attr
[packages/Xlt.git] / Xlt.spec
index de9e12935aa2b4ae0fffb5f5e0336464a213f3de..7973001636b31c043e7cd5103c1d650dc813eea2 100644 (file)
--- a/Xlt.spec
+++ b/Xlt.spec
@@ -1,51 +1,35 @@
-
-%define srcname        LessTifExtensions
-
-Summary:       The LessTif extension library
-Summary(pl):   Biblioteka rozszerzeñ do LessTifa
+Summary:       The LessTif/Motif extension library
+Summary(pl):   Biblioteka rozszerzeñ do LessTifa/Motifa
 Name:          Xlt
-Version:       9.0.9
+Version:       13.0.13
 Release:       1
 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
+Source0:       http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
+# Source0-md5: 46b6259c7637d6e9b87520eb91b6ea51
+URL:           http://xlt.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
+BuildRequires: motif-devel >= 1.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
-The LessTif extension library. This consists of several widgets and
-convience functions to make LessTif, or if you must Motif, programming
-more enjoyable.
+The LessTif/Motif extension library. This consists of several widgets
+and convience functions to make LessTif, or if you must Motif,
+programming more enjoyable.
 
 %description -l pl
-Biblioteka rozszerzeñ do LessTifa. Zawiera trochê widgetów i funkcji
-¿eby nieco uprzyjemniæ programowanie z u¿yciem LessTifa czy Motifa.
+Biblioteka rozszerzeñ do LessTifa/Motifa. Zawiera trochê widgetów i
+funkcji ¿eby nieco uprzyjemniæ programowanie z u¿yciem LessTifa czy
+Motifa.
 
 %package devel
 Summary:       Xlt header files and development documentation
 Summary(pl):   Pliki nag³ówkowe i dokumentacja Xlt
 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} = %{version}-%{release}
+Requires:      motif-devel >= 1.2
 
 %description devel
 Xlt header files and development documentation.
@@ -57,14 +41,7 @@ Pliki nag
 Summary:       Xlt static library
 Summary(pl):   Biblioteka statyczna Xlt
 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}-%{release}
 
 %description static
 Xlt static library.
@@ -73,50 +50,45 @@ Xlt static library.
 Biblioteka statyczna Xlt.
 
 %prep
-%setup -q -n %{srcname}-%{version}
+%setup -q
+
+touch MaintainerMode.am
 
 %build
-libtoolize -c -f
-aclocal
-autoconf
-automake -a -c
+%{__libtoolize}
+%{__aclocal} -I .
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-       --enable-static \
-       --enable-shared \
-       --enable-build-12 \
-       --enable-default-12 \
-       --disable-build-20 \
-       --disable-default-20
+       --enable-static
 
-%{__make} X_EXTRA_LIBS="-lXm"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_aclocaldir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
-
-# 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
+       DESTDIR=$RPM_BUILD_ROOT \
+       mandir=%{_mandir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,README}.gz
+%doc doc/*.{html,gif}
 %attr(755,root,root) %{_libdir}/libXlt.so
-%attr(755,root,root) %{_libdir}/libXlt.la
+%{_libdir}/libXlt.la
 %{_includedir}/Xlt
 %{_aclocaldir}/ac_find_xlt.m4
 %{_aclocaldir}/ac_find_xpm.m4
@@ -124,4 +96,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files static
 %defattr(644,root,root,755)
-%attr(644,root,root) %{_libdir}/libXlt.a
+%{_libdir}/libXlt.a
This page took 0.055378 seconds and 4 git commands to generate.