93dacb6
Name:           ascii-design
1bd3c8d
Version:        1.1.0
9941b8e
Release:        1%{?dist}
93dacb6
Summary:        A tool to create ascii arts
93dacb6
License:        GPLv2
93dacb6
URL:            http://ascii-design.sourceforge.net
93dacb6
Source0:        http://downloads.sourceforge.net/project/%{name}/%{name}/Ascii-Design%20%{version}/%{name}-%{version}.tar.bz2
1bd3c8d
Patch0:         ascii-design-1.1.0-appdata-syntax-cleanup.patch
9941b8e
BuildRequires:  appdata-tools
1a82611
BuildRequires:  cmake
93dacb6
BuildRequires:  desktop-file-utils
9941b8e
BuildRequires:  qt4-devel
93dacb6
Requires:       figlet
Christopher Meng fa38936
Christopher Meng fa38936
%description
Christopher Meng fa38936
Ascii Design is a free program based on figlet engine that enables you to 
Christopher Meng fa38936
create awesome ascii art text. You can create art based text for many types 
Christopher Meng fa38936
of decorations for web sites, e-mail, text files etc...
93dacb6
Christopher Meng fa38936
Ascii Design is also able to use dozens of special fonts to create various 
Christopher Meng fa38936
styles of ascii arts.
Christopher Meng fa38936
Christopher Meng fa38936
%prep
1bd3c8d
%setup -q
1bd3c8d
%patch0 -p1
9941b8e
sed -i 's/\r$//' COPYING.TXT
Christopher Meng fa38936
Christopher Meng fa38936
%build
9941b8e
# Using Qt4 for a while
559ad28
mkdir build && cd build
1a82611
%cmake ..
Christopher Meng fa38936
make %{?_smp_mflags}
Christopher Meng fa38936
Christopher Meng fa38936
%install
2f2839a
%make_install -C build
Christopher Meng fa38936
9941b8e
%check
1a82611
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
1a82611
appdata-validate --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
9941b8e
Christopher Meng fa38936
%files
9941b8e
%doc COPYING.TXT README.md
Christopher Meng fa38936
%{_bindir}/%{name}
1a82611
%{_datadir}/appdata/%{name}.appdata.xml
Christopher Meng fa38936
%{_datadir}/applications/%{name}.desktop
Christopher Meng fa38936
%{_datadir}/pixmaps/%{name}.png
Christopher Meng fa38936
Christopher Meng fa38936
%changelog
1bd3c8d
* Fri Jun 20 2014 Christopher Meng <rpm@cicku.me> - 1.1.0-1
1bd3c8d
- Update to 1.1.0
1bd3c8d
513de25
* Wed Jun 11 2014 Christopher Meng <rpm@cicku.me> - 1.0.3-1
9941b8e
- Update to 1.0.3
9941b8e
e0ebd5c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
e0ebd5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0ebd5c
4891bcc
* Fri Jan 24 2014 Christopher Meng <rpm@cicku.me> - 1.0.2-2
4891bcc
- Use proper compiler flags to build.
4891bcc
Christopher Meng c148065
* Thu Jul 25 2013 Christopher Meng <rpm@cicku.me> - 1.0.2-1
9941b8e
- Update to 1.0.2
Christopher Meng c148065
Christopher Meng fa38936
* Sat May 18 2013 Christopher Meng <rpm@cicku.me> - 1.0.1-2
Christopher Meng fa38936
- Small fix.
Christopher Meng fa38936
Christopher Meng fa38936
* Thu May 02 2013 Christopher Meng <rpm@cicku.me> - 1.0.1-1
Christopher Meng fa38936
- Initial Package.