A new user interface for you! Read more...

File shanty.spec of Package shanty

#
# spec file for package shanty (Version 3)
#
# Copyright 2009 Mario García H. Bogotá, Colombia.
#
# 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.

Summary: Ascii alike colourized shapes out of text and an image
Name: shanty
Version: 3
Release: 1
Source0: %{name}-%{version}.tar.gz
Source1: http://www.codebunny.org/coding/shanty/download/%{name}-%{version}.tar.gz
Vendor: %{vendor}
URL: http://www.codebunny.org/coding/%{name}/
License: BSD
Requires: perl >= %{perl_version}
BuildArch: noarch
Group: Amusements/Toys/Graphics
BuildRoot: %{_builddir}/%{name}-%{version}-build

%description
Shanty is a perl script that takes an image of
your choice and some text of your choice and makes
a whopping great PostScript file out of them.

The result is amazing ascii alike rendered shapes
composed out of colourized texts.

Make sure you check out the manual.txt file before
using shanty, it currently lacks a command line
help menu.

%prep
%setup -q

%build

%install
install -d -m 0755 %{buildroot}/%{_bindir}
install -m 0755 shanty %{buildroot}/%{_bindir}/

install -d -m 0755 %{buildroot}/%{_docdir}/%{name}
install -m 0644 changelog.txt %{buildroot}/%{_docdir}/%{name}
install -m 0644 licence.txt %{buildroot}/%{_docdir}/%{name}
install -m 0644 manual.txt %{buildroot}/%{_docdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%attr(0755,root,root)%{_bindir}/%{name}
%doc changelog.txt licence.txt manual.txt


%changelog
* Thu Jul 9 2009 Mario García H. <code933k@gmail.com> - 3
- Initial package.