2007-01-15 23:23:18 +00:00
|
|
|
#
|
2011-11-23 18:36:14 +00:00
|
|
|
# spec file for package libstroke
|
2007-01-15 23:23:18 +00:00
|
|
|
#
|
2023-11-07 14:37:02 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-15 23:23:18 +00:00
|
|
|
#
|
2008-10-23 02:38:37 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2022-05-28 15:04:06 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:23:18 +00:00
|
|
|
#
|
|
|
|
|
|
2008-10-23 02:38:37 +00:00
|
|
|
|
|
|
|
|
Name: libstroke
|
|
|
|
|
Version: 0.5.1
|
2013-01-07 14:15:17 +00:00
|
|
|
Release: 0
|
2022-05-28 15:04:06 +00:00
|
|
|
Summary: A Stroke Translation Library
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
URL: http://www.etla.net/libstroke/
|
2008-10-23 02:38:37 +00:00
|
|
|
Source0: http://www.etla.net/libstroke/libstroke-%{version}.tar.bz2
|
2023-11-07 14:37:02 +00:00
|
|
|
Patch0: libstroke-0.4.dif
|
2008-10-23 02:38:37 +00:00
|
|
|
Patch1: no-gtk1.patch
|
|
|
|
|
Patch2: fix-implicit-declarations.patch
|
2013-01-07 14:15:17 +00:00
|
|
|
# PATCH-FIX-UPSTREAM Fix quoting of AC_DEFUN args (bnc#794807) (2013-01-07)
|
|
|
|
|
Patch3: libstroke-quote_m4_definitions.patch
|
2022-05-28 15:04:06 +00:00
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: pkgconfig(ice)
|
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
LibStroke is a stroke interface library. Strokes are motions of the
|
|
|
|
|
mouse that can be interpreted by a program as a command. Strokes are
|
|
|
|
|
used extensively in CAD programs.
|
|
|
|
|
|
|
|
|
|
%package -n libstroke0
|
2008-10-23 02:38:37 +00:00
|
|
|
Summary: A Stroke Translation Library
|
2013-01-07 14:15:17 +00:00
|
|
|
Group: System/Libraries
|
2022-05-28 15:04:06 +00:00
|
|
|
Obsoletes: libstroke
|
|
|
|
|
Provides: libstroke = %{version}-%{release}
|
2007-01-15 23:23:18 +00:00
|
|
|
|
2022-05-28 15:04:06 +00:00
|
|
|
%description -n libstroke0
|
2007-01-15 23:23:18 +00:00
|
|
|
LibStroke is a stroke interface library. Strokes are motions of the
|
|
|
|
|
mouse that can be interpreted by a program as a command. Strokes are
|
|
|
|
|
used extensively in CAD programs.
|
|
|
|
|
|
2022-05-28 15:04:06 +00:00
|
|
|
%package devel
|
2008-10-23 02:38:37 +00:00
|
|
|
Summary: Development package for libstroke
|
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-05-28 15:04:06 +00:00
|
|
|
Requires: libstroke0 = %{version}-%{release}
|
2014-10-02 11:49:38 +00:00
|
|
|
Requires: pkgconfig(x11)
|
2007-01-15 23:23:18 +00:00
|
|
|
|
2022-05-28 15:04:06 +00:00
|
|
|
%description devel
|
2007-01-15 23:23:18 +00:00
|
|
|
This package is needed if you want to program or compile applications
|
|
|
|
|
that use libstroke.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-05-28 15:04:06 +00:00
|
|
|
%setup -q
|
2024-03-01 10:46:28 +00:00
|
|
|
%patch -P 0
|
|
|
|
|
%patch -P 1 -p1
|
|
|
|
|
%patch -P 2 -p1
|
|
|
|
|
%patch -P 3
|
2007-01-15 23:23:18 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
rm -f config.cache
|
|
|
|
|
# update config.{guess,sub}
|
|
|
|
|
autoreconf --force --install
|
2009-01-12 01:04:36 +00:00
|
|
|
%configure --disable-static --with-pic
|
2022-05-28 15:04:06 +00:00
|
|
|
%make_build
|
2007-01-15 23:23:18 +00:00
|
|
|
|
|
|
|
|
%install
|
2013-01-07 14:15:17 +00:00
|
|
|
%make_install
|
2009-01-12 01:04:36 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-01-15 23:23:18 +00:00
|
|
|
|
2022-05-28 15:04:06 +00:00
|
|
|
%post -n libstroke0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n libstroke0 -p /sbin/ldconfig
|
2007-01-15 23:23:18 +00:00
|
|
|
|
2022-05-28 15:04:06 +00:00
|
|
|
%files -n libstroke0
|
2007-01-15 23:23:18 +00:00
|
|
|
%{_libdir}/libstroke.so.*
|
2022-05-28 15:04:06 +00:00
|
|
|
%license COPY*
|
2007-01-15 23:23:18 +00:00
|
|
|
|
|
|
|
|
%files -n libstroke-devel
|
2022-05-28 15:04:06 +00:00
|
|
|
%doc AUTHORS CREDITS ChangeLog INSTALL NEWS README* TODO
|
2007-01-15 23:23:18 +00:00
|
|
|
%{_libdir}/libstroke.so
|
|
|
|
|
/usr/include/*.h
|
|
|
|
|
/usr/share/aclocal/*.m4
|
|
|
|
|
|
2008-10-23 02:38:37 +00:00
|
|
|
%changelog
|