/[packages]/cauldron/rpmlint/current/SPECS/rpmlint.spec
ViewVC logotype

Contents of /cauldron/rpmlint/current/SPECS/rpmlint.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 95251 - (show annotations) (download)
Fri May 6 00:52:20 2011 UTC (12 years, 11 months ago) by misc
File size: 974 byte(s)
- new version 1.2

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

  ViewVC Help
Powered by ViewVC 1.1.30