Projects
home:Eustace:branches:Eulaceura:Factory
mcpp
_service:obs_scm:mcpp.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:mcpp.spec of Package mcpp
Name: mcpp Version: 2.7.2 Release: 30 Summary: A portable C preprocessor License: BSD URL: http://mcpp.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: backport-mcpp.2.7.2.patch Patch1: backport-CVE-2019-14274-05-gniibe-fix-13.patch BuildRequires: gcc chrpath Provides: libmcpp Obsoletes: libmcpp %description C/C++ preprocessor defines and expands macros and processes '#if', '#include' and some other directives. MCPP is an alternative C/C++ preprocessor with the highest conformance. It supports multiple standards: K&R, ISO C90, ISO C99, and ISO C++98. MCPP is especially useful for debugging a source program which uses complicated macros and also useful for checking portability of a source. Though mcpp could be built as a replacement of GCC's resident proprocessor or as a stand-alone program without using library build of mcpp, this package installs only a program named 'mcpp' which links shared library of mcpp and behaves independent from GCC. This package contains a library build of mcpp. %package devel Summary: Development package for library of mcpp Requires: mcpp = %{version} Provides: libmcpp-devel Obsoletes: libmcpp-devel %description devel This is the development package for mcpp. %package_help %prep %autosetup -n %{name}-%{version} -p1 %build %configure --enable-mcpplib %make_build %install %make_install rm -f %{buildroot}%{_docdir}/%{name}/%{name}-manual-jp* rm -f %{buildroot}%{_libdir}/libmcpp*a #remove rpath chrpath -d %{buildroot}%{_bindir}/%{name} mkdir -p %{buildroot}/etc/ld.so.conf.d echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %{_docdir}/%{name}/LICENSE %{_bindir}/%{name} %{_libdir}/libmcpp.so.* %config(noreplace) /etc/ld.so.conf.d/* %files devel %defattr(-, root, root) %{_libdir}/libmcpp.so %{_includedir}/mcpp_*.h %files help %doc ChangeLog %{_docdir}/%{name}/{README,NEWS,*.html} %{_mandir}/man1/%{name}.1.gz %changelog * Wed Jun 12 2024 fuanan <fuanan3@h-partners.com> - 2.7.2-30 - Type: bugfix - ID: NA - SUG: NA - DESC: remove rpath and runpath of exec files and libraries * Tue Oct 25 2022 yanglongkang<yanglongkang@h-partners.com> - 2.7.2-29 - Type: bugfix - ID: NA - SUG: NA - DESC: rebuild for next release * Thu Jul 28 2022 fuanan <fuanan3@h-partners.com> - 2.7.2-28 - Type:requirements - ID:NA - SUG:NA - DESC:Bump release * Tue Jul 20 2021 fuanan <fuanan3@huawei.com> - 2.7.2-27 - Remove redundant gdb from BuildRequires * Tue Jan 5 2021 zoulin<zoulin13@huawei.com> - 2.7.2-26 - Type:CVE - ID:NA - SUG:NA - DESC:fix CVE-2019-14274 * Wed Mar 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.7.2-25 - Type:bugfix - ID:NA - SUG:NA - DESC:fix crash * Mon Sep 23 2019 shenyangyang<shenyangyang4@huawei.com> - 2.7.2-24 - Type:enhancement - ID:NA - SUG:NA - DESC:remove patch * Mon Sep 23 2019 shenyangyang<shenyangyang4@huawei.com> - 2.7.2-23 - Type:enhancement - ID:NA - SUG:NA - DESC:add help package * Mon Aug 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.7.2-22 - Package init
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