Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
mcpp
mcpp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mcpp.spec of Package mcpp
# # spec file for package mcpp (Version 2.7.2) # # Copyright (c) 2009 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/ # # norootforbuild Name: mcpp Url: http://mcpp.sourceforge.net/ License: BSD-3-Clause Group: Development/Languages/C and C++ Summary: Matsui's C Preprocessor Version: 2.7.2 Release: 1 Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description mcpp is a small and portable C/C++ preprocessor implementing all of C90, C99 and C++98. Authors: -------- Kiyoshi Matsui <kmatsui@t3.rim.or.jp> %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 %setup -q %patch0 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -D_BSD_SOURCE" %configure --enable-mcpplib make %{?jobs:-j %jobs} %install %makeinstall rm -rf $RPM_BUILD_ROOT/usr/share/doc/mcpp rm -rf %{buildroot}%{_libdir}/libmcpp.*a %clean rm -rf $RPM_BUILD_ROOT %post -n %{_libname} -p /sbin/ldconfig %postun -n %{_libname} -p /sbin/ldconfig %files %defattr(-, root, root) %doc doc/mcpp-manual.html LICENSE NEWS README %{_prefix}/bin/* %{_mandir}/man1/mcpp.1.gz %files -n %{_libname} %defattr(-,root,root,-) %{_libdir}/libmcpp.so.* %files devel %defattr(-,root,root,-) %{_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