diff options
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/finesketch.changes.in | 15 | ||||
-rw-r--r-- | rpm/finesketch.spec | 72 | ||||
-rw-r--r-- | rpm/finesketch.yaml | 42 |
3 files changed, 129 insertions, 0 deletions
diff --git a/rpm/finesketch.changes.in b/rpm/finesketch.changes.in new file mode 100644 index 0000000..08a66ad --- /dev/null +++ b/rpm/finesketch.changes.in @@ -0,0 +1,15 @@ +# Rename this file as finesketch.changes to include changelog +# entries in your RPM file. +# +# Add new changelog entries following the format below. +# Add newest entries to the top of the list. +# Separate entries from eachother with a blank line. + +# * date Author's Name <author's email> version-release +# - Summary of changes + +* Sun Apr 13 2014 Jack Tar <jack.tar@example.com> 0.0.1-1 +- Scrubbed the deck +- Hoisted the sails + + diff --git a/rpm/finesketch.spec b/rpm/finesketch.spec new file mode 100644 index 0000000..d5ad334 --- /dev/null +++ b/rpm/finesketch.spec @@ -0,0 +1,72 @@ +# +# Do NOT Edit the Auto-generated Part! +# Generated by: spectacle version 0.27 +# + +Name: finesketch + +# >> macros +# << macros + +%{!?qtc_qmake:%define qtc_qmake %qmake} +%{!?qtc_qmake5:%define qtc_qmake5 %qmake5} +%{!?qtc_make:%define qtc_make make} +%{?qtc_builddir:%define _builddir %qtc_builddir} +Summary: My SailfishOS Application +Version: 0.1 +Release: 1 +Group: Qt/Qt +License: LICENSE +URL: http://example.org/ +Source0: %{name}-%{version}.tar.bz2 +Source100: finesketch.yaml +Requires: sailfishsilica-qt5 >= 0.10.9 +BuildRequires: pkgconfig(sailfishapp) >= 1.0.2 +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Quick) +BuildRequires: libgato-devel +BuildRequires: desktop-file-utils + +%description +Short description of my SailfishOS Application + + +%prep +%setup -q -n %{name}-%{version} + +# >> setup +# << setup + +%build +# >> build pre +# << build pre + +%qtc_qmake5 + +%qtc_make %{?_smp_mflags} + +# >> build post +# << build post + +%install +rm -rf %{buildroot} +# >> install pre +# << install pre +%qmake5_install + +# >> install post +# << install post + +desktop-file-install --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + %{buildroot}%{_datadir}/applications/*.desktop + +%files +%defattr(-,root,root,-) +%{_bindir} +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/86x86/apps/%{name}.png +# >> files +# << files diff --git a/rpm/finesketch.yaml b/rpm/finesketch.yaml new file mode 100644 index 0000000..accb3d6 --- /dev/null +++ b/rpm/finesketch.yaml @@ -0,0 +1,42 @@ +Name: finesketch +Summary: My SailfishOS Application +Version: 0.1 +Release: 1 +# The contents of the Group field must be one of the groups listed here: +# http://gitorious.org/meego-developer-tools/spectacle/blobs/master/data/GROUPS +Group: Qt/Qt +URL: http://example.org/ +License: LICENSE +# This must be generated before uploading a package to a remote build service. +# Usually this line does not need to be modified. +Sources: +- '%{name}-%{version}.tar.bz2' +Description: | + Short description of my SailfishOS Application +Configure: none +# The qtc5 builder inserts macros to allow QtCreator to have fine +# control over qmake/make execution +Builder: qtc5 + +PkgConfigBR: + - sailfishapp >= 1.0.2 + - Qt5Core + - Qt5Qml + - Qt5Quick + +PkgBR: +- libgato-devel + +Requires: + - sailfishsilica-qt5 >= 0.10.9 + +# All installed files +Files: + - '%{_bindir}' + - '%{_datadir}/%{name}' + - '%{_datadir}/applications/%{name}.desktop' + - '%{_datadir}/icons/hicolor/86x86/apps/%{name}.png' + +# For more information about yaml and what's supported in Sailfish OS +# build system, please see https://wiki.merproject.org/wiki/Spectacle + |