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

Last change on this file since 1010 was 981, checked in by Silvan Scherrer, 9 years ago

spec: dos2unix: Release version 7.3.4-1.

File size: 1.3 KB
Line 
1Summary: Text file format converters
2Name: dos2unix
3Version: 7.3.4
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 svn http://svn.netlabs.org/repos/ports/dos2unix/trunk 2012
11
12BuildRequires: gettext
13#BuildRequires: 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 prefix=%{_prefix}
28export LIBS_EXTRA=-lcx
29make %{?_smp_mflags}
30
31%install
32export prefix=%{_prefix}
33make DESTDIR=$RPM_BUILD_ROOT install
34
35# We add doc files manually to %%doc
36rm -rf $RPM_BUILD_ROOT%{_docdir}
37
38%find_lang %{name} --with-man --all-name
39
40%files -f %{name}.lang
41%defattr(-,root,root,0755)
42%doc man/man1/dos2unix.htm ChangeLog.txt COPYING.txt
43%doc NEWS.txt README.txt TODO.txt
44%{_bindir}/dos2unix.exe
45%{_bindir}/mac2unix.exe
46%{_bindir}/unix2dos.exe
47%{_bindir}/unix2mac.exe
48%{_mandir}/man1/*.1*
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%changelog
54* Sat Feb 11 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 7.3.4-1
55- initial port
Note: See TracBrowser for help on using the repository browser.