-
Notifications
You must be signed in to change notification settings - Fork 0
/
retcoder.spec.in
56 lines (43 loc) · 1.29 KB
/
retcoder.spec.in
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
Name: @PACKAGE@
Version: @VERSION@
Release: 1%{?dist}
Source: https://yoheie.github.io/retcoder/%{name}-%{version}.tar.gz
Summary: EOL code conversion filter
Summary:(ja): 改行コード変換フィルタ
License: zlib
Group: Applications/Text
Url: https://yoheie.github.io/retcoder/
# Url: https://github.com/yoheie/retcoder
Packager: Yohei Endo <yoheie@gmail.com>
Buildroot: %{_tmppath}/%{name}-%{version}-root
Prefix: %{_prefix}
%description
Convert EOL code.
( See 'retcoder --help' for more info. )
%description -l ja
改行コードの変換をします。
( 詳しい使用法は 'retcoder --help' をご参照ください。 )
%prep
%setup -q
%build
./configure --prefix=%{_prefix} --docdir=%{_docdir}/%{name}-%{version}
make
%install
rm -rf ${RPM_BUILD_ROOT}
make DESTDIR=${RPM_BUILD_ROOT} install
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%{_prefix}/bin/retcoder
%{_docdir}/%{name}-%{version}/*
%changelog
* Fri Jan 21 2022 Yohei Endo <yoheie@gmail.com>
- change URL to yoheie.github.io
* Fri Sep 15 2017 Yohei Endo <yoheie@gmail.com>
- Add %%{?dist} to Release
* Mon Feb 20 2017 Yohei Endo <yoheie@gmail.com>
- Install documents to %%{_docdir}/%%{name}-%%{version}
- Use DESTDIR on make install
* Mon Jan 25 2016 Yohei Endo <yoheie@gmail.com>
- Autotoolized initial release