2017-09-06 17:23:51 +02:00
|
|
|
Name: patrix
|
2017-09-13 18:42:31 +02:00
|
|
|
Version: 0.1.3
|
|
|
|
Release: 1%{?dist}
|
2017-09-06 17:23:51 +02:00
|
|
|
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)
|
2017-09-11 09:44:10 +02:00
|
|
|
Requires: perl(LWP::Protocol::https)
|
2017-09-06 17:23:51 +02:00
|
|
|
Requires: perl(Config::Simple)
|
|
|
|
Requires: perl(HTTP::Request)
|
|
|
|
Requires: perl(File::HomeDir)
|
|
|
|
Requires: perl(Getopt::Long)
|
|
|
|
Requires: perl(JSON)
|
2017-09-13 14:36:43 +02:00
|
|
|
Requires: perl(File::Basename)
|
2017-09-07 12:47:34 +02:00
|
|
|
Requires: perl(File::MimeInfo)
|
2017-09-13 16:56:21 +02:00
|
|
|
Requires: perl(File::Spec)
|
2017-09-07 13:26:33 +02:00
|
|
|
Requires: perl(URI::Escape)
|
2017-09-10 10:33:33 +02:00
|
|
|
Requires: perl(Term::ReadKey)
|
2017-09-10 16:38:34 +02:00
|
|
|
Requires: perl(Hash::Merge::Simple)
|
|
|
|
Requires: perl(Scalar::Util)
|
2017-09-06 17:23:51 +02:00
|
|
|
|
|
|
|
%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,-)
|
2017-09-10 11:45:20 +02:00
|
|
|
%doc README.md TODO CHANGELOG.git
|
2017-09-06 17:23:51 +02:00
|
|
|
%{_bindir}/patrix
|
|
|
|
|
|
|
|
%changelog
|
2017-09-13 18:42:31 +02:00
|
|
|
* Wed Sep 13 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.3-1
|
|
|
|
- New release
|
|
|
|
|
2017-09-13 14:36:43 +02:00
|
|
|
* Wed Sep 13 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-2
|
|
|
|
- Fix perl dependency in spec file
|
|
|
|
|
|
|
|
* Tue Sep 12 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.2-1
|
|
|
|
- New release
|
|
|
|
|
2017-09-08 13:17:40 +02:00
|
|
|
* Fri Sep 8 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1
|
|
|
|
- New release
|
|
|
|
|
2017-09-06 17:23:51 +02:00
|
|
|
* Wed Sep 6 2017 Daniel B. <daniel@firewall-services.com> - 0.1.0-1
|
|
|
|
- Initial release
|