1 |
Name: rpmlint |
Name: rpmlint |
2 |
Version: 1.4 |
Version: 1.4 |
3 |
Release: %mkrel 1 |
Release: %mkrel 2 |
4 |
Summary: RPM correctness checker |
Summary: RPM correctness checker |
5 |
License: GPLv2+ |
License: GPLv2+ |
6 |
Group: Development/Other |
Group: Development/Other |
7 |
URL: http://rpmlint.zarb.org/ |
URL: http://rpmlint.zarb.org/ |
8 |
Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.xz |
Source0: http://rpmlint.zarb.org/download/%{name}-%{version}.tar.xz |
9 |
Source1: rpmlint.config |
Source1: %{name}.config |
10 |
BuildRequires: python-rpm |
BuildRequires: python-rpm |
11 |
BuildRequires: bash-completion |
BuildRequires: bash-completion |
12 |
Requires: python-rpm python-magic desktop-file-utils |
Requires: python-rpm python-magic desktop-file-utils |
13 |
Suggests: python-enchant |
Suggests: python-enchant hunspell-en |
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
|
|
16 |
%description |
%description |
17 |
Rpmlint is a tool to check common errors on rpm packages. |
Rpmlint is a tool to check common errors on rpm packages. |
18 |
Binary and source packages can be checked. |
Binary and source packages can be checked. |
19 |
|
|
20 |
|
|
21 |
%prep |
%prep |
22 |
%setup -q |
%setup -q |
23 |
|
|
24 |
%build |
%build |
25 |
export COMPILE_PYC=1 |
export COMPILE_PYC=1 |
26 |
%{make} |
%make |
27 |
|
|
28 |
%install |
%install |
29 |
%{makeinstall_std} |
%makeinstall_std |
30 |
cp -a %{SOURCE1} %{buildroot}/%{_datadir}/%{name}/config |
cp -a %{_sourcedir}/%{name}.config %{buildroot}/%{_datadir}/%{name}/config |
31 |
|
|
32 |
mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d/ |
mkdir -p %{buildroot}/%{_datadir}/%{name}/config.d/ |
33 |
|
|
34 |
%files |
%files |
|
%defattr(-,root,root,0755) |
|
35 |
%doc ChangeLog README* |
%doc ChangeLog README* |
36 |
%{_bindir}/* |
%{_bindir}/* |
37 |
%{_datadir}/%{name} |
%{_datadir}/%{name} |
38 |
%{_mandir}/man1/* |
%{_mandir}/man1/* |
39 |
%config(noreplace) %{_sysconfdir}/%{name}/config |
%config(noreplace) %{_sysconfdir}/%{name}/config |
40 |
%dir %{_sysconfdir}/%{name}/ |
%dir %{_sysconfdir}/%{name}/ |
41 |
%{_datadir}/bash-completion/completions/rpmlint |
%{_datadir}/bash-completion/completions/%{name} |
42 |
%{_datadir}/bash-completion/completions/rpmdiff |
%{_datadir}/bash-completion/completions/rpmdiff |
|
|
|