-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpatrix.spec
120 lines (90 loc) · 3.68 KB
/
patrix.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
Name: patrix
Version: 0.1.17
Release: 1%{?dist}
Summary: Command line client for Matrix
Group: Applications/Internet
License: MIT
URL: https://github.com/dani/patrix
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
Requires: perl(LWP::UserAgent)
Requires: perl(LWP::Protocol::https)
Requires: perl(Config::Simple)
Requires: perl(HTTP::Request)
Requires: perl(File::HomeDir)
Requires: perl(Getopt::Long)
Requires: perl(JSON)
Requires: perl(File::Basename)
Requires: perl(File::MimeInfo)
Requires: perl(File::Spec)
Requires: perl(URI::Escape)
Requires: perl(Term::ReadKey)
Requires: perl(Hash::Merge::Simple)
Requires: perl(Scalar::Util)
Requires: perl(HTML::Strip)
%description
Patrix is a simple (and quite limited) client for the Matrix communication network
(see https://matrix.org). It's written in perl, and lets you send text message to
room via the command line.
%prep
%setup -q
%build
%install
%{__rm} -rf $RPM_BUILD_ROOT
# Install
%{__install} -d -m 750 $RPM_BUILD_ROOT%{_bindir}
%{__install} -m 0755 scripts/* $RPM_BUILD_ROOT%{_bindir}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.md TODO
%{_bindir}/patrix
%changelog
* Thu Jul 04 2024 Daniel Berteaud <[email protected]> 0.1.17-1
- Use Authorization header instead of GET param to pass access_token
* Mon Feb 13 2023 Daniel Berteaud <[email protected]> 0.1.16-1
- Add HTML::Strip to Required ([email protected])
- Add HTML::Strip and always support HTML messages ([email protected])
* Tue Jul 26 2022 Daniel Berteaud <[email protected]> 0.1.15-1
- Resign with new key
* Tue Jan 11 2022 Daniel Berteaud <[email protected]> 0.1.14-1
- Release bump for rebuild
* Mon Jan 03 2022 Daniel Berteaud <[email protected]> 0.1.13-1
- Check config readability and global /etc/patrixrc ([email protected])
* Thu Dec 09 2021 Daniel Berteaud <[email protected]> 0.1.12-1
- Revert requiring LWP::Protocol::connect ([email protected])
* Wed Dec 08 2021 Daniel Berteaud <[email protected]> 0.1.11-1
- Rebuild with new key
* Wed Nov 28 2018 Daniel Berteaud <[email protected]> 0.1.10-1
- Require LWP::Protocol::connect for EL distro ([email protected])
- USe LWP::Protocol::connect to handle https proxy if available
* Thu Feb 22 2018 Daniel Berteaud <[email protected]> 0.1.9-1
- Support using an HTTP proxy ([email protected])
* Fri Nov 24 2017 Daniel Berteaud <[email protected]> 0.1.8-1
- Typo in README ([email protected])
- Add support for --send-code ([email protected])
* Thu Nov 23 2017 Daniel Berteaud <[email protected]> 0.1.7-1
- Fix get-room-id, Room ID is already resolved at this point (daniel@firewall-
services.com)
- Resolve room alias to ID after setting defaults (daniel@firewall-
services.com)
* Sun Nov 19 2017 Daniel Berteaud <[email protected]> 0.1.6-1
- Define actions array before the loop ([email protected])
* Tue Nov 14 2017 Daniel Berteaud <[email protected]> 0.1.5-1
- Remove now non existing CHANGELOG.git ([email protected])
- Fix tito releasers.conf path ([email protected])
* Tue Nov 14 2017 Daniel Berteaud <[email protected]> 0.1.4-1
- new package built with tito
* Wed Sep 13 2017 Daniel Berteaud <[email protected]> - 0.1.3-1
- New release
* Wed Sep 13 2017 Daniel Berteaud <[email protected]> - 0.1.2-2
- Fix perl dependency in spec file
* Tue Sep 12 2017 Daniel Berteaud <[email protected]> - 0.1.2-1
- New release
* Fri Sep 8 2017 Daniel Berteaud <[email protected]> - 0.1.1-1
- New release
* Wed Sep 6 2017 Daniel B. <[email protected]> - 0.1.0-1
- Initial release