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