Updated spec files.

This commit is contained in:
codestation
2015-02-16 12:20:40 -04:30
parent 54fcf1ea73
commit 0400567142
3 changed files with 24 additions and 20 deletions

View File

@@ -2,18 +2,26 @@
# qcma spec file
#
%define _version 0.3.7
%if "%{_version}" == "testing" || "%{_version}" == "master"
%define _verprefix
%else
%define _verprefix v
%endif
Name: qcma
Summary: PSVita Content Manager Assistant
License: GPL-3.0
Release: 1
Version: 0.3.7
Version: ${_version}
URL: https://github.com/codestation/qcma
Source: https://github.com/codestation/qcma.git
Source: https://github.com/codestation/qcma/archive/%{_verprefix}%{_version}/qcma-%{_version}.tar.gz
Group: Productivity/File utilities
Requires: ffmpeg
Requires: qt5-qtbase
Requires: qt5-qtimageformats
Requires: libvitamtp4 >= 2.5.4
Requires: libvitamtp4 >= 2.5.5
BuildRequires: pkgconfig
BuildRequires: ffmpeg-devel
BuildRequires: libvitamtp-devel
@@ -25,12 +33,6 @@ QCMA is an cross-platform application to provide a Open Source implementation
of the original Content Manager Assistant that comes with the PS Vita. QCMA
is meant to be compatible with Linux, Windows and MAC OS X.
%prep
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
%{!?_qcma_repo:%define _qcma_repo https://github.com/codestation/qcma.git}
git clone "%{_qcma_repo}" $RPM_SOURCE_DIR/%{name}-%{version}
cp -r $RPM_SOURCE_DIR/%{name}-%{version} $RPM_BUILD_DIR/%{name}-%{version}
%setup -n %{name}-%{version} -DT
%build