|
@@ -1,46 +1,50 @@
|
|
-Name: dos2unix
|
|
+Name: dos2unix
|
|
-Summary: Text file format converters
|
|
+Summary: Text file format converters
|
|
-Summary(ja): テキストファイルのフォーマット変換ツール
|
|
+Summary(ja): テキストファイルのフォーマット変換ツール
|
|
-Version: 5.1.1
|
|
+Version: 5.3.3
|
|
-Release: 2%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
-Group: Applications/Text
|
|
+Group: Applications/Text
|
|
-License: BSD
|
|
+License: BSD
|
|
-URL: http://www.xs4all.nl/~waterlan/dos2unix.html
|
|
+URL: http://www.xs4all.nl/~waterlan/dos2unix.html
|
|
|
|
+Source0: http://www.xs4all.nl/~waterlan/dos2unix/%{name}-%{version}.tar.gz
|
|
|
|
|
|
-Source0: http://www.xs4all.nl/~waterlan/dos2unix/%{name}-%{version}.tar.gz
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: gettext
|
|
|
|
+BuildRequires: perl
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
+Provides: unix2dos = %{version}-%{release}
|
|
-BuildRequires: gettext
|
|
+Obsoletes: unix2dos < 5.1-1
|
|
|
|
|
|
-Provides: unix2dos = %{version}-%{release}
|
|
+Vendor: Project Vine
|
|
-Obsoletes: unix2dos < 5.1-1
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
%description
|
|
%description
|
|
Convert text files with DOS or Mac line endings to Unix line endings and
|
|
Convert text files with DOS or Mac line endings to Unix line endings and
|
|
vice versa.
|
|
vice versa.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-テキストファイル中の行末記号(LF)を DOS/Mac と Unix との間で相互に変換するためのツールです.
|
|
+テキストファイル中の行末記号(LF)を DOS/Mac と Unix との間で
|
|
|
|
+相互に変換するためのツールです.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
rm -rf po/*/eo-x.*
|
|
rm -rf po/*/eo-x.*
|
|
|
|
|
|
%build
|
|
%build
|
|
-make CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \
|
|
+make CFLAGS="%{optflags} -D_LARGEFILE_SOURCE $(getconf LFS_CFLAGS)" \
|
|
%{?_smp_mflags}
|
|
%{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
-make DESTDIR=$RPM_BUILD_ROOT install
|
|
+make DESTDIR=%{buildroot} install
|
|
|
|
|
|
# We add doc files manually to %%doc
|
|
# We add doc files manually to %%doc
|
|
-rm -rf $RPM_BUILD_ROOT%{_docdir}
|
|
+rm -rf %{buildroot}%{_docdir}
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,0755)
|
|
%defattr(-,root,root,0755)
|
|
@@ -54,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Mar 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.3-1
|
|
|
|
+- updated to 5.3.3
|
|
|
|
+
|
|
* Sat Sep 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.1-2
|
|
* Sat Sep 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.1-2
|
|
- Initial build for Vine Linux
|
|
- Initial build for Vine Linux
|
|
|
|
|