]> git.pld-linux.org Git - packages/Xlt.git/commitdiff
- updated URLs, updated package to 9.2.9, added am18 patch
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 Dec 2003 19:05:02 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- moved to /usr (where lesstif lives now)

Changed files:
    Xlt.spec -> 1.15

Xlt.spec

index 27ee1711ba5f552d3daef5e912468224fd1687e8..834f94947ffcdb85480b0a1eefc4e3aa90e221c4 100644 (file)
--- a/Xlt.spec
+++ b/Xlt.spec
@@ -1,24 +1,20 @@
-
-%define srcname        LessTifExtensions
-
 Summary:       The LessTif extension library
 Summary(pl):   Biblioteka rozszerzeñ do LessTifa
 Name:          Xlt
-Version:       9.0.9
-Release:       2
+Version:       9.2.9
+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: 5159ced8318597b9a303c3453bbe1658
+Patch0:                %{name}-am18.patch
+URL:           http://xlt.sf.net/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: lesstif-devel
 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
@@ -53,30 +49,28 @@ Xlt static library.
 Biblioteka statyczna Xlt.
 
 %prep
-%setup -q -n %{srcname}-%{version}
+%setup -q
+%patch0 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__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} \
+       X_EXTRA_LIBS="-lXm"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_aclocaldir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       mandir=%{_mandir}
 
 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
@@ -94,6 +88,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.064793 seconds and 4 git commands to generate.