packages: mcpp/mcpp.spec - %undefine __cxx to fix build without C++ compier...

sparky sparky at pld-linux.org
Fri Apr 2 15:33:25 CEST 2010


Author: sparky                       Date: Fri Apr  2 13:33:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- %undefine __cxx to fix build without C++ compier
- better %files
- fixed shadzik's encoding
- spaces->tabs
- TODO: clarify License

---- Files affected:
packages/mcpp:
   mcpp.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/mcpp/mcpp.spec
diff -u packages/mcpp/mcpp.spec:1.3 packages/mcpp/mcpp.spec:1.4
--- packages/mcpp/mcpp.spec:1.3	Thu Apr  1 22:06:33 2010
+++ packages/mcpp/mcpp.spec	Fri Apr  2 15:33:20 2010
@@ -1,10 +1,10 @@
 # $Revision$, $Date$
-
 Summary:	A C/C++ preprocessor
 Summary(pl.UTF-8):	Preprocesor dla języków C/C++
 Name:		mcpp
 Version:	2.7.2
 Release:	1
+# XXX: is it distributable ?
 License:	Custom (see LICENSE)
 Group:		Applications
 Source0:	http://downloads.sourceforge.net/mcpp/%{name}-%{version}.tar.gz
@@ -12,6 +12,8 @@
 URL:		http://mcpp.sourceforge.net/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%undefine	__cxx
+
 %description
 Mcpp is a C/C++ preprocessor.
 
@@ -19,22 +21,22 @@
 Mcpp to preprocesor dla języków C/C++
 
 %package devel
-Summary:        Header files for ... library
-Summary(pl.UTF-8):      Pliki nag?~Bówkowe biblioteki ...
-Group:          Development/Libraries
-Requires:      %{name} = %{version}-%{release}
+Summary:	Header files for ... library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki ...
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 
 %description devel
 Header files for mcpp library.
 
 %description devel -l pl.UTF-8
-Pliki nagłó³wkowe biblioteki mcpp.
+Pliki nagłówkowe biblioteki mcpp.
 
 %package static
-Summary:        Static mcpp library
-Summary(pl.UTF-8):      Statyczna biblioteka mcpp
-Group:          Development/Libraries
-Requires:       %{name}-devel = %{version}-%{release}
+Summary:	Static mcpp library
+Summary(pl.UTF-8):	Statyczna biblioteka mcpp
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Static mcpp library.
@@ -73,15 +75,15 @@
 %defattr(644,root,root,755)
 %doc NEWS README LICENSE
 %attr(755,root,root) %{_bindir}/mcpp
+%attr(755,root,root) %{_libdir}/libmcpp.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libmcpp.so.0
-%attr(755,root,root) %{_libdir}/libmcpp.so.0.3.0
 %{_mandir}/man1/mcpp.1*
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/*.h
+%{_includedir}/mcpp_*.h
+%attr(755,root,root) %{_libdir}/libmcpp.so
 %{_libdir}/libmcpp.la
-%{_libdir}/libmcpp.so
 
 %files static
 %defattr(644,root,root,755)
@@ -93,6 +95,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/04/02 13:33:20  sparky
+- %undefine __cxx to fix build without C++ compier
+- better %files
+- fixed shadzik's encoding
+- spaces->tabs
+- TODO: clarify License
+
 Revision 1.3  2010/04/01 20:06:33  shadzik
 - ghost soname symlink
 
@@ -102,4 +111,3 @@
 
 Revision 1.1  2010/04/01 19:40:36  shadzik
 - init
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mcpp/mcpp.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list