From 7b0c4e0bb6176431825c3ff8a884c84914c0bf40 Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: May 01 2010 14:36:42 +0000 Subject: Initial CVS import- --- diff --git a/.cvsignore b/.cvsignore index e69de29..a6c2486 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ascii-3.8.tar.gz diff --git a/ascii-3.8-makefile.patch b/ascii-3.8-makefile.patch new file mode 100644 index 0000000..8c99024 --- /dev/null +++ b/ascii-3.8-makefile.patch @@ -0,0 +1,12 @@ +diff -up ascii-3.8/Makefile.org ascii-3.8/Makefile +--- ascii-3.8/Makefile.org 2009-09-16 19:14:13.000000000 +0200 ++++ ascii-3.8/Makefile 2009-09-16 19:15:01.000000000 +0200 +@@ -5,7 +5,7 @@ VERS=$(shell sed splashscreen.h -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/.*/P("&");/' diff --git a/ascii.spec b/ascii.spec new file mode 100644 index 0000000..37f260b --- /dev/null +++ b/ascii.spec @@ -0,0 +1,47 @@ +Name: ascii +Version: 3.8 +Release: 1%{?dist} +URL: http://www.catb.org/~esr/ascii/ +Source0: http://www.catb.org/~esr/ascii/ascii-3.8.tar.gz +Patch1: ascii-3.8-makefile.patch + +License: GPLv2 +Group: Applications/Text +Summary: Interactive ascii name and synonym chart +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +The ascii utility provides easy conversion between various byte representations +and the American Standard Code for Information Interchange (ASCII) character +table. It knows about a wide variety of hex, binary, octal, Teletype mnemonic, +ISO/ECMA code point, slang names, XML entity names, and other representations. +Given any one on the command line, it will try to display all others. Called +with no arguments it displays a handy small ASCII chart. + +%prep +%setup -q +%patch1 -p1 + +%build +make %{?_smp_mflags} ascii ascii.1 CFLAGS="${RPM_OPT_FLAGS}" + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/ +cp ascii $RPM_BUILD_ROOT%{_bindir} +cp ascii.1 $RPM_BUILD_ROOT%{_mandir}/man1/ + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_mandir}/man1/ascii.1* +%{_bindir}/ascii +%doc README COPYING + +%changelog +* Wed Sep 16 2009 Jochen Schmitt 3.8-1 +- Initial package + diff --git a/import.log b/import.log new file mode 100644 index 0000000..187d20a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +ascii-3_8-1_fc11:HEAD:ascii-3.8-1.fc11.src.rpm:1272724533 diff --git a/sources b/sources index e69de29..4292996 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8fb7540bf2a7a8e1fa0086708ed9b881 ascii-3.8.tar.gz