Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 7db24b510196286217176a18446cb0ff > files > 2

libvterm-0.1-0.bzr715.2.mga7.src.rpm

%define major	0
%define libname	%mklibname vterm %{major}
%define devname	%mklibname vterm -d

%define bzr	715
%define rel	2

Name:           libvterm
Version:        0.1
Release:        %mkrel -c bzr%{bzr} %{rel}
Summary:        An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator
Group:		System/Libraries
License:        MIT
URL:            https://launchpad.net/libvterm
Source0:        %{name}-bzr%{bzr}.tar.gz
BuildRequires:  libtool

%description
An abstract C99 library which implements a VT220 or xterm-like
terminal emulator. It does not use any particular graphics toolkit or
output system. Instead, it invokes callback function pointers that
its embedding program should provide it to draw on its behalf.

%package -n %{libname}
Summary:	An abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator

%description -n %{libname}
An abstract C99 library which implements a VT220 or xterm-like
terminal emulator. It does not use any particular graphics toolkit or
output system. Instead, it invokes callback function pointers that
its embedding program should provide it to draw on its behalf.

%package -n %{devname}
Summary:        Development files needed for %{name}
Group:		Development/Other
Requires:       %{libname} = %{version}-%{release}
Provides:	vterm-devel = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{devname}
%{summary}.

%package tools
Summary:        Tools for %{name}

%description tools
%{summary}.

%prep
%setup -qn %{name}-bzr%{bzr}

%build
%setup_compile_flags
%make_build PREFIX=%{_prefix} LIBDIR=%{_libdir}

%install
%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir}

#we don't want these
find %{buildroot} \( -name "*.la" -o -name "*.a" \) -delete

%check
make test CFLAGS="%{optflags}"

%files -n %{libname}
%license LICENSE
%{_libdir}/%{name}.so.%{major}
%{_libdir}/%{name}.so.%{major}.*

%files -n %{devname}
%{_libdir}/%{name}.so
%{_includedir}/vterm*.h
%{_libdir}/pkgconfig/vterm.pc

%files tools
%{_bindir}/unterm
%{_bindir}/vterm-ctrl
%{_bindir}/vterm-dump


%changelog
* Sun Sep 23 2018 umeabot <umeabot> 0.1-0.bzr715.2.mga7
  (not released yet)
+ Revision: 1299219
- Mageia 7 Mass Rebuild

* Sun Oct 29 2017 wally <wally> 0.1-0.bzr715.1.mga7
+ Revision: 1174718
- imported package libvterm