Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 46c0646a223d2f6926c268a674c29161 > files > 2

libstroke-0.5.1-5mdk.src.rpm

%define name libstroke
%define version 0.5.1
%define release 5mdk

%define fakename stroke

%define major 0
%define libname %mklibname %{fakename} %major
%define libnamedev %mklibname %{fakename} %major -d


Summary: LibStroke is a stroke interface library
Name: %{name}
Version: %{version}
Release: %{release}
URL: http://www.etla.net/libstroke/
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: System/Libraries
BuildRequires:	XFree86-devel
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}

%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 %{libname}

Summary: LibStroke is a stroke interface library
Group: System/Libraries

%description -n %{libname}

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 %{libnamedev}

Summary: Development libraries for libStroke
Group: Development/C
Provides: %{name}-devel
Requires: %libname = %{version}

%description -n %{libnamedev}

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.

%prep
%setup -q

%build

%configure
%make

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %{libname}
%defattr(-,root,root)
%doc README AUTHORS COPYING NEWS
%{_libdir}/libgstroke.so.0.0.5
%{_libdir}/libgstroke.so.0
%{_libdir}/libstroke.so.0.0.5
%{_libdir}/libstroke.so.0

%files -n %{libnamedev}
%defattr(-,root,root)
%doc INSTALL TODO
%{_datadir}/aclocal/*
%{_libdir}/libgstroke.a
%{_libdir}/libgstroke.la
%{_libdir}/libgstroke.so
%{_libdir}/libstroke.a
%{_libdir}/libstroke.la
%{_libdir}/libstroke.so
%{_includedir}/*

%changelog
* Thu Aug 19 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.5.1-5mdk
- rebuild

* Sat Jul 12 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.5.1-4mdk
- rebuild
- quiet setup

* Mon Jan 27 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.5.1-3mdk
- rebuild

* Fri May  3 2002 Stefan van der Eijk <stefan@eijk.nu> 0.5.1-2mdk
- BuildRequires
- %{_datadir}/aclocal/ --> %{_datadir}/aclocal/*

* Thu Dec  6 2001 Warly <warly@mandrakesoft.com> 0.5.1-1mdk
- new version


# end of file