]> git.pld-linux.org Git - packages/Xlt.git/blobdiff - Xlt.spec
- updated to 11.1.11, removed obsolete am18 patch
[packages/Xlt.git] / Xlt.spec
index 27ee1711ba5f552d3daef5e912468224fd1687e8..317fb5b0691afeac7af47e10d234b4666ea43ef0 100644 (file)
--- a/Xlt.spec
+++ b/Xlt.spec
@@ -1,38 +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
-Release:       2
+Version:       11.1.11
+Release:       1
 License:       GPL
 Group:         X11/Libraries
-Source0:       ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
-# Source0-md5: 4cc27c1137cf2539c97a071ec72cb16d
+Source0:       http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
+# Source0-md5: 37a109c0bf2e0780bf79184be8273c92
+URL:           http://xlt.sf.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: lesstif-devel
+BuildRequires: motif-devel >= 1.2
 BuildRequires: libtool
 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
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Requires:      motif-devel >= 1.2
 
 %description devel
 Xlt header files and development documentation.
@@ -44,7 +41,7 @@ Pliki nag
 Summary:       Xlt static library
 Summary(pl):   Biblioteka statyczna Xlt
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Xlt static library.
@@ -53,38 +50,33 @@ Xlt static library.
 Biblioteka statyczna Xlt.
 
 %prep
-%setup -q -n %{srcname}-%{version}
+%setup -q
+
+touch MaintainerMode.am
 
 %build
-rm -f missing
 %{__libtoolize}
-%{__aclocal}
+%{__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}
+       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
@@ -94,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
+%doc doc/*.{html,gif}
 %attr(755,root,root) %{_libdir}/libXlt.so
 %{_libdir}/libXlt.la
 %{_includedir}/Xlt
This page took 0.055252 seconds and 4 git commands to generate.