[go: up one dir, main page]

File: suck.spec

package info (click to toggle)
suck 4.3.2-11
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,544 kB
  • sloc: ansic: 12,075; perl: 528; sh: 363; makefile: 352; java: 144
file content (53 lines) | stat: -rw-r--r-- 1,227 bytes parent folder | download | duplicates (3)
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
%define version 4.3.2
%define name suck
%define release 1

Name: %{name}
Summary: suck - download news from remote NNTP server
Version: %{version}
Release: %{release}
Source: http://www.sucknews.org/%{name}-%{version}.tar.gz
Packager: Robert Yetman <bobyetman@sucknews.org>
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Copyright: Unknown
Group: News

%description
This package contains software for copying news from an NNTP server to your
local machine, and copying replies back up to an NNTP server.  It works
with most standard NNTP servers, including INN, CNEWS, DNEWS, and typhoon.

%prep
if [ "${RPM_BUILD_ROOT}" != '/' ] ; then rm -rf ${RPM_BUILD_ROOT} ; fi

%setup
./configure --prefix=${RPM_BUILD_ROOT}/usr --mandir=${RPM_BUILD_ROOT}%{_mandir}

%build
make

%install
make \
    install

%clean
if [ "${RPM_BUILD_ROOT}" != '/' ] ; then rm -rf ${RPM_BUILD_ROOT} ; fi

%post
echo Please look in %{_docdir}/%{name}-%{version} for example scripts

%files

%defattr(0644,root,root,0755)
%doc README CHANGELOG sample

%defattr(-,root,root,0755)
%{_bindir}/suck
%{_bindir}/rpost
%{_bindir}/testhost
%{_bindir}/lmove

%{_mandir}/man1/suck.1*
%{_mandir}/man1/rpost.1*
%{_mandir}/man1/testhost.1*
%{_mandir}/man1/lmove.1*