|
Last change
on this file since 1306 was 1094, checked in by Silvan Scherrer, 9 years ago |
|
spec: restore accidently deleted files by Elbert
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | Summary: Text file format converters
|
|---|
| 2 | Name: dos2unix
|
|---|
| 3 | Version: 7.3.4
|
|---|
| 4 | Release: 1%{?dist}
|
|---|
| 5 | Group: Applications/Text
|
|---|
| 6 | License: BSD
|
|---|
| 7 | URL: http://waterlan.home.xs4all.nl/dos2unix.html
|
|---|
| 8 |
|
|---|
| 9 | Vendor: bww bitwise works GmbH
|
|---|
| 10 | %scm_source svn http://svn.netlabs.org/repos/ports/dos2unix/trunk 2012
|
|---|
| 11 |
|
|---|
| 12 | BuildRequires: gettext
|
|---|
| 13 | #BuildRequires: perl-Pod-Checker
|
|---|
| 14 | Provides: unix2dos = %{version}-%{release}
|
|---|
| 15 | Obsoletes: unix2dos < 5.1-1
|
|---|
| 16 |
|
|---|
| 17 | %description
|
|---|
| 18 | Convert text files with DOS or Mac line endings to Unix line endings and
|
|---|
| 19 | vice versa.
|
|---|
| 20 |
|
|---|
| 21 | %debug_package
|
|---|
| 22 |
|
|---|
| 23 | %prep
|
|---|
| 24 | %scm_setup
|
|---|
| 25 |
|
|---|
| 26 | %build
|
|---|
| 27 | export prefix=%{_prefix}
|
|---|
| 28 | export LIBS_EXTRA=-lcx
|
|---|
| 29 | make %{?_smp_mflags}
|
|---|
| 30 |
|
|---|
| 31 | %install
|
|---|
| 32 | export prefix=%{_prefix}
|
|---|
| 33 | make DESTDIR=$RPM_BUILD_ROOT install
|
|---|
| 34 |
|
|---|
| 35 | # We add doc files manually to %%doc
|
|---|
| 36 | rm -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
|
|---|
| 51 | rm -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.