SHA256
1
0
forked from pool/gpp

- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:tools/gpp?expand=0&rev=2
This commit is contained in:
Martin Pluskal 2017-09-03 08:54:10 +00:00 committed by Git OBS Bridge
parent aa560edd54
commit 57a6e82bd2
2 changed files with 25 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 3 08:49:31 UTC 2017 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
-------------------------------------------------------------------
Sat Sep 2 20:51:50 UTC 2017 - psychonaut@nothingisreal.com

View File

@ -1,6 +1,7 @@
#
# spec file for package gpp
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Tristan Miller <psychonaut@nothingisreal.com>
#
# All modifications and additions to the file contributed by third parties
@ -15,39 +16,38 @@
# 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.
Name: gpp
Version: 2.25
Release: 0
Summary: Generic Preprocessor
License: LGPL-3.0+
Group: Development/Tools/Other
Url: https://logological.org/gpp/
Source0: https://files.nothingisreal.com/%{name}/%{name}-%{version}.tar.bz2
%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}
%configure \
--docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%install
%make_install
%files
%defattr(-,root,root,-)
%{_bindir}/gpp
%{_docdir}/%{name}
%{_mandir}/man1/gpp.1.gz
%{_mandir}/man1/gpp.1%{ext_man}
%changelog