|
| 1 | +%global branch sfos220 |
1 | 2 | Name: mount-sdcard |
2 | 3 | Summary: Enhanced mounting scripts for media as SD-cards |
3 | 4 | Version: 1.8.2 |
4 | | -# Since v1.4.2, the release version consists of two or three fields, separated by a dot ("."): |
5 | | -# - The first field must contain a natural number greater than zero. |
6 | | -# This number may be prefixed by one of {alpha,beta,rc,release}, e.g. "alpha13". |
7 | | -# - The second field indicates the minimal required SailfishOS version A.B.C.X in the format "sfosABC"; |
8 | | -# the fourth field of a SailfishOS version ("X") is neither depended upon or denoted. |
9 | | -# - An optional third field might be used by downstream packagers, who alter the package but want to |
10 | | -# retain the exact version number. It should consist of the packager's name appended with a natural |
11 | | -# number greater than zero as the packaging release number, e.g "joe8". |
12 | | -Release: 1.sfos220 |
| 5 | +# Since v1.8.2, the release version consists of two or three fields, separated |
| 6 | +# by dots ("."): |
| 7 | +# - The first field must contain a natural number greater than zero. This number |
| 8 | +# should be prefixed by one of {alpha,beta,rc,release}, which results in, e.g., |
| 9 | +# "alpha42". |
| 10 | +# - The second field must contain the git branch from which this release is |
| 11 | +# built; it comprises the minimal required SailfishOS version A.B.C.X in the |
| 12 | +# format "sfosABC" (the fourth field of a SailfishOS version ("X") is neither |
| 13 | +# depended upon or denoted) plus if this is a version which utilises |
| 14 | +# Qualcomm's `qcrypto` kernel module by appending "+qcrypto" to this field. |
| 15 | +# - An optional third field might be used by downstream packagers, who alter the |
| 16 | +# package but want to retain the exact version number. It should consist of |
| 17 | +# the packager's name appended with a natural number greater than zero as the |
| 18 | +# packaging release number, e.g "jane23". |
| 19 | +Release: beta1.%{branch} |
| 20 | +# Since v1.8.2, Git tags must adhere to the following format starting (adapted |
| 21 | +# from Storeman's format: |
| 22 | +# https://github.com/storeman-developers/harbour-storeman/wiki/Git-tag-format ), |
| 23 | +# which comprises two fields separated by a slash ("/"): |
| 24 | +# - The first field is simply the content of the `Release:` tag, i.e., |
| 25 | +# `%%{release}`. |
| 26 | +# - The second field is simply the content of the `Version:` tag, i.e., |
| 27 | +# `%%{version}`. |
13 | 28 | Group: System/Base |
14 | 29 | Distribution: SailfishOS |
15 | 30 | Vendor: olf |
16 | | -Packager: olf |
17 | 31 | License: LGPL-2.1-only |
18 | 32 | URL: https://github.com/Olf0/%{name} |
19 | | -# Download URLs for gzipped tarballs at GitHub must conform to: %{url}/archive/<tag-name>/<arbitrary-string>.tar.gz |
20 | | -Source: %{url}/archive/%{version}-%{release}/%{name}-%{version}.tar.gz |
21 | | -# rpmbuild (as of v4.14.1) handles the Icon tag awkwardly and in contrast to the Source tag(s): |
22 | | -# It only accepts a GIF or XPM file (a path is stripped to its basename) in the SOURCES directory |
23 | | -# (but not inside a tarball there)! Successfully tested GIF89a and XPMv3, but an XPM icon results |
24 | | -# in bad visual quality and large file size. |
| 33 | +# Download URLs for gzipped tarballs at GitHub must conform to: |
| 34 | +# %%{url}/archive/<tag-name>/<arbitrary-string>.tar.gz |
| 35 | +Source0: %{url}/archive/%{release}/%{version}/%{name}-%{version}.tar.gz |
| 36 | +# rpmbuild (as of v4.14.1) handles the Icon tag awkwardly and in contrast to |
| 37 | +# the Source tag(s): It only accepts a GIF or XPM file (a path is stripped to |
| 38 | +# its basename) in the SOURCES directory (but not inside a tarball there)! |
| 39 | +# Successfully tested GIF89a and XPMv3, but an XPM icon results in bad visual |
| 40 | +# quality and large file size. |
25 | 41 | # Hence only to be used, when the file (or a symlink to it) is put there: |
26 | 42 | #Icon: smartmedia_unmount.256x256.gif |
27 | 43 | BuildArch: noarch |
28 | 44 | Requires: systemd |
29 | 45 | Requires: udisks2 |
30 | | -# Better use direct dependencies on specific versions than indirect ones (here: the line above |
31 | | -# versus the one below) in general, but ultimately decided not to do so in this special case |
32 | | -# (for commonality across release versions): |
| 46 | +# Better use direct dependencies on specific versions than indirect ones (here: |
| 47 | +# the line above versus the one below) in general, but ultimately decided not to |
| 48 | +# do so in this special case (for commonality across release versions): |
33 | 49 | Requires: sailfish-version >= 2.2.0 |
34 | 50 | # Counter-dependency (necessary for the multiple release branch scheme chosen): |
35 | 51 | Requires: sailfish-version < 3.0.1 |
|
55 | 71 | %endif |
56 | 72 |
|
57 | 73 | %define _binary_payload w6.gzdio |
58 | | -%define _source_payload w2.gzdio |
| 74 | +%define _source_payload w6.gzdio |
59 | 75 |
|
60 | 76 | %prep |
61 | 77 | %setup -q |
|
0 commit comments