Browse Source

* dos2unix: updated to 5.3.3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5932 ec354946-7b23-47d6-9f5a-488ba84defc7
shaolin 12 years ago
parent
commit
863fd8d574
1 changed files with 25 additions and 18 deletions
  1. 25 18
      d/dos2unix/dos2unix-vl.spec

+ 25 - 18
d/dos2unix/dos2unix-vl.spec

@@ -1,46 +1,50 @@
-Name: dos2unix
-Summary: Text file format converters
-Summary(ja): テキストファイルのフォーマット変換ツール
-Version: 5.1.1
-Release: 2%{?_dist_release}
+Name:		dos2unix
+Summary:	Text file format converters
+Summary(ja):	テキストファイルのフォーマット変換ツール
+Version:	5.3.3
+Release:	1%{?_dist_release}
 
 
-Group: Applications/Text
-License: BSD
-URL: http://www.xs4all.nl/~waterlan/dos2unix.html
+Group:		Applications/Text
+License:	BSD
+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
-BuildRequires: gettext
+Provides:	unix2dos = %{version}-%{release}
+Obsoletes:	unix2dos < 5.1-1
 
 
-Provides: unix2dos = %{version}-%{release}
-Obsoletes: unix2dos < 5.1-1
+Vendor:		Project Vine
+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