[packages/gengen] - new

qboosh qboosh at pld-linux.org
Tue May 22 18:49:57 CEST 2018


commit ffe6371c38b6b3b50be4bdc1bb574e987e2afd68
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 22 18:50:25 2018 +0200

    - new

 gengen-info.patch | 14 ++++++++++++++
 gengen.spec       | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)
---
diff --git a/gengen.spec b/gengen.spec
new file mode 100644
index 0000000..c2262fe
--- /dev/null
+++ b/gengen.spec
@@ -0,0 +1,58 @@
+Summary:	GNU Gengen - parameterized-text-generator generator based on a template
+Summary(pl.UTF-8):	GNU Gengen - generator generatorów sparametryzowanego tekstu w oparciu o wzorzec
+Name:		gengen
+Version:	1.4.2
+Release:	1
+License:	GPL v3+
+Group:		Development/Tools
+Source0:	http://ftp.gnu.org/gnu/gengen/%{name}-%{version}.tar.gz
+# Source0-md5:	4559df90480d304e127841eb22a54985
+Patch0:		%{name}-info.patch
+URL:		http://www.gnu.org/software/gengen/
+BuildRequires:	help2man
+BuildRequires:	libstdc++-devel
+BuildRequires:	texinfo
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GNU Gengen (GENerator GENerator) is a tool that, starting from a
+parameterized text, called template, generates a text generator that
+can substitute parameters with values.
+
+%description -l pl.UTF-8
+GNU Gengen (GENerator GENeratorów) to narzędzie potrafiące ze
+sparametryzowanego tekstu (nazywanego wzorcem) wygenerować generator
+tekstu podstawiający wartości zamiast parametrów.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gengen
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun	-p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS doc/{gengen,index}.html
+%attr(755,root,root) %{_bindir}/gengen
+%{_mandir}/man1/gengen.1*
+%{_infodir}/gengen.info*
diff --git a/gengen-info.patch b/gengen-info.patch
new file mode 100644
index 0000000..83928fe
--- /dev/null
+++ b/gengen-info.patch
@@ -0,0 +1,14 @@
+--- gengen-1.4.2/doc/gengen.texinfo.orig	2010-08-31 15:42:52.000000000 +0200
++++ gengen-1.4.2/doc/gengen.texinfo	2018-05-22 18:11:39.171698672 +0200
+@@ -34,9 +34,9 @@
+ @end quotation
+ @end copying
+ 
+- at dircategory GNU programming tools
++ at dircategory Programming tools:
+ @direntry
+-* Gengen: (gengen).         A parameterized-text-generator generator based on a template
++* Gengen: (gengen).			A parameterized-text-generator generator based on a template
+ @end direntry
+ 
+ @c @shorttitlepage GNU Gengen
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gengen.git/commitdiff/ffe6371c38b6b3b50be4bdc1bb574e987e2afd68



More information about the pld-cvs-commit mailing list