[Tizen-submit] 3600: New package devel:upstream/dos2unix

noreply at tizen.org noreply at tizen.org
Fri May 3 19:07:46 GMT 2013


Hi,
Adding new package dos2unix in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.191028
Git project: platform/upstream/dos2unix
Tag: submit/tizen/20130503.191028
Commit: 5f927b6 add packaging

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3600

  submit:       devel:upstream:build/dos2unix(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.191028
Git project: platform/upstream/dos2unix
Tag: submit/tizen/20130503.191028
Commit: 5f927b6 add packaging

State:   new        2013-05-03T11:38:19 tizenrobot
Comment: <no comment>
new:
----
  dos2unix-6.0.tar.gz
  dos2unix.spec

spec files:
-----------

++++++ new spec file:
--- dos2unix.spec
+++ dos2unix.spec
@@ -0,0 +1,45 @@
+Name:           dos2unix
+Version:        6.0
+Release:        0
+VCS:        platform/upstream/dos2unix#submit/tizen/20130503.191028-0-g5f927b6
+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
+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
+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
+%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

other changes:
--------------

++++++ dos2unix-6.0.tar.gz (new)


More information about the Tizen-submit mailing list