* Add missing <string.h> include (#4) * Fix usage of non-standard LDFLAGS (#5) * configure.ac: properly test $with_inn_{lib,include} (#5) OBS-URL: https://build.opensuse.org/package/show/server:mail/suck?expand=0&rev=13
57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package suck
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: suck
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: inn-devel
|
|
BuildRequires: openssl-devel
|
|
Version: 4.3.5
|
|
Release: 0
|
|
URL: https://github.com/lazarus-pkgs/suck
|
|
Summary: Reading News Offline
|
|
License: SUSE-Public-Domain
|
|
Group: Productivity/Networking/News/Utilities
|
|
%{?libperl_requires}
|
|
Source: https://github.com/lazarus-pkgs/%{name}/archive/%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Suck is a program used to grab news from a remote NNTP news server and
|
|
bring it to a local machine, without having the remote server do
|
|
anything special.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -fi
|
|
%configure --with-inn-lib=/usr/lib/news/lib/ --with-inn-include=/usr/lib/news/include/
|
|
# parallel building doesnt work
|
|
make
|
|
|
|
%install
|
|
%make_install DESTDIR="%{?buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
/usr/bin/*
|
|
%doc %{_mandir}/man1/*
|
|
|
|
%changelog
|