diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-01-22 11:12:51 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-01-22 11:13:10 +0900 |
commit | d745515981ffc8398d59de54207a7b05718cc0e9 (patch) | |
tree | 11b6b949ab7caf43d49e9b94ff3ae14c70a421e5 | |
parent | 3e04d82fa8da3f9c3077d4d06b334cdc2c947a61 (diff) | |
download | dos2unix-accepted/tizen_5.5_unified.tar.gz dos2unix-accepted/tizen_5.5_unified.tar.bz2 dos2unix-accepted/tizen_5.5_unified.zip |
Bump to dos2unix 7.4.0tizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184306submit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen/20190122.051323accepted/tizen/unified/20190128.061444accepted/tizen/5.5/unified/wearable/hotfix/20201027.102955accepted/tizen/5.5/unified/mobile/hotfix/20201027.063026accepted/tizen/5.5/unified/20191031.005909tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5sandbox/dh0128.kwak/dos2unix_7.4.0accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
Change-Id: Iff43f2b73e8ef9ccd04789a6d6412fe88517149e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | packaging/dos2unix.manifest | 5 | ||||
-rw-r--r-- | packaging/dos2unix.spec | 48 |
2 files changed, 53 insertions, 0 deletions
diff --git a/packaging/dos2unix.manifest b/packaging/dos2unix.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/dos2unix.manifest @@ -0,0 +1,5 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> diff --git a/packaging/dos2unix.spec b/packaging/dos2unix.spec new file mode 100644 index 0000000..7a1316c --- /dev/null +++ b/packaging/dos2unix.spec @@ -0,0 +1,48 @@ +Name: dos2unix +Version: 7.4.0 +Release: 0 +License: BSD-3-Clause +Summary: Text converters to and from DOS/MAC to UNIX +Url: http://waterlan.home.xs4all.nl/dos2unix.html +Group: Productivity/Text/Convertors +Source: http://waterlan.home.xs4all.nl/dos2unix/dos2unix-%{version}.tar.gz +Source1001: dos2unix.manifest +BuildRequires: gettext-tools +Provides: unix2dos = %{version} +Obsoletes: unix2dos < %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Dos2unix is used to convert plain text from DOS (CR/LF) format. Mac2unix +converts plain text from MAC (CR) format to UNIX format (LF). + +Unix2dos converts plain text files from UNIX +format to DOS format and unix2dos converts from UNIX to MAC format. + +%prep +%setup -q +cp %{SOURCE1001} . +#find . -type f | xargs chmod -x + +%build +export RPM_OPT_FLAGS +make %{?_smp_mflags} CC="gcc" HTMLEXT="html" + + +%install +%make_install docdir=%{_defaultdocdir}/%{name} +%{find_lang} dos2unix --all-name --with-man + +%files -f dos2unix.lang +%manifest %{name}.manifest +%defattr(-,root,root,0755) +%doc /usr/share/doc/%{name}-%{version} +%{_bindir}/dos2unix +%{_bindir}/mac2unix +%{_bindir}/unix2mac +%{_bindir}/unix2dos +%doc %{_mandir}/*/dos2unix.1* +%doc %{_mandir}/*/mac2unix.1* +%doc %{_mandir}/*/unix2mac.1* +%doc %{_mandir}/*/unix2dos.1* +%doc %lang(nl) %dir %{_mandir}/nl |