]> git.pld-linux.org Git - packages/Xlt.git/blobdiff - Xlt.spec
- rebuild without libjpeg.la
[packages/Xlt.git] / Xlt.spec
index 8bd3691c9f254c4b13dfd7ebbd4115b34a8d5c22..03689e893fea033f2aa77582f39208c3b0fa5da4 100644 (file)
--- a/Xlt.spec
+++ b/Xlt.spec
@@ -1,18 +1,18 @@
 Summary:       The LessTif/Motif extension library
-Summary(pl):   Biblioteka rozszerzeñ do LessTifa/Motifa
+Summary(pl.UTF-8):     Biblioteka rozszerzeń do LessTifa/Motifa
 Name:          Xlt
-Version:       9.2.9
-Release:       1
-License:       GPL
+Version:       13.0.13
+Release:       3
+License:       LGPL v2+
 Group:         X11/Libraries
 Source0:       http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
-# Source0-md5: 5159ced8318597b9a303c3453bbe1658
-Patch0:                %{name}-am18.patch
-URL:           http://xlt.sf.net/
+# Source0-md5: 46b6259c7637d6e9b87520eb91b6ea51
+Patch0:                %{name}-format.patch
+URL:           http://xlt.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: motif-devel >= 1.2
 BuildRequires: libtool
+BuildRequires: motif-devel >= 1.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,50 +20,52 @@ 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/Motifa. Zawiera trochê widgetów i
-funkcji ¿eby nieco uprzyjemniæ programowanie z u¿yciem LessTifa czy
+%description -l pl.UTF-8
+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
+Summary(pl.UTF-8):     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.
 
-%description devel -l pl
-Pliki nag³ówkowe i dokumentacja programisty do Xlt.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumentacja programisty do Xlt.
 
 %package static
 Summary:       Xlt static library
-Summary(pl):   Biblioteka statyczna Xlt
+Summary(pl.UTF-8):     Biblioteka statyczna Xlt
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Xlt static library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Biblioteka statyczna Xlt.
 
 %prep
 %setup -q
 %patch0 -p1
 
+touch MaintainerMode.am
+
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I .
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
-       --enable-shared \
        --enable-static
 
-%{__make} \
-       X_EXTRA_LIBS="-lXm"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -73,19 +75,22 @@ install -d $RPM_BUILD_ROOT%{_aclocaldir}
        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}
+# packaged as %doc in -devel
+%{__rm} -r $RPM_BUILD_ROOT%{_prefix}/Xlt
+# packaged in motif
+%{__rm} $RPM_BUILD_ROOT%{_aclocaldir}/ac_find_motif.m4
 
 %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.*.*
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libXlt.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libXlt.so.0
 
 %files devel
 %defattr(644,root,root,755)
@@ -95,8 +100,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/Xlt
 %{_aclocaldir}/ac_find_xlt.m4
 %{_aclocaldir}/ac_find_xpm.m4
-%{_mandir}/man3/*
+%{_mandir}/man3/StrokeInstall.3*
+%{_mandir}/man3/Strokes.3*
+%{_mandir}/man3/Xlt*.3*
 
 %files static
 %defattr(644,root,root,755)
-%attr(644,root,root) %{_libdir}/libXlt.a
+%{_libdir}/libXlt.a
This page took 0.102499 seconds and 4 git commands to generate.