-
Notifications
You must be signed in to change notification settings - Fork 0
/
sitemap.spec
78 lines (67 loc) · 2.81 KB
/
sitemap.spec
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
73
74
75
76
77
Name: sitemap
Version: 2.7.2
# Don't forget tu up
Release: 1
Summary: makes a site map page for you from description metadata
URL: http://www.catb.org/~esr/sitemap/
Source0: %{name}-%{version}.tar.gz
License: MIT-like
Group: Utilities/System
BuildRoot: %{_tmppath}/%{name}-root
%description
sitemap indexes all pages under the current directory and writes an
HTML map page to standard output. The code looks for description
information for each page in a meta `description' header; if it doesn't
find one, the page is omitted from the index.
%prep
%setup -q
%build
make sitemap.1
%install
[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"%{_bindir}
mkdir -p "$RPM_BUILD_ROOT"%{_mandir}/man1/
cp sitemap "$RPM_BUILD_ROOT"%{_bindir}
cp sitemap.1 "$RPM_BUILD_ROOT"%{_mandir}/man1/
%clean
[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
%files
%doc README sitemaprc
%defattr(-,root,root,-)
%{_mandir}/man1/sitemap.1*
%{_bindir}/sitemap
%changelog
* Fri Sep 24 2004 Eric S. Raymond <[email protected]> - 2.6-1
- Added Portuguese support. Make it ignore Subversion directories.
* Mon Aug 2 2004 Eric S. Raymond <[email protected]> - 2.5-1
- Change default configuration to reflect new site.
* Mon Dec 29 2003 Eric S. Raymond <[email protected]> 2.4-1
- RPMs can be built by a non-root user.
# 1.2 changes by Dave Pearson <[email protected]>.
# 1.3 changes by Jean-Philippe Argaud <[email protected]>.
# 1.4 changes by ESR.
# 1.5 fix suggested by Imre Simon.
# 1.6 Corrected month array.
# 1.7 Jean-Philippe Argaud's change to support separator icons.
# Erik Rossen <[email protected]> fixed a bug with wrapped meta tags.
# Swedish-language support added.
# 1.8 German-language support by Michael Wiedmann. Recognize .htm files.
# 1.9 Norwegian-language support added, national month names added by
# Erik I. Bolsø <[email protected]>
# 1.10 Changes by Cosimo Vagarini <[email protected]>
# - Italian language support.
# - Y2K Compliance.
# - Small bug fixed.
# 1.11 Ported to CGI by Immo Huneke <[email protected]>.
# Finnish-language support by Jussi Vestman.
# 1.12 Erik Rossen fixed bugs in French and English date strings
# and recognition of meta tags with extra spaces in attributes
# 1.13 Erik Rossen noticed a Y2K bug.
# 1.14 Matej Cepl added Czech support.
# 1.99.0 Rewrite of sitemap-1.9 in Python by Tom Bryan <[email protected]>
# Updated by Tom Bryan to incorporate changes through sitemap-1.13
# 2.0 Czech support merged in by ESR. First public Python version.
# 2.1 Spanish support from Pablo Marin Ramon <[email protected]>.
# Documentation masters moved from POD to DocBook.
# 2.2 Minor corrections to Czech localization by Matej Cepl.
# 2.3 Make attribute recognition a little smarter.