Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
mcpp
mcpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mcpp.spec of Package mcpp
# # spec file for package mcpp # # 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: mcpp Version: 2.7.2.1 Release: 0 Summary: Matsui's C Preprocessor License: BSD-3-Clause Group: Development/Languages/C and C++ URL: https://mcpp.sourceforge.net/ Source0: https://github.com/museoa/mcpp/archive/refs/tags/%{version}.tar.gz Patch0: %{name}-2.7.2.1.diff Patch1: mcpp-c99.patch %description mcpp is a small and portable C/C++ preprocessor implementing all of C90, C99 and C++98. %define _libname libmcpp0 %package -n %{_libname} Summary: The shared library of Matsui's C Preprocessor Group: Development/Libraries/C and C++ %description -n %{_libname} mcpp is a small and portable C/C++ preprocessor implementing all of C90, C99 and C++98. This package holds the shared libraries of libev. %package devel Summary: Development files for mcpp Group: Development/Libraries/C and C++ Requires: %{_libname} = %{version} Requires: %{name} = %{version} %description devel mcpp is a small and portable C/C++ preprocessor implementing all of C90, C99 and C++98. This package holds the development files for libev. %prep %autosetup -p1 %build export CFLAGS="%{optflags} -D_BSD_SOURCE" %configure --enable-mcpplib %make_build %install %make_install rm -rf %{buildroot}%{_datadir}/doc/mcpp rm -rf %{buildroot}%{_libdir}/libmcpp.*a %ldconfig_scriptlets -n %{_libname} %files %license LICENSE %doc doc/mcpp-manual.html NEWS README %{_bindir}/* %{_mandir}/man1/mcpp.1%{?ext_man} %files -n %{_libname} %{_libdir}/libmcpp.so.0* %files devel %{_includedir}/mcpp_*.h %{_libdir}/libmcpp.so %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