Blob Blame History Raw
Name:           ascii-design
Version:        1.0.2
Release:        1%{?dist}
Summary:        A tool to create ascii arts
License:        GPLv2
URL:            http://ascii-design.sourceforge.net
Source0:        http://downloads.sourceforge.net/project/%{name}/%{name}/Ascii-Design%20%{version}/%{name}-%{version}.tar.bz2
BuildRequires:  qt4-devel
BuildRequires:  desktop-file-utils
BuildRequires:  dos2unix
Requires:       figlet

%description
Ascii Design is a free program based on figlet engine that enables you to 
create awesome ascii art text. You can create art based text for many types 
of decorations for web sites, e-mail, text files etc...

Ascii Design is also able to use dozens of special fonts to create various 
styles of ascii arts.

%prep
%setup -q 
dos2unix COPYING.TXT

%build
%qmake_qt4
make %{?_smp_mflags}

%install
install -pDm755 bin/%{name} %{buildroot}%{_bindir}/%{name}
desktop-file-install \
    --dir=%{buildroot}%{_datadir}/applications \
    icon/%{name}.desktop

install -pDm644 pics/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png

%files
%doc COPYING.TXT
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog
* Thu Jul 25 2013 Christopher Meng <rpm@cicku.me> - 1.0.2-1
- Update to new version.

* Sat May 18 2013 Christopher Meng <rpm@cicku.me> - 1.0.1-2
- Small fix.

* Thu May 02 2013 Christopher Meng <rpm@cicku.me> - 1.0.1-1
- Initial Package.