Accepting request 73177 from home:lnussel
* the name and purpose cpp - C preprocessor directive indenter * how long has it been around? few years * how well has it been tested? worked for me in one case * what is the upstream project? https://savannah.gnu.org/projects/cppi/ * does it have a track record of security issues? no and unlikely to ever have one * what is the purpose of having it in the distribution? allow coreutils development * who are its users? coreutils developers * what is the license? GPLv3+ OBS-URL: https://build.opensuse.org/request/show/73177 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/cppi?expand=0&rev=1
This commit is contained in:
commit
c1fb309176
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
68
_service:format_spec_file:cppi.spec
Normal file
68
_service:format_spec_file:cppi.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
#
|
||||||
|
# spec file for package cppi
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Name: cppi
|
||||||
|
Version: 1.15
|
||||||
|
Release: 0
|
||||||
|
Summary: C preprocessor directive indenter
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
License: GPLv3+
|
||||||
|
Url: http://savannah.gnu.org/projects/cppi/
|
||||||
|
Source0: http://ftp.gnu.org/gnu/cppi/cppi-%{version}.tar.xz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: xz
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
cppi indents the C preprocessor directives to reflect their nesting and ensures
|
||||||
|
that there is exactly one space character between each #if, #elif, #define
|
||||||
|
directive and the following token.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-silent-rules
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS ChangeLog COPYING NEWS THANKS TODO
|
||||||
|
%{_bindir}/cppi
|
||||||
|
%{_mandir}/man1/cppi.1*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
3
cppi-1.15.tar.xz
Normal file
3
cppi-1.15.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:82bfe3d7ae7a5ca208c71c34cb9b2967ce6251c112b548649a3b9bced9e57cab
|
||||||
|
size 418936
|
5
cppi.changes
Normal file
5
cppi.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 9 14:01:04 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
- initial package version 1.15
|
||||||
|
|
47
cppi.spec
Normal file
47
cppi.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
Name: cppi
|
||||||
|
Version: 1.15
|
||||||
|
Release: 0
|
||||||
|
Summary: C preprocessor directive indenter
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
License: GPLv3+
|
||||||
|
URL: http://savannah.gnu.org/projects/cppi/
|
||||||
|
Source0: http://ftp.gnu.org/gnu/cppi/cppi-%{version}.tar.xz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
|
BuildRequires: xz
|
||||||
|
|
||||||
|
%description
|
||||||
|
cppi indents the C preprocessor directives to reflect their nesting and ensures
|
||||||
|
that there is exactly one space character between each #if, #elif, #define
|
||||||
|
directive and the following token.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-silent-rules
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS ChangeLog COPYING NEWS THANKS TODO
|
||||||
|
%{_bindir}/cppi
|
||||||
|
%{_mandir}/man1/cppi.1*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user