-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# RPM spec file for Score-board. | ||
# This file is used to build Redhat Package Manager packages for | ||
# Maep. Such packages make it easy to install and uninstall | ||
# the library and related files from binaries or source. | ||
# | ||
# RPM. To build, use the command: rpmbuild --clean -ba maep-qt.spec | ||
# | ||
|
||
Name: harbour-score-board | ||
|
||
Summary: A Sailfish application to store scores from games (or not) | ||
Version: 1.0.0 | ||
Release: 1 | ||
License: GPLv3 | ||
Source: %{name}-%{version}.tar.gz | ||
BuildArch: noarch | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot | ||
Requires: sailfishsilica-qt5 | ||
Requires: libsailfishapp-launcher | ||
|
||
%description | ||
A Sailfish application to store scores from games (or not). It | ||
automatically saves previous boards, and they can be modified | ||
later. It allows to create boards up to ten players or teams and | ||
can display the summation of all scores. | ||
|
||
%prep | ||
rm -rf $RPM_BUILD_ROOT | ||
%setup -q -n %{name}-%{version} | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
install -d %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/About.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/harbour-score-board.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/RowHeader.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/RowEditor.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/RowItem.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/ScoreModel.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/TeamModel.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/Score.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/BoardSetup.qml %{buildroot}%{_datadir}/%{name}/qml | ||
install -m 644 -p qml/sqlite_backend.js %{buildroot}%{_datadir}/%{name}/qml | ||
install -d %{buildroot}%{_datadir}/applications | ||
install -m 644 -p harbour-score-board.desktop %{buildroot}%{_datadir}/applications | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%{_datadir}/applications | ||
%{_datadir}/%{name} | ||
|
||
%changelog | ||
* Fri Aug 28 2015 - Damien Caliste <[email protected]> 1.0.0-1 | ||
- initial release with basic functionalities. |