]> git.pld-linux.org Git - packages/KXL.git/blobdiff - KXL.spec
- use /usr/X11R6/%{_lib} to allow build on amd64
[packages/KXL.git] / KXL.spec
index 3377c889ed4b77f177987186fc76467a9752771b..5141864983f8618c6bd2b16c2aeb055294b65707 100644 (file)
--- a/KXL.spec
+++ b/KXL.spec
@@ -1,26 +1,24 @@
 Summary:       KXL - a visual & sound library
 Summary(pl):   KXL - biblioteka X11 - d¼wiêk i grafika
 Name:          KXL
-Version:       1.1.5
-Release:       3
+Version:       1.1.7
+Release:       1
 License:       GPL
 Group:         X11/Libraries
 Source0:       http://kxl.hn.org/download/%{name}-%{version}.tar.gz
+# Source0-md5: 321bfad9dee29840656225b54bb6feb0
 URL:           http://kxl.hn.org/
+BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: XFree86-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
-Kacchan X Windows System Library (KXL) is a visual & sound library.
+Kacchan X Window System Library (KXL) is a visual & sound library.
 
 %description -l pl
-Kacchan X Windows System Library (KXL) to biblioteka d¼wiêku i
+Kacchan X Window System Library (KXL) to biblioteka d¼wiêku i
 grafiki.
 
 %package devel
@@ -52,7 +50,7 @@ Statyczna biblioteka KXL.
 
 %build
 # libKXL uses libX11, so should be linked with it:
-echo 'libKXL_la_LIBADD = -L/usr/X11R6/lib -lX11' >> src/Makefile.am
+echo 'libKXL_la_LIBADD = -L/usr/X11R6/%{_lib} -lX11' >> src/Makefile.am
 rm -f missing
 %{__libtoolize}
 %{__aclocal}
@@ -78,11 +76,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog
 %attr(755,root,root) %{_libdir}/lib%{name}-%{version}.so
-%{_libdir}/lib%{name}.la
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib%{name}.so
+%{_libdir}/lib%{name}.la
 %{_includedir}/*
 %{_aclocaldir}/KXL.m4
 
This page took 0.033151 seconds and 4 git commands to generate.