-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdogwatch.spec
68 lines (52 loc) · 1.85 KB
/
dogwatch.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%global debug_package %{nil}
Name: dogwatch
Version: 1.1.0
Release: 1%{?dist}
License: MIT
Summary: Prevent your machine from sleeping using dbus
# Clone this repo
# cd dogwatch && tito build --tgz
Source0: %{name}-%{version}.tar.gz
BuildRequires: rust cargo dbus-devel
%description
Prevent your machine from sleeping using dbus-rs bindings
%prep
%autosetup
%build
cargo build --release
strip -s ./target/release/dogwatch
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
cp ./target/release/%{name} $RPM_BUILD_ROOT/%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_bindir}/dogwatch
%changelog
* Sun Sep 29 2024 Unknown name 1.1.0-1
- Add functionality for Windows ([email protected])
- Update clap requirement from 3.2.18 to 4.1.11
(49699333+dependabot[bot]@users.noreply.github.com)
* Sun Sep 29 2024 Unknown name
- Add functionality for Windows ([email protected])
- Update clap requirement from 3.2.18 to 4.1.11
(49699333+dependabot[bot]@users.noreply.github.com)
* Sun Sep 29 2024 Unknown name
- Add functionality for Windows ([email protected])
- Update clap requirement from 3.2.18 to 4.1.11
(49699333+dependabot[bot]@users.noreply.github.com)
* Thu Sep 08 2022 egg <[email protected]> 1.0.3-1
- updated version ([email protected])
- strip symbols and enable LTO ([email protected])
- Update README.md ([email protected])
- Update README.md ([email protected])
* Wed Sep 07 2022 egg <[email protected]> 1.0.2-1
- replaced dbus-libs with dbus-devel
* Wed Sep 07 2022 egg <[email protected]> 1.0.1-1
- added copr badge ([email protected])
- Automatic commit of package [dogwatch] release [1.0.0-1].
- added dbus-libs build req
* Wed Sep 07 2022 egg <[email protected]> 1.0.0-1
- new package built with tito