]> git.pld-linux.org Git - packages/dnshistory.git/blame - dnshistory.spec
- tabs in preamble
[packages/dnshistory.git] / dnshistory.spec
CommitLineData
cfd5dc9f
PG
1# TODO:
2# - move man_fix patch to ac/am automatic generation, based on configure option
a7c5476e 3Summary: dnshistory - storing a history of DNS/Name changes
1246f1ba 4Summary(pl.UTF-8): dnshistory - przechowywanie historii zmian DNS/nazw
e44a8cba
PG
5Name: dnshistory
6%define _beta beta1
7Version: 1.3
20de9e4e 8Release: 0.%{_beta}.1
a7c5476e 9License: GPL v2+
e44a8cba
PG
10Group: Applications/Networking
11Source0: http://www.stedee.id.au/files/%{name}-%{version}-%{_beta}.tar.gz
12# Source0-md5: c9843e87412c1bdf8fb2ec5983f0c9c4
cfd5dc9f 13Patch0: %{name}-man_fix.patch
e44a8cba
PG
14URL: http://www.stedee.id.au/dnshistory/
15BuildRequires: db-devel
16BuildRequires: pcre-devel
17BuildRequires: zlib-devel
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
cfd5dc9f
PG
20%define _databasedir /var/lib/%{name}
21%define _dbfile %{name}.db
22
e44a8cba 23%description
a7c5476e 24dnshistory provides a means for storing a history of DNS/Name changes
25for the IP Addresses extracted from web log files. The major target
26being that multiple analyses of older log files do not require
27re-lookups of IP Address to FQDNs, and additionally maintain the
28accuracy of the lookup as it was then and not as it is now.
e44a8cba 29
204daabb
JR
30%description -l pl.UTF-8
31dnshistory daje możliwość przechowywania historii zmian DNS/nazw dla
32adresów IP wyciągniętych z plików logów WWW. Głównym zastosowaniem
33jest wielokrotne analizowanie starszych plików logów nie wymagające
34ciągłych przekształceń adresów IP na FQDN, a jednocześnie zachowujące
35rezultaty przekształceń z przeszłości.
5cfb2193 36
e44a8cba
PG
37%prep
38%setup -q -n %{name}-%{version}-%{_beta}
cfd5dc9f 39%patch0 -p1
e44a8cba
PG
40
41%build
cfd5dc9f
PG
42%configure \
43 --enable-database-dir=%{_databasedir} \
44 --enable-database-name=%{_dbfile}
e44a8cba
PG
45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
5cfb2193 49install -d $RPM_BUILD_ROOT%{_databasedir}
e44a8cba
PG
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
5cfb2193 54touch $RPM_BUILD_ROOT%{_databasedir}/%{_dbfile}
cfd5dc9f 55
e44a8cba
PG
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc AUTHORS ChangeLog NEWS
62%attr(755,root,root) %{_bindir}/%{name}
cfd5dc9f
PG
63%attr(755,stats,stats) %dir %{_databasedir}
64%ghost %{_databasedir}/%{_dbfile}
e44a8cba 65%{_mandir}/man1/*.1*
This page took 0.066214 seconds and 4 git commands to generate.