Package cppcheck: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 Name: cppcheck Version: 1.58 Release: alt1 Summary: A tool for static C/C++ code analysis License: GPLv3 Group: Development/Tools Url: http://sourceforge.net/projects/cppcheck/ Source: http://downloads.sourceforge.net/cppcheck/cppcheck-%version.tar.bz2 BuildRequires: gcc-c++ docbook-style-xsl xsltproc libpcre-devel %description Static analysis of C/C++ code. Checks for: memory leaks, mismatching allocation-deallocation, buffer overrun, and many more. The goal is 0%% false positives. %prep %setup %build %make_build --silent --no-print-directory \ CXXFLAGS="%optflags -W -Werror" \ CPPFLAGS="$(pkg-config --cflags libpcre)" %make_build --silent --no-print-directory man # Generate html documentation xsltproc \ -o manual.html \ /usr/share/xml/docbook/xsl-stylesheets/xhtml/docbook.xsl man/manual.docbook %check %make_build --silent --no-print-directory test %install %makeinstall_std --silent --no-print-directory install -pD -m 644 %name.1 %buildroot%_man1dir/%name.1 %files %doc readme.txt manual.html %_bindir/%name %_man1dir/%name.1.* %changelog * Fri Feb 01 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.58-alt1 - Version 1.58 * Tue Jul 17 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.55-alt1 - Version 1.55 * Sat Sep 17 2011 Slava Semushin <php-coder@altlinux.ru> 1.50-alt1 - Updated to 1.50 * Fri May 06 2011 Slava Semushin <php-coder@altlinux.ru> 1.48-alt1 - Updated to 1.48 - I not maintain this package any more * Thu Feb 10 2011 Slava Semushin <php-coder@altlinux.ru> 1.47-alt1 - Updated to 1.47 * Wed Dec 29 2010 Slava Semushin <php-coder@altlinux.ru> 1.46.1-alt1 - Updated to 1.46.1 * Sat Oct 30 2010 Slava Semushin <php-coder@altlinux.ru> 1.45-alt1 - Updated to 1.45 * Fri Jul 16 2010 Slava Semushin <php-coder@altlinux.ru> 1.44-alt1 - Updated to 1.44 * Mon May 10 2010 Slava Semushin <php-coder@altlinux.ru> 1.43-alt1 - Updated to 1.43 * Thu Mar 11 2010 Slava Semushin <php-coder@altlinux.ru> 1.42-alt1 - Updated to 1.42 * Sun Jan 17 2010 Slava Semushin <php-coder@altlinux.ru> 1.40-alt1 - Updated to 1.40 * Sat Dec 12 2009 Slava Semushin <php-coder@altlinux.ru> 1.39-alt1 - Updated to 1.39 - Include manual.html to documentation * Sat Oct 31 2009 Slava Semushin <php-coder@altlinux.ru> 1.38-alt1 - Updated to 1.38 - Moved "make test" to %%check section * Wed Sep 23 2009 Slava Semushin <php-coder@altlinux.ru> 1.37-alt1 - Updated to 1.37 * Sun Aug 16 2009 Slava Semushin <php-coder@altlinux.ru> 1.35-alt1 - Updated to 1.35 * Sun Jul 12 2009 Slava Semushin <php-coder@altlinux.ru> 1.34-alt1 - Updated to 1.34 * Wed Jun 10 2009 Slava Semushin <php-coder@altlinux.ru> 1.33-alt1 - Updated to 1.33 - Run test suite during build * Mon May 11 2009 Slava Semushin <php-coder@altlinux.ru> 1.32-alt1 - Updated to 1.32 * Tue May 05 2009 Slava Semushin <php-coder@altlinux.ru> 1.31-alt1 - Initial build for ALT Linux |