Changeset 1716 for spec/trunk/SPECS/dos2unix.spec
- Timestamp:
- Oct 13, 2020, 11:57:09 PM (5 years ago)
- 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 1 Summary: Text file format converters 2 Name: dos2unix 3 Version: 7.4.2 4 Release: 1%{?dist} 5 License: BSD 6 URL: http://waterlan.home.xs4all.nl/dos2unix.html 7 %if !0%{?os2_version} 8 Source: 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 8 12 9 Vendor: bww bitwise works GmbH 10 %scm_source github https://git.code.sf.net/p/dos2unix/dos2unix dos2unix-dos2unix 11 13 BuildRequires: gcc 12 14 BuildRequires: gettext 13 BuildRequires: perl-Pod-Checker 15 # perl modules, required for tests 16 BuildRequires: perl-Test-Harness perl-Test-Simple 14 17 Provides: unix2dos = %{version}-%{release} 15 18 Obsoletes: unix2dos < 5.1-1 … … 19 22 vice versa. 20 23 21 %debug_package22 23 24 %prep 25 %if !0%{?os2_version} 26 %setup -q 27 %else 24 28 %scm_setup 29 %endif 25 30 26 31 %build 27 export LDFLAGS="-Zomf -Zmap -Zhigh-mem -Zargs-wild -Zargs-resp"28 32 export LIBS="-lcx" 29 export prefix=%{_prefix} 30 make %{?_smp_mflags} 33 make %{?_smp_mflags} 31 34 32 35 %install 33 export prefix=%{_prefix}34 36 make DESTDIR=$RPM_BUILD_ROOT install 35 37 … … 39 41 %find_lang %{name} --with-man --all-name 40 42 43 %check 44 %if !0%{?os2_version} 45 make test 46 %endif 47 41 48 %files -f %{name}.lang 42 %defattr(-,root,root,0755)43 49 %doc man/man1/dos2unix.htm ChangeLog.txt COPYING.txt 44 50 %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 45 57 %{_bindir}/dos2unix.exe 46 58 %{_bindir}/mac2unix.exe 47 59 %{_bindir}/unix2dos.exe 48 60 %{_bindir}/unix2mac.exe 61 %endif 49 62 %{_mandir}/man1/*.1* 50 63 51 %clean52 rm -rf $RPM_BUILD_ROOT53 54 64 %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.