packages: cppcheck/cppcheck.spec - package cppcheck(1) manual - really use ...
qboosh
qboosh at pld-linux.org
Fri Jun 17 17:43:13 CEST 2011
Author: qboosh Date: Fri Jun 17 15:43:13 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- package cppcheck(1) manual
- really use system tinyxml
---- Files affected:
packages/cppcheck:
cppcheck.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/cppcheck/cppcheck.spec
diff -u packages/cppcheck/cppcheck.spec:1.1 packages/cppcheck/cppcheck.spec:1.2
--- packages/cppcheck/cppcheck.spec:1.1 Fri Jun 17 14:08:54 2011
+++ packages/cppcheck/cppcheck.spec Fri Jun 17 17:43:08 2011
@@ -21,6 +21,7 @@
BuildRequires: libxslt-progs
BuildRequires: pcre-devel
BuildRequires: rpmbuild(macros) >= 1.603
+BuildRequires: sed >= 4.0
BuildRequires: tinyxml-devel
%if %{with gui}
BuildRequires: QtGui-devel >= 4
@@ -58,6 +59,8 @@
%setup -q
%patch0 -p1
+%{__sed} -i -e 's,-I[^ ]*/externals,,g' lib/lib.pri
+
%build
%{__make} all man \
CXX="%{__cxx}" \
@@ -85,7 +88,10 @@
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ TINYXML="%{_libdir}/libtinyxml.so"
+
+install -Dp cppcheck.1 $RPM_BUILD_ROOT%{_mandir}/man1/cppcheck.1
%if %{with gui}
install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/cppcheck-gui}
@@ -102,6 +108,7 @@
%defattr(644,root,root,755)
%doc AUTHORS Changelog readme.txt
%attr(755,root,root) %{_bindir}/cppcheck
+%{_mandir}/man1/cppcheck.1*
%if %{with gui}
%files gui
@@ -128,5 +135,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2011/06/17 15:43:08 qboosh
+- package cppcheck(1) manual
+- really use system tinyxml
+
Revision 1.1 2011/06/17 12:08:54 qboosh
- new
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cppcheck/cppcheck.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list