Removed the *64 spec files. Now the same spec file works for both architectures.

This commit is contained in:
codestation
2014-01-22 17:15:18 -04:30
parent 7234356319
commit 7b3d3e8249
4 changed files with 76 additions and 167 deletions

View File

@@ -6,37 +6,42 @@ Name: qcma
Summary: PSVita Content Manager Assistant
License: GPL-3.0
Release: 1
Version: 0.2.4
Version: 0.2.9
URL: https://github.com/codestation/qcma
Source: https://github.com/codestation/qcma.git
Prefix: /usr
Group: Productivity/File utilities
Requires: ffmpeg
Requires: libqt5-qtbase
Requires: libvitamtp3 >= 2.5.0
BuildRequires: pkg-config
BuildRequires: ffmpeg-devel
BuildRequires: libvitamtp-devel
BuildRequires: libqt5-qtbase-devel
%description
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.
%changelog
* Tue Nov 06 2013 codestation <codestation> - 0.2.4
- QCMA in WiFi mode is compatible with FW 3.00.
%prep
rm -rf $RPM_SOURCE_DIR/qcma
git clone https://github.com/codestation/qcma.git $RPM_SOURCE_DIR/qcma
cp -r $RPM_SOURCE_DIR/qcma $RPM_BUILD_DIR/qcma
%setup -n qcma -DT
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}
git clone https://github.com/codestation/qcma.git $RPM_SOURCE_DIR/%{name}-%{version}
cp -r $RPM_SOURCE_DIR/%{name}-%{version} $RPM_BUILD_DIR/%{name}-%{version}
%setup -n %{name}-%{version} -DT
%build
lrelease resources/translations/*.ts
qmake PREFIX=/usr
make
qmake-qt5 PREFIX=/usr
make %{?_smp_mflags}
%install
make INSTALL_ROOT=%{buildroot} install
make install INSTALL_ROOT=%{buildroot}
%files
%defattr(-,root,root,-)
/usr/bin/qcma
/usr/share/applications/qcma/qcma.desktop
/usr/share/icons/hicolor/64x64/apps/qcma.png
%defattr(-,root,root)
%{_bindir}/qcma
%{_prefix}/share/applications/qcma/qcma.desktop
%{_prefix}/share/icons/hicolor/64x64/apps/qcma.png
%changelog