summaryrefslogtreecommitdiffstats
path: root/acheck-rules.spec
blob: a4aaddbd15ab5b855de44ed3a70657768a4070cc (plain)
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
Name:           acheck-rules
Version:        0.3.1
Release:        9%{?dist}
Summary:        Rules for acheck

Group:          Applications/Text
License:        GPLv2+
URL:            http://packages.debian.org/etch/%{name}
Source0:        http://ftp.de.debian.org/debian/pool/main/a/acheck-rules/%{name}_%{version}.tar.gz
BuildRequires:  /usr/bin/pod2man
BuildRequires:  gettext
BuildArch:      noarch

%description
Rules for acheck.

%prep
%setup -q -n %{name}-%{version}


%build
/usr/bin/pod2man man/acheck-rules.5.pod acheck-rules.5
/usr/bin/pod2man man/acheck-rules.fr.5.pod acheck-rules.fr.5


%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/acheck
cp -rp rules $RPM_BUILD_ROOT/%{_datadir}/acheck/

mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5/
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man5/fr
install -p -m 644 acheck-rules.5 $RPM_BUILD_ROOT/%{_mandir}/man5/
install -p -m 644 acheck-rules.fr.5 $RPM_BUILD_ROOT/%{_mandir}/man5/fr/acheck-rules.5


%files
%defattr(-,root,root,-)
%doc debian/changelog debian/copyright
%{_datadir}/acheck/rules/
%{_mandir}/man5/*.5*
%{_mandir}/man5/fr/*.5*


%changelog
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Sun Mar 03 2013 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.3.1-8
- Use /usr/bin/pod2man to generate manpages (Fix FTBFS #913871).
- Move man generation into %%build.
- Modernize spec.

* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Jun 15 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.3.1-2
- Fixed Source0 url and removed acheck dependency

* Fri Jun 12 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.3.1-1
- Initial package