--- /dev/null
+--- Xlt-13.0.13/lib/EntrySB.c.orig 2001-08-16 11:18:04.000000000 +0200
++++ Xlt-13.0.13/lib/EntrySB.c 2018-05-12 23:04:01.881363705 +0200
+@@ -303,7 +303,7 @@
+ if (!sscanf(((XltEntrySBWidget)self)->xltEntrySB.maxval,"%f",&((XltEntrySBWidget)self)->xltEntrySB.internal_max))
+ return;
+
+- sprintf(((XltEntrySBWidget)self)->xltEntrySB.value_buf,((XltEntrySBWidget)self)->xltEntrySB.value);
++ strcpy(((XltEntrySBWidget)self)->xltEntrySB.value_buf,((XltEntrySBWidget)self)->xltEntrySB.value);
+ rowcol = XtVaCreateManagedWidget
+ ("box", xmRowColumnWidgetClass, self,
+ XmNorientation, XmHORIZONTAL,
Summary(pl.UTF-8): Biblioteka rozszerzeń do LessTifa/Motifa
Name: Xlt
Version: 13.0.13
-Release: 1
-License: GPL
+Release: 2
+License: LGPL v2+
Group: X11/Libraries
Source0: http://dl.sourceforge.net/xlt/%{name}-%{version}.tar.gz
# Source0-md5: 46b6259c7637d6e9b87520eb91b6ea51
+Patch0: %{name}-format.patch
URL: http://xlt.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
+%patch0 -p1
touch MaintainerMode.am
DESTDIR=$RPM_BUILD_ROOT \
mandir=%{_mandir}
+# 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
%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)
%{_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)