Ignore:
Timestamp:
Oct 13, 2020, 11:57:09 PM (5 years ago)
Author:
tellie
Message:

spec: dos2unix: Release version 7.4.2-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/dos2unix.spec

    r1697 r1716  
    1 Summary:       Text file format converters
    2 Name:          dos2unix
    3 Version:       7.4.1
    4 Release:       1%{?dist}
    5 Group:         Applications/Text
    6 License:       BSD
    7 URL:           http://waterlan.home.xs4all.nl/dos2unix.html
     1Summary: Text file format converters
     2Name: dos2unix
     3Version: 7.4.2
     4Release: 1%{?dist}
     5License: BSD
     6URL: http://waterlan.home.xs4all.nl/dos2unix.html
     7%if !0%{?os2_version}
     8Source: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
     9%else
     10%scm_source github https://github.com/TeLLie/%{name}-os2 %{version}-os2
     11%endif
    812
    9 Vendor:        bww bitwise works GmbH
    10 %scm_source github https://git.code.sf.net/p/dos2unix/dos2unix dos2unix-dos2unix
    11 
     13BuildRequires: gcc
    1214BuildRequires: gettext
    13 BuildRequires: perl-Pod-Checker
     15# perl modules, required for tests
     16BuildRequires: perl-Test-Harness perl-Test-Simple
    1417Provides: unix2dos = %{version}-%{release}
    1518Obsoletes: unix2dos < 5.1-1
     
    1922vice versa.
    2023
    21 %debug_package
    22 
    2324%prep
     25%if !0%{?os2_version}
     26%setup -q
     27%else
    2428%scm_setup
     29%endif
    2530
    2631%build
    27 export LDFLAGS="-Zomf -Zmap -Zhigh-mem -Zargs-wild -Zargs-resp"
    2832export LIBS="-lcx"
    29 export prefix=%{_prefix}
    30 make %{?_smp_mflags}
     33make %{?_smp_mflags}
    3134
    3235%install
    33 export prefix=%{_prefix}
    3436make DESTDIR=$RPM_BUILD_ROOT install
    3537
     
    3941%find_lang %{name} --with-man --all-name
    4042
     43%check
     44%if !0%{?os2_version}
     45make test
     46%endif
     47
    4148%files -f %{name}.lang
    42 %defattr(-,root,root,0755)
    4349%doc man/man1/dos2unix.htm  ChangeLog.txt COPYING.txt
    4450%doc NEWS.txt README.txt TODO.txt
     51%if !0%{?os2_version}
     52%{_bindir}/dos2unix
     53%{_bindir}/mac2unix
     54%{_bindir}/unix2dos
     55%{_bindir}/unix2mac
     56%else
    4557%{_bindir}/dos2unix.exe
    4658%{_bindir}/mac2unix.exe
    4759%{_bindir}/unix2dos.exe
    4860%{_bindir}/unix2mac.exe
     61%endif
    4962%{_mandir}/man1/*.1*
    5063
    51 %clean
    52 rm -rf $RPM_BUILD_ROOT
    53 
    5464%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
     65* Mon Oct 12 2020 Elbert Pol <elbert.pol@gmail.com> - 7.4.2-1
     66- Update to latest source
     67- Add some OS2 definition to spec file
Note: See TracChangeset for help on using the changeset viewer.