dos2unix/dos2unix.spec

83 lines
1.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:37:31 -04:00
Name: dos2unix
2021-01-21 16:39:29 +08:00
Version: 7.4.2
2022-06-29 19:52:07 +08:00
Release: 3
2019-09-30 10:37:31 -04:00
Summary: Text file format converters
2022-06-29 19:52:07 +08:00
License: BSD-2-Clause
2019-09-30 10:37:31 -04:00
URL: http://waterlan.home.xs4all.nl/dos2unix.html
Source0: http://waterlan.home.xs4all.nl/dos2unix/%{name}-%{version}.tar.gz
2021-10-25 18:38:41 +08:00
BuildRequires: gcc gettext perl-Test-Harness
2019-09-30 10:37:31 -04:00
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
2020-02-17 17:21:28 +08:00
%check
make check
2019-09-30 10:37:31 -04:00
%files -f %{name}.lang
2019-12-13 15:13:07 +08:00
%license COPYING.txt
2019-09-30 10:37:31 -04:00
%{_bindir}/dos2unix
%{_bindir}/mac2unix
%{_bindir}/unix2dos
%{_bindir}/unix2mac
%files help
%{_mandir}/man1/*.1.gz
%changelog
2022-06-29 19:52:07 +08:00
* Wed Jun 29 2022 lixiaofei <lixiaofei38@huawei.com> - 7.4.2-3
- update license to BSD-2-Clause
2021-10-25 18:38:41 +08:00
* Mon Oct 25 2021 caodongxia <caodongxia@huawei.com> - 7.4.2-2
- Add buildRequire perl-Test-Harness
2021-01-21 16:39:29 +08:00
* Thu Jan 21 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 7.4.2-1
- Type:update
- ID:NA
- SUG:NA
- DESC:update to 7.4.2
2020-07-23 09:57:45 +08:00
* Thu Jul 23 2020 zhangxingliang <zhangxingliang3@huawei.com> - 7.4.1-1
- Type:update
- ID:NA
- SUG:NA
- DESC:update to 7.4.1
2020-02-17 17:21:28 +08:00
* Mon Feb 17 2020 chengquan<chengquan3@huawei.com> - 7.4.0-11
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Enable test cases
2019-12-13 15:13:07 +08:00
* 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
2019-09-30 10:37:31 -04:00
* 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