Group :: Other
RPM: anti-cppcheck
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define pyname anticppcheck
%define thislibdir %{python3_sitelibdir_noarch}/%{pyname}
%define thisdocdir %{_defaultdocdir}/%{name}
%define ax_ver 0.7
Name: anti-cppcheck
Version: 0.5.0
Release: alt1
Summary: Utility that helps to handle reports produced by cppcheck
License: GPLv3
Group: Other
Packager: Alexey Appolonov <alexey at altlinux.org>
# http://git.altlinux.org/people/alexey/packages/?p=%{name}.git
Source: %{name}-%{version}.tar
BuildArch: noarch
BuildRequires: python3-devel
Requires: python3
Requires: python3-module-ax >= %{ax_ver}
%description
%{name} can be used to handle reports produced by cppcheck - it can convert
error and warning messages to more generic format and present them as united
list, so a user can then give generic commentaries to multiple messages at once,
and afterwards this tool can join those commentaries with an initial report;
It also can help to analyze given reports and to find specified types of error/
warning messages in those reports.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
%prep
%setup
%build
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{thislibdir}
mkdir -p %{buildroot}%{thisdocdir}
# Executables
cp %{name}-analyze %{buildroot}%{_bindir}
cp %{name}-comment %{buildroot}%{_bindir}
cp %{name}-find %{buildroot}%{_bindir}
# Modules
cp %{pyname}/*.py %{buildroot}%{thislibdir}
# Documentation
cp COPYING %{buildroot}%{thisdocdir}
%files
%{_bindir}/%{name}*
%{thislibdir}
%{thisdocdir}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
%changelog
…
Todas as alterações você pod ver aqui
%define thislibdir %{python3_sitelibdir_noarch}/%{pyname}
%define thisdocdir %{_defaultdocdir}/%{name}
%define ax_ver 0.7
Name: anti-cppcheck
Version: 0.5.0
Release: alt1
Summary: Utility that helps to handle reports produced by cppcheck
License: GPLv3
Group: Other
Packager: Alexey Appolonov <alexey at altlinux.org>
# http://git.altlinux.org/people/alexey/packages/?p=%{name}.git
Source: %{name}-%{version}.tar
BuildArch: noarch
BuildRequires: python3-devel
Requires: python3
Requires: python3-module-ax >= %{ax_ver}
%description
%{name} can be used to handle reports produced by cppcheck - it can convert
error and warning messages to more generic format and present them as united
list, so a user can then give generic commentaries to multiple messages at once,
and afterwards this tool can join those commentaries with an initial report;
It also can help to analyze given reports and to find specified types of error/
warning messages in those reports.
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
%prep
%setup
%build
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{thislibdir}
mkdir -p %{buildroot}%{thisdocdir}
# Executables
cp %{name}-analyze %{buildroot}%{_bindir}
cp %{name}-comment %{buildroot}%{_bindir}
cp %{name}-find %{buildroot}%{_bindir}
# Modules
cp %{pyname}/*.py %{buildroot}%{thislibdir}
# Documentation
cp COPYING %{buildroot}%{thisdocdir}
%files
%{_bindir}/%{name}*
%{thislibdir}
%{thisdocdir}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
%changelog
…
Todas as alterações você pod ver aqui