58 lines
1.2 KiB
RPMSpec
58 lines
1.2 KiB
RPMSpec
Name: dos2unix
|
|
Version: 7.4.0
|
|
Release: 10
|
|
Summary: Text file format converters
|
|
License: BSD
|
|
URL: http://waterlan.home.xs4all.nl/dos2unix.html
|
|
Source0: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
|
|
Patch6000: Fixed-a-minor-memory-leak.patch
|
|
Patch6001: Fixed-issues-reported-by-Coverity-Scan.patch
|
|
|
|
BuildRequires: gcc gettext
|
|
Provides: unix2dos = %{version}
|
|
Obsoletes: unix2dos < %{version}
|
|
|
|
%description
|
|
The dos2unix utility converts characters in the DOS extended character set to the
|
|
corresponding ISO standard characters.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
rm -rf $RPM_BUILD_ROOT%{_docdir}
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%files -f %{name}.lang
|
|
%license COPYING.txt
|
|
%{_bindir}/dos2unix
|
|
%{_bindir}/mac2unix
|
|
%{_bindir}/unix2dos
|
|
%{_bindir}/unix2mac
|
|
|
|
%files help
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
%changelog
|
|
* Fri Nov 22 2019 chengquan<chengquan3@huawei.com> - 7.4.0-10
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:add COPYING file in main package
|
|
|
|
* Fri Sep 27 2019 chengquan<chengquan3@huawei.com> - 7.4.0-9
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:add help package
|
|
|
|
* Tue Aug 13 2019 openEuler Buildteam <buildteam@openeuler.org> - 7.4.0-8
|
|
- Package init
|
|
|