rpms/newsx/devel newsx-make.patch, NONE, 1.1 newsx.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Sun Oct 1 12:06:47 UTC 2006


Author: rathann

Update of /cvs/extras/rpms/newsx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19275/devel

Modified Files:
	.cvsignore sources 
Added Files:
	newsx-make.patch newsx.spec 
Log Message:
auto-import newsx-1.6-3 on branch devel from newsx-1.6-3.src.rpm

newsx-make.patch:

--- NEW FILE newsx-make.patch ---
--- newsx-1.6/configure.ac.orig	2003-05-18 12:57:24.000000000 +0200
+++ newsx-1.6/configure.ac	2003-11-01 17:49:44.632034248 +0100
@@ -690,7 +690,6 @@
 dnl Checks for library functions.
 AC_FUNC_VPRINTF
 AC_FUNC_MMAP
-AC_CHECK_LIB(nsl, main)
 AC_CHECK_LIB(inet, main)
 AC_CHECK_LIB(socket, main)
 AC_CHECK_LIB(gen, syslog)
@@ -719,7 +718,7 @@
     dnl Note that double inclusion of -lstorage seem to be required
     dnl on some systems to get the QIO-functions
     dnl
-    LIBS="$LIBS -linn -lstorage"
+    LIBS="$LIBS -linnhist -linn -lstorage"
     AC_CHECK_LIB(storage, IsToken, HAVE_LIBSTORAGE=1)
 
     dnl
@@ -774,7 +773,7 @@
     dnl Note that double inclusion of -lstorage seem to be required
     dnl on some systems to get the QIO-functions
     dnl
-    MORELIBS2="-lstorage $MORELIBS2 -lstorage"
+    MORELIBS2="-lstorage -linnhist $MORELIBS2 -lstorage"
     dnl BUG: remove...
     dnl LIBS="-lstorage $LIBS -lstorage"
     AC_DEFINE_UNQUOTED(HAVE_LIBSTORAGE, 1, [for INN 2.x: storage-API available?])
--- newsx-1.6/src/Makefile.am.orig	2003-05-18 12:57:24.000000000 +0200
+++ newsx-1.6/src/Makefile.am	2003-11-01 18:12:59.022054744 +0100
@@ -99,16 +99,16 @@
 
 # Prepare a place for newsx in the news spool: 
 install-exec-local:
-	if test ! -d ${INHOSTS} ; then \
-	    if test -d ${SPOOL}/in.hosts ; then \
+	if test ! -d $(DESTDIR)${INHOSTS} ; then \
+	    if test -d $(DESTDIR)${SPOOL}/in.hosts ; then \
 		echo The default location has changed, so we move ;\
 		echo the directory ${SPOOL}/in.hosts to ${INHOSTS} ;\
-		mv ${SPOOL}/in.hosts ${INHOSTS} ;\
+		mv $(DESTDIR)${SPOOL}/in.hosts $(DESTDIR)${INHOSTS} ;\
 	    else \
-		echo Creating directory ${INHOSTS} ;\
+		echo Creating directory $(DESTDIR)${INHOSTS} ;\
 		umask @INN_NEWSUMASK@ ;\
-		mkdir ${INHOSTS} ;\
-		chown ${NEWSUSER} ${INHOSTS} ;\
+		install -d $(DESTDIR)${INHOSTS} ;\
+		[ `id -u` -gt 0 ] || chown ${NEWSUSER} $(DESTDIR)${INHOSTS} ;\
 	    fi ;\
 	fi
 


--- NEW FILE newsx.spec ---
# $Revision: 1.5 $, $Date: 2006/07/28 17:49:36 $
Name:		newsx
Version:	1.6
Release:	3%{?dist}
License:	GPL
Summary:	NNTP news exchange utility
Summary(pl):	Narzędzie do wymiany newsów po NNTP
Group:		Applications/Internet
Source0:	ftp://ftp.kvaleberg.com/pub/%{name}-%{version}.tar.gz
# Source0-md5:	ad9c76c53d5c7d21d86bec805fe8cd34
Patch0:		%{name}-make.patch
URL:		http://www.kvaleberg.com/newsx.html
BuildRequires:	inn-devel
BuildRequires:	automake
BuildRequires:	autoconf
Requires:	inn
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Newsx is an NNTP client that will connect to a remote NNTP server and
post outgoing news articles batched by the news system (e.g. INN), as
well as fetch incoming articles.

%description -l pl
Newsx jest klientem NNTP który łączy się ze zdalnym serwerem i wysyła
wychodzące artykuły zgromadzone przez system newsów (np. INN) oraz
pobiera przychodzące artykuły.

%prep
%setup -q
%patch0 -p1

%build
%{__aclocal}
%{__autoconf}
%{__autoheader}
%{__automake}
%configure

%{__make} %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog COPYING FAQ NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%attr(770,root,news) %dir /var/spool/news/inhosts
%{_mandir}/man[158]/*

%changelog
* Fri Jul 27 2006 Dominik Mierzejewski <rpm at greysector.net> 1.6-3
- remove unnecessary Provides: tag

* Sun Apr 02 2006 Dominik Mierzejewski <rpm at greysector.net> 1.6-2
- fix BuildReqs

* Sat Jan 07 2006 Dominik Mierzejewski <rpm at greysector.net> 1.6-1
- FE compliance

* Sun Sep 25 2005 Dominik Mierzejewski <rpm at greysector.net>
- rebuilt for Fedora based on PLD specfile


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/newsx/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Oct 2006 12:05:00 -0000	1.1
+++ .cvsignore	1 Oct 2006 12:06:47 -0000	1.2
@@ -0,0 +1 @@
+newsx-1.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/newsx/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Oct 2006 12:05:00 -0000	1.1
+++ sources	1 Oct 2006 12:06:47 -0000	1.2
@@ -0,0 +1 @@
+ad9c76c53d5c7d21d86bec805fe8cd34  newsx-1.6.tar.gz




More information about the fedora-extras-commits mailing list