2007-01-16 00:10:31 +01:00
|
|
|
#
|
2010-03-05 02:11:17 +01:00
|
|
|
# spec file for package dos2unix (Version 4.1.2)
|
2007-01-16 00:10:31 +01:00
|
|
|
#
|
2010-03-05 02:11:17 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:10:31 +01:00
|
|
|
#
|
2008-09-15 14:05:45 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:10:31 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-09-15 14:05:45 +02:00
|
|
|
|
2007-01-16 00:10:31 +01:00
|
|
|
Name: dos2unix
|
2010-03-05 02:11:17 +01:00
|
|
|
Summary: A DOS to UNIX Text Converter
|
|
|
|
Version: 4.1.2
|
2010-02-05 13:57:56 +01:00
|
|
|
Release: 1
|
2007-01-16 00:10:31 +01:00
|
|
|
Group: Productivity/Text/Convertors
|
2009-12-18 12:50:51 +01:00
|
|
|
License: BSD3c
|
|
|
|
Url: http://www.xs4all.nl/~waterlan/#DOS2UNIX
|
2007-01-16 00:10:31 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2010-03-05 02:11:17 +01:00
|
|
|
Source1: de.po
|
|
|
|
Patch0: dos2unix-Makefile.patch
|
2007-01-16 00:10:31 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2010-03-05 02:11:17 +01:00
|
|
|
dos2unix is used to convert plain text from DOS (CR/LF) format to UNIX
|
|
|
|
format (LF).
|
2010-02-17 17:59:25 +01:00
|
|
|
|
2010-03-05 02:11:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Benjamin Lin blin @ socs.uts.edu.au
|
|
|
|
Erwin Waterlander <waterlan @ xs4all.nl>
|
2010-02-17 17:59:25 +01:00
|
|
|
|
2007-01-16 00:10:31 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-03-05 02:11:17 +01:00
|
|
|
%patch0
|
|
|
|
cp %{S:1} po/
|
2009-12-18 12:50:51 +01:00
|
|
|
find . -type f -exec chmod -x {} \;
|
2007-01-16 00:10:31 +01:00
|
|
|
|
|
|
|
%build
|
2009-12-18 12:50:51 +01:00
|
|
|
export RPM_OPT_FLAGS
|
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-16 00:10:31 +01:00
|
|
|
|
|
|
|
%install
|
2010-03-05 02:11:17 +01:00
|
|
|
%makeinstall
|
|
|
|
%{find_lang} %{name}
|
2007-01-16 00:10:31 +01:00
|
|
|
|
2010-03-05 02:11:17 +01:00
|
|
|
%files -f %{name}.lang
|
2007-01-16 00:10:31 +01:00
|
|
|
%defattr(-,root,root,0755)
|
2009-12-18 12:50:51 +01:00
|
|
|
%doc %{_defaultdocdir}/%{name}
|
2007-01-16 00:10:31 +01:00
|
|
|
%{_bindir}/dos2unix
|
|
|
|
%{_bindir}/mac2unix
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-09-15 14:05:45 +02:00
|
|
|
%changelog
|