-
Notifications
You must be signed in to change notification settings - Fork 1
/
file-expert.spec
51 lines (33 loc) · 908 Bytes
/
file-expert.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
Name: file-expert
Version: 1.1.0
Release: 1%{?dist}
Summary: Expert system for recognizing source code files
License: GPLv3
URL: https://github.com/kalkin/file-expert
BuildRequires: cargo clippy rustfmt autoconf automake make
BuildRequires: php php-pecl-yaml
%global debug_package %{nil}
%define _builddir %(pwd)
%define _sourcedir %(pwd)
%description
Expert system for recognizing source code files, similar to GitHub/linguist, but
written in Rust.
%prep
%autosetup -T -D -n .
%build
autoreconf -i
%configure
%make_build
%install
%make_install
%check
%files
%{_bindir}/file-expert
%license
%doc
%changelog
* Sun Jul 28 2019 Bahtiar Gadimov (kalkin-) <[email protected]>
- Fix recognition for RPM Spec
- Add runtime requirement for swipl
* Wed Jul 17 2019 Bahtiar Gadimov (kalkin-) <[email protected]>
Rework the file guessing logic