From aa560edd540bdee9a6b02ef466b2dc0b02e68d633437f8869dfc7f64f4782cfa Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 3 Sep 2017 08:49:17 +0000 Subject: [PATCH] Accepting request 520411 from home:psych0naut Revised per review of Request 520372 OBS-URL: https://build.opensuse.org/request/show/520411 OBS-URL: https://build.opensuse.org/package/show/devel:tools/gpp?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++ .gitignore | 1 + gpp-2.25.tar.bz2 | 3 +++ gpp.changes | 9 ++++++++ gpp.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 89 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gpp-2.25.tar.bz2 create mode 100644 gpp.changes create mode 100644 gpp.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gpp-2.25.tar.bz2 b/gpp-2.25.tar.bz2 new file mode 100644 index 0000000..56a3e36 --- /dev/null +++ b/gpp-2.25.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16ba9329208f587f96172f951ad3d24a81afea6a5b7836fe87955726eacdd19f +size 137361 diff --git a/gpp.changes b/gpp.changes new file mode 100644 index 0000000..744f3c6 --- /dev/null +++ b/gpp.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 2 20:51:50 UTC 2017 - psychonaut@nothingisreal.com + +- Improved compliance with openSUSE spec file guidelines + +------------------------------------------------------------------- +Tue Dec 27 00:00:00 UTC 2016 - psychonaut@nothingisreal.com + +- Initial build diff --git a/gpp.spec b/gpp.spec new file mode 100644 index 0000000..656d725 --- /dev/null +++ b/gpp.spec @@ -0,0 +1,53 @@ +# +# spec file for package gpp +# +# Copyright (c) 2017 Tristan Miller +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Summary: Generic Preprocessor +Name: gpp +Version: 2.25 +Release: 0 +License: LGPL-3.0+ +Group: Development/Tools/Other +URL: https://logological.org/gpp/ +Source0: https://files.nothingisreal.com/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: gcc + +%description +GPP is a general-purpose preprocessor with customizable syntax, +suitable for a wide range of preprocessing tasks. Its independence +from any one programming language makes it much more versatile than +the C preprocessor (cpp), while its syntax is lighter and more +flexible than that of GNU m4. There are built-in macros for use with +C/C++, LaTeX, HTML, XHTML, and Prolog files. + +%prep +%setup -q + +%build +%{_configure} --prefix=%{_prefix} --docdir=%{_docdir}/%{name} +make %{?_smp_mflags} + +%install +%make_install + +%files +%defattr(-,root,root,-) +%{_bindir}/gpp +%{_docdir}/%{name} +%{_mandir}/man1/gpp.1.gz + +%changelog