[ascii-design/epel7] Use %qmake_qt4 macro to build; SPEC syntax cleanup.
Christopher Meng
cicku at fedoraproject.org
Fri Jan 24 05:09:38 UTC 2014
commit 93dacb6a0df7c6a6437c5ef0d69cf2d335e8b461
Author: Christopher Meng <i at cicku.me>
Date: Fri Jan 24 13:05:14 2014 +0800
Use %qmake_qt4 macro to build;
SPEC syntax cleanup.
ascii-design.spec | 31 +++++++++++++++----------------
1 files changed, 15 insertions(+), 16 deletions(-)
---
diff --git a/ascii-design.spec b/ascii-design.spec
index 2e02896..8cb2fac 100644
--- a/ascii-design.spec
+++ b/ascii-design.spec
@@ -1,21 +1,20 @@
-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: qt-devel
-BuildRequires: desktop-file-utils
-BuildRequires: dos2unix
-Requires: figlet
+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.
@@ -24,16 +23,16 @@ styles of ascii arts.
dos2unix COPYING.TXT
%build
-qmake-qt4
+%qmake_qt4
make %{?_smp_mflags}
%install
-install -pDm 755 bin/%{name} %{buildroot}%{_bindir}/%{name}
+install -pDm755 bin/%{name} %{buildroot}%{_bindir}/%{name}
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
icon/%{name}.desktop
-install -pDm 644 pics/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
+install -pDm644 pics/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%files
%doc COPYING.TXT
More information about the scm-commits
mailing list