SPECS: hd2u.spec (NEW) - new
charles
charles at pld-linux.org
Mon Jan 29 01:41:51 CET 2007
Author: charles Date: Mon Jan 29 00:41:51 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
hd2u.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/hd2u.spec
diff -u /dev/null SPECS/hd2u.spec:1.1
--- /dev/null Mon Jan 29 01:41:51 2007
+++ SPECS/hd2u.spec Mon Jan 29 01:41:46 2007
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary: Converts DOS-style EOLs to UNIX-style EOLs and vice versa
+Name: hd2u
+Version: 1.0.1
+Release: 0.1
+License: GPL v2
+Group: Applications/Text
+Source0: http://hany.sk/~hany/_data/hd2u/%{name}-%{version}.tgz
+# Source0-md5: dbab0f0c3ee473880ee1fc9740e43515
+Patch0: %{name}-build.patch
+URL: http://hany.sk/~hany/software/hd2u/
+BuildRequires: popt-devel
+Provides: dos2unix
+Obsoletes: dos2unix
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+hd2u is "Hany's Dos2Unix convertor". It provides 'dos2unix'.
+'dos2unix' is filter used to convert DOS-style EOLs to UNIX-style EOLs
+and vice versa (EOL - End Of Line character). Aditionaly it can also
+handle files with Macintosh-style EOLs and convert them into other
+EOLs.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ BUILD_ROOT=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/dos2unix
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/01/29 00:41:46 charles
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list