Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
complexity
complexity.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File complexity.spec of Package complexity
# # spec file for package complexity # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: complexity Version: 1.13 Release: 0 Summary: C source code complexity computation utility License: GPL-3.0-or-later Group: Development/Tools/Other URL: https://www.gnu.org/software/complexity/ Source0: https://ftp.gnu.org/gnu/complexity/%{name}-%{version}.tar.xz Patch0: complexity-1.10-avoid-random-return-in-nonvoid-function.patch BuildRequires: autogen BuildRequires: pkgconfig BuildRequires: pkgconfig(autoopts) %description Complexity is a tool for analyzing the complexity of "C" program functions. It is very similar to the McCabe scoring, but addresses some issues not considered in that scoring scheme. %prep %autosetup -p1 %build # they used newer autoopts in the generated tarball -- build fails with: # error option template version mismatches autoopts/options.h header pushd src rm -f opts.[ch] autogen opts.def popd # broken buildsystem? mkdir doc/.deps export MAN_PAGE_DATE=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%s)} -I) %configure %make_build %install %make_install %check %make_build check %files %license COPYING %doc AUTHORS ChangeLog README NEWS %{_bindir}/complexity %{_bindir}/cx-vs-mc %{_infodir}/complexity.info%{?ext_info} %{_mandir}/man1/complexity.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor