Skip to content

Commit 716fdf4

Browse files
authored
Add files via upload
1 parent c5c07ad commit 716fdf4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

rpm/mount-sdcard.spec

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,36 @@
1+
Name: mount-sdcard
2+
Summary: Enhanced mounting scripts for SD-cards under SailfishOS 2.2.x
3+
Version: 0.1
4+
Release: 1
5+
Group: System/Base
6+
Distribution: SailfishOS
7+
Vendor: olf
8+
Packager: olf
9+
License: MIT
10+
URL: https://github.com/Olf0/%{name}
11+
Source0: %{name}-%{version}-%{release}.tar.gz
12+
Source1: https://github.com/Olf0/%{name}/archive/%{version}-%{release}.tar.gz
13+
BuildArch: noarch
14+
BuildRequires: systemd
15+
Requires: systemd
16+
Requires: udisks2
17+
Requires: sailfish-version >= 2.2.0
18+
19+
%description
20+
%{summary}
21+
22+
%prep
23+
%setup -q -n %{name}-%{version}-%{release}
24+
25+
%build
26+
27+
%install
28+
mkdir -p %{buildroot}%{_sysconfdir}
29+
cp -R systemd udev %{buildroot}%{_sysconfdir}/
30+
31+
%files
32+
%defattr(-,root,root,-)
33+
%{_sysconfdir}/systemd/system/mount-sd@.service
34+
%{_sysconfdir}/systemd/system/symlink-sd@.service
35+
%{_sysconfdir}/udev/rules.d/81-mountsd.rules
136

0 commit comments

Comments
 (0)