]> git.pld-linux.org Git - packages/NewsCache.git/blob - NewsCache.spec
- fixed config files names
[packages/NewsCache.git] / NewsCache.spec
1 Summary:        News Cache 
2 Summary(pl):    nisza dla newsów 
3 Name:           NewsCache
4 Version:        1.1.92
5 Release:        1
6 Epoch:          0
7 License:        GPL
8 Group:          Applications/News
9 Source0:        http://www.hstraub.at/linux/downloads/src/%{name}-%{version}.tar.gz 
10 # Source0-md5:  8cd84c15429fbf70b9f24ab877387ab3
11 Patch0:         %{name}-ac_no_debug_flag_hack.patch
12 URL:            http://members.aon.at/hstraub/linux/newscache
13 BuildRequires:  socket++-devel
14 BuildRequires:  libwrap-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _sysconfdir     /etc/%{name}
18
19 %description
20 NewsCache is a free cache server for USENET News. NewsCache acts to
21 news reading clients like a news server, except that it stores only
22 those articles that have been requested by at least one client.
23 NewsCache targets problems of the current News System like network
24 bandwidth consumption or the IO load caused by news clients.
25
26 %description -l pl
27 NewsCache to wolnodostêpny serwer keszuj±cy dla sieci USENET. NewsCache
28 jest widziany jako serwer nntp, ale przechowuje tylko te artyku³y o które choæ jeden klient poprosi³.
29 NewsCache rozwi±zuje problemy takie jak zajmowanie pasma czy obci±¿enie IO... (NYF!!!)
30
31 %prep
32 %setup -q 
33 %patch0 -p0
34
35 %build
36 %define specflags '-O0'
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/newscache.conf-dist $RPM_BUILD_ROOT%{_sysconfdir}/newscache.conf
50 mv -f  $RPM_BUILD_ROOT%{_sysconfdir}/newscache.auth-dist $RPM_BUILD_ROOT%{_sysconfdir}/newscache.auth
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog NEWS README THANKS TODO
58 %attr(755,root,root) %{_bindir}/*
59 %attr(755,root,root) %{_sbindir}/*
60 %{_mandir}/man?/*
61 %{_infodir}/*
62 %{_sysconfdir}
63 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.052615 seconds and 4 git commands to generate.