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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30