File aewan.spec of Package aewan

# norootforbuild

Name:               aewan
Version:            1.0.01
Release:            0
Summary:            Multi-Layered ASCII Art and Animation Editor 
# http://prdownloads.sourceforge.net/aewan/aewan-%{version}.tar.gz
Source:             aewan-%{version}.tar.bz2
Source1:            aewan.desktop
Patch1:             aewan-fixes.patch
URL:                http://aewan.sourceforge.net/
Group:              Productivity/Graphics/Bitmap Editors
License:            GNU General Public License version 2 or later (GPL v2 or later)
BuildRoot:          %{_tmppath}/build-%{name}-%{version}
BuildRequires:      zlib-devel ncurses-devel
BuildRequires:      gcc make glibc-devel
BuildRequires:      autoconf automake libtool
BuildRequires:      update-desktop-files

%description
Aewan is a curses-based program that allows for the creation and editing of
ASCII art.
The user is able to move the cursor around the screen by means of the arrow
keys and "paint" characters by pressing the corresponding keys. There are
dialog boxes that allow the user to choose foreground and background colors,
as well as bold and blink attributes. The user may also select rectangular
areas of the canvas in order to move, copy, and paste them.

What sets Aewan apart from similar projects is the fact that it can work with
multiple layers and has the ability to turn transparency and visibility on and
off for each layer.
Instead of using the layers for compositing, it is also possible to use the
layers as frames for an animation, thus enabling the user to create ASCII
animations.
The file format is easy to parse, so it is easy to write a terminal-based
application that uses the Aewan files to display onscreen.
Aewan has been tested on the Linux terminal, rxvt, xterm, and the FreeBSD
console.


%prep
%setup -q
%patch1

%build
%configure
%__make %{?jobs:-j%{jobs}}

%install
%makeinstall

%__install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" Graphics RasterGraphics

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc CHANGELOG COPYING README TODO
%{_bindir}/aecat
%{_bindir}/aemakeflic
%{_bindir}/aewan
%doc %{_mandir}/man1/aecat.1%{ext_man}
%doc %{_mandir}/man1/aemakeflic.1%{ext_man}
%doc %{_mandir}/man1/aewan.1%{ext_man}
%doc %{_mandir}/man5/aewan.5%{ext_man}
%{_datadir}/applications/aewan.desktop

%changelog
# vim: set sw=4 ts=4 et nu:
openSUSE Build Service is sponsored by