source: spec/trunk/SPECS/dos2unix.spec@ 1711

Last change on this file since 1711 was 1697, checked in by tellie, 6 years ago

spec: simsu: Release version 1.3.4-1

File size: 1.4 KB
Line 
1Summary: Text file format converters
2Name: dos2unix
3Version: 7.4.1
4Release: 1%{?dist}
5Group: Applications/Text
6License: BSD
7URL: http://waterlan.home.xs4all.nl/dos2unix.html
8
9Vendor: bww bitwise works GmbH
10%scm_source github https://git.code.sf.net/p/dos2unix/dos2unix dos2unix-dos2unix
11
12BuildRequires: gettext
13BuildRequires: perl-Pod-Checker
14Provides: unix2dos = %{version}-%{release}
15Obsoletes: unix2dos < 5.1-1
16
17%description
18Convert text files with DOS or Mac line endings to Unix line endings and
19vice versa.
20
21%debug_package
22
23%prep
24%scm_setup
25
26%build
27export LDFLAGS="-Zomf -Zmap -Zhigh-mem -Zargs-wild -Zargs-resp"
28export LIBS="-lcx"
29export prefix=%{_prefix}
30make %{?_smp_mflags}
31
32%install
33export prefix=%{_prefix}
34make DESTDIR=$RPM_BUILD_ROOT install
35
36# We add doc files manually to %%doc
37rm -rf $RPM_BUILD_ROOT%{_docdir}
38
39%find_lang %{name} --with-man --all-name
40
41%files -f %{name}.lang
42%defattr(-,root,root,0755)
43%doc man/man1/dos2unix.htm ChangeLog.txt COPYING.txt
44%doc NEWS.txt README.txt TODO.txt
45%{_bindir}/dos2unix.exe
46%{_bindir}/mac2unix.exe
47%{_bindir}/unix2dos.exe
48%{_bindir}/unix2mac.exe
49%{_mandir}/man1/*.1*
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%changelog
55* Sat Apr 11 2020 Elbert Pol <elbert.pol@gmail.com> 7.4.1-1
56- Updated to latest source
57
58* Sat Feb 11 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 7.3.4-1
59- initial port
Note: See TracBrowser for help on using the repository browser.