Projects
Eulaceura:Factory
cli11
_service:obs_scm:cli11.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:cli11.spec of Package cli11
# Even though this package does not install any ELF files, it does compute # pointer sizes. Therefore, this package cannot be noarch, but it also does # not produce any debug information. %global debug_package %{nil} Name: cli11 Version: 1.8.0 Release: 3 Summary: Command line parser for C++11 License: BSD URL: https://github.com/CLIUtils/CLI11 Source0: https://github.com/CLIUtils/CLI11/archive/v%{version}/%{name}-%{version}.tar.gz # Use the system gmock/gtest instead of requiring that they be downloaded Patch0: %{name}-gtest.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: gmock-devel BuildRequires: gtest-devel BuildRequires: python3-devel %description CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. %package devel Summary: Command line parser for C++11 Requires: cmake-filesystem %description devel CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface. %package docs Summary: Documentation for CLI11 BuildArch: noarch %description docs Documentation for CLI11. %prep %autosetup -p0 -n CLI11-%{version} # Fix the install on 64-bit systems if [ "%{_lib}" = "lib64" ]; then sed -i 's,lib/cmake,lib64/cmake,g' CMakeLists.txt fi # Work around undefined behavior in checked_multiply sed -i 's/-Wshadow/& -fwrapv/' CMakeLists.txt %build %cmake . %make_build # Build the documentation cd docs doxygen Doxyfile %install %make_install %check make test %files devel %doc CHANGELOG.md README.md %license LICENSE %{_includedir}/CLI/ %{_libdir}/cmake/CLI11/ %files docs %doc docs/html docs/CLI11.svg docs/CLI11_100.png docs/CLI11_300.png %changelog * Wed Dec 15 2021 jiangxinyu <jiangxinyu@kylinos.cn> - 1.8.0-3 - Remove the release suffix * Fri Oct 8 2021 gaochong <gaochong@uniontech.com> - 1.8.0-2 - remove google testcase * Fri Oct 8 2021 gaochong <gaochong@uniontech.com> - 1.8.0-1 - Initial RPM
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2