rpms/mcpp/devel .cvsignore, 1.4, 1.5 mcpp.spec, 1.5, 1.6 sources, 1.4, 1.5
Kiyoshi Matsui (kmatsui)
fedora-extras-commits at redhat.com
Tue May 20 05:34:50 UTC 2008
- Previous message (by thread): rpms/device-mapper-multipath/devel device-mapper-multipath.spec, 1.47, 1.48 linking_change.patch, 1.1, 1.2 makefiles_fix.patch, 1.1, 1.2
- Next message (by thread): rpms/qlandkarte/devel qlandkarte.spec, 1.5, 1.6 sources, 1.5, 1.6 qlandkarte-0.7.2-gcc43.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kmatsui
Update of /cvs/extras/rpms/mcpp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23293
Modified Files:
.cvsignore mcpp.spec sources
Log Message:
update to V.2.7.1
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mcpp/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 24 Mar 2008 13:54:24 -0000 1.4
+++ .cvsignore 20 May 2008 05:33:35 -0000 1.5
@@ -1 +1 @@
-mcpp-2.7.tar.gz
+mcpp-2.7.1.tar.gz
Index: mcpp.spec
===================================================================
RCS file: /cvs/extras/rpms/mcpp/devel/mcpp.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mcpp.spec 24 Mar 2008 13:54:24 -0000 1.5
+++ mcpp.spec 20 May 2008 05:33:35 -0000 1.6
@@ -1,8 +1,8 @@
-# spec file for mcpp / stand-alone-and-compiler-independent-build on fedora
+# spec file for mcpp / compiler-independent-library-build on fedora
Summary: Alternative C/C++ preprocessor
Name: mcpp
-Version: 2.7
+Version: 2.7.1
Release: 1%{?dist}
License: BSD
Group: Development/Languages
@@ -12,51 +12,95 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
-C/C++ preprocessor expands macros and processes '#if', '#include' and
-some other directives.
+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,
-implementated by Kiyoshi Matsui. It supports multiple standards: K&R,
-ISO C90, ISO C99, and ISO C++98. MCPP is especially useful for
-debugging the source program which use complicated macros and also
-useful for checking portability of the source.
+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 subroutine called from some other main program,
-this package installs only a stand-alone program named 'mcpp' which
-behaves independent from GCC.
+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.
%prep
%setup -q
%patch0 -p0 -b -z.euc-jp
%build
-%configure
-make CFLAGS="%{optflags}" %{?_smp_mflags}
+%configure --enable-mcpplib --disable-static
+make CFLAGS="%{optflags}"
%install
iconv -f euc-jp -t utf-8 doc-jp/mcpp-manual.html > doc-jp/mcpp-manual-jp.html
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+rm -f $RPM_BUILD_ROOT%{_libdir}/libmcpp.la
%files
%defattr(-,root,root,-)
%doc ChangeLog ChangeLog.old LICENSE NEWS README
-%doc doc/mcpp-manual.html
-%lang(ja) %doc doc-jp/mcpp-manual-jp.html
%{_datadir}/man/man1/%{name}.1.gz
%{_bindir}/%{name}
+%package -n libmcpp
+
+Summary: Alternative C/C++ preprocessor (library build)
+Group: Development/Languages
+
+%description -n libmcpp
+This package provides a library build of mcpp.
+
+%files -n libmcpp
+%defattr(-,root,root,-)
+%{_libdir}/libmcpp.so.*
+
+%post -n libmcpp -p /sbin/ldconfig
+%postun -n libmcpp -p /sbin/ldconfig
+
+%package -n libmcpp-devel
+
+Summary: Alternative C/C++ preprocessor (development package for library build)
+Group: Development/Languages
+Requires: libmcpp = %{version}
+
+%description -n libmcpp-devel
+Development package for libmcpp.
+
+%files -n libmcpp-devel
+%defattr(-,root,root,-)
+%{_libdir}/libmcpp.so
+%{_includedir}/mcpp_lib.h
+%{_includedir}/mcpp_out.h
+
+%package doc
+
+Summary: Alternative C/C++ preprocessor (manual for library build)
+Group: Documentation
+
+%description doc
+This package provides an html manual for mcpp.
+
+%files doc
+%defattr(-,root,root,-)
+%doc doc/mcpp-manual.html
+%lang(ja) %doc doc-jp/mcpp-manual-jp.html
+
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
-* Sun Mar 24 2008 Kiyoshi Matsui <kmatsui at t3.rim.or.jp> 2.7-1
+* Tue May 20 2008 Kiyoshi Matsui <kmatsui at t3.rim.or.jp> 2.7.1-1
- Upstream new release.
+- Change to library build.
+- Devide to 4 packages: mcpp, libmcpp, libmcpp-devel and mcpp-doc.
+- Thanks to Mary Ellen Foster for correcting this spec file.
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.6.4-3
-- Autorebuild for GCC 4.3
+* Sun Mar 24 2008 Kiyoshi Matsui <kmatsui at t3.rim.or.jp> 2.7-2
+- Upstream new release.
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 2.6.4-2
- Rebuild for selinux ppc32 issue.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mcpp/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 24 Mar 2008 13:54:24 -0000 1.4
+++ sources 20 May 2008 05:33:35 -0000 1.5
@@ -1 +1 @@
-14f9e4155aeb5812fc3ced6345caee02 mcpp-2.7.tar.gz
+375575ed6b305edd985c7adf9f36202e mcpp-2.7.1.tar.gz
- Previous message (by thread): rpms/device-mapper-multipath/devel device-mapper-multipath.spec, 1.47, 1.48 linking_change.patch, 1.1, 1.2 makefiles_fix.patch, 1.1, 1.2
- Next message (by thread): rpms/qlandkarte/devel qlandkarte.spec, 1.5, 1.6 sources, 1.5, 1.6 qlandkarte-0.7.2-gcc43.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list