Name: ascii-design
Version: 1.0.3
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: appdata-tools
BuildRequires: desktop-file-utils
BuildRequires: qt4-devel
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
sed -i 's/\r$//' COPYING.TXT
%build
# Using Qt4 for a while
%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
%check
appdata-validate --nonet %{buildroot}%{_datadir}/appdata/ascii-design.appdata.xml
%files
%doc COPYING.TXT README.md
%{_bindir}/%{name}
%{_datadir}/appdata/ascii-design.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog
* Wed Jun 11 2014 Christopher Meng <rpm@cicku.me> - 1.0.3-1
- Update to 1.0.3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Jan 24 2014 Christopher Meng <rpm@cicku.me> - 1.0.2-2
- Use proper compiler flags to build.
* Thu Jul 25 2013 Christopher Meng <rpm@cicku.me> - 1.0.2-1
- Update to 1.0.2
* 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.