1 Summary: KXL - a visual & sound library
2 Summary(pl.UTF-8): KXL - biblioteka X11 - dźwięk i grafika
8 Source0: http://kxl.hn.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: 321bfad9dee29840656225b54bb6feb0
10 Patch0: %{name}-am18.patch
11 URL: http://kxl.hn.org/
12 BuildRequires: XFree86-devel
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Kacchan X Window System Library (KXL) is a visual & sound library.
21 %description -l pl.UTF-8
22 Kacchan X Window System Library (KXL) to biblioteka dźwięku i
26 Summary: Development resources for KXL
27 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do KXL
28 Group: X11/Development/Libraries
29 Requires: %{name} = %{version}-%{release}
30 Requires: XFree86-devel
33 Development resources for KXL.
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe i dokumentacja do KXL.
39 Summary: Static KXL library
40 Summary(pl.UTF-8): Statyczna biblioteka KXL
41 Group: X11/Development/Libraries
42 Requires: %{name}-devel = %{version}-%{release}
47 %description static -l pl.UTF-8
48 Statyczna biblioteka KXL.
55 # libKXL uses libX11, so should be linked with it:
56 echo 'libKXL_la_LIBADD = -L/usr/X11R6/%{_lib} -lX11' >> src/Makefile.am
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT \
69 aclocaldir=%{_aclocaldir}
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
78 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_libdir}/lib%{name}-%{version}.so
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/lib%{name}.so
85 %{_libdir}/lib%{name}.la
90 %defattr(644,root,root,755)
91 %{_libdir}/lib%{name}.a