rpms/snownews/devel snownews-1.5.6.1-destdir.patch, NONE, 1.1 snownews-1.5.6.1-manpath.patch, NONE, 1.1 snownews-1.5.6.1-nostrip.patch, NONE, 1.1 snownews.spec, 1.3, 1.4 snownews-1.5.3-buildroot.patch, 1.1, NONE snownews-1.5.3-manpath.patch, 1.1, NONE snownews-1.5.3-nostrip.patch, 1.1, NONE

Warren Togami (wtogami) fedora-extras-commits at redhat.com
Fri Mar 25 09:48:43 UTC 2005


Author: wtogami

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

Modified Files:
	snownews.spec 
Added Files:
	snownews-1.5.6.1-destdir.patch snownews-1.5.6.1-manpath.patch 
	snownews-1.5.6.1-nostrip.patch 
Removed Files:
	snownews-1.5.3-buildroot.patch snownews-1.5.3-manpath.patch 
	snownews-1.5.3-nostrip.patch 
Log Message:
1.5.6.1 and macroize dirs


snownews-1.5.6.1-destdir.patch:

--- NEW FILE snownews-1.5.6.1-destdir.patch ---
--- snownews-1.5.6.1/Makefile.orig	2005-02-25 00:13:44.962280604 -0500
+++ snownews-1.5.6.1/Makefile	2005-02-25 00:19:45.916256515 -0500
@@ -83,7 +83,7 @@
 		if [ ! -d "$(DESTDIR)$(PREFIX)/share/man/$$L/man1" ]; then \
 			mkdir -p $(DESTDIR)$(PREFIX)/share/man/$$L/man1; \
 		fi; \
-		$(INSTALL) -m 0644 $(DESTDIR)$(MAN)/$$L/snownews.1 $(PREFIX)/share/man/$$L/man1; \
+		$(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(PREFIX)/share/man/$$L/man1; \
 	done
 
 ### Cleanup ###

snownews-1.5.6.1-manpath.patch:

--- NEW FILE snownews-1.5.6.1-manpath.patch ---
--- snownews-1.5.6.1/Makefile.orig	2004-12-09 06:29:08.000000000 -0500
+++ snownews-1.5.6.1/Makefile	2005-02-25 00:08:02.098175876 -0500
@@ -73,17 +73,17 @@
 	done
 
 install-man: manpages
-	if [ ! -d "$(DESTDIR)$(PREFIX)/man/man1" ]; then \
-		mkdir -p $(DESTDIR)$(PREFIX)/man/man1; \
+	if [ ! -d "$(DESTDIR)$(PREFIX)/share/man/man1" ]; then \
+		mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1; \
 	fi
-	$(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(PREFIX)/man/man1
-	$(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(PREFIX)/man/man1
+	$(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(PREFIX)/share/man/man1
+	$(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(PREFIX)/share/man/man1
 	
 	for L in $(LANGS); do \
-		if [ ! -d "$(DESTDIR)$(PREFIX)/man/$$L/man1" ]; then \
-			mkdir -p $(DESTDIR)$(PREFIX)/man/$$L/man1; \
+		if [ ! -d "$(DESTDIR)$(PREFIX)/share/man/$$L/man1" ]; then \
+			mkdir -p $(DESTDIR)$(PREFIX)/share/man/$$L/man1; \
 		fi; \
-		$(INSTALL) -m 0644 $(DESTDIR)$(MAN)/$$L/snownews.1 $(PREFIX)/man/$$L/man1; \
+		$(INSTALL) -m 0644 $(DESTDIR)$(MAN)/$$L/snownews.1 $(PREFIX)/share/man/$$L/man1; \
 	done
 
 ### Cleanup ###

snownews-1.5.6.1-nostrip.patch:

--- NEW FILE snownews-1.5.6.1-nostrip.patch ---
--- snownews-1.5.6.1/Makefile.orig	2005-02-25 00:09:25.931552079 -0500
+++ snownews-1.5.6.1/Makefile	2005-02-25 00:12:47.288028006 -0500
@@ -60,7 +60,7 @@
 	if [ ! -d "$(DESTDIR)$(PREFIX)/bin" ]; then \
 		mkdir -p $(DESTDIR)$(PREFIX)/bin; \
 	fi
-	$(INSTALL) -s snownews $(DESTDIR)$(PREFIX)/bin
+	$(INSTALL) snownews $(DESTDIR)$(PREFIX)/bin
 	$(INSTALL) opml2snow $(DESTDIR)$(PREFIX)/bin
 	$(INSTALL) snowsync $(DESTDIR)$(PREFIX)/bin
 


Index: snownews.spec
===================================================================
RCS file: /cvs/extras/rpms/snownews/devel/snownews.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- snownews.spec	5 Mar 2005 21:10:24 -0000	1.3
+++ snownews.spec	25 Mar 2005 09:48:41 -0000	1.4
@@ -1,16 +1,16 @@
-Name:		snownews
-Version:	1.5.3
-Release:	4
-Summary:	RSS/RDF news aggregator
-Group:		Applications/Internet
-License:	GPL
-URL:		http://home.kcore.de/~kiza/software/snownews
-Source0:	http://home.kcore.de/~kiza/software/snownews/download/snownews-1.5.3.tar.gz
+Name: 		snownews
+Version: 	1.5.6.1
+Release: 	3
+Summary: 	A text mode RSS/RDF newsreader
+Group: 		Applications/Internet
+License: 	GPL
+Url:		http://home.kcore.de/~kiza/software/snownews
+Source0: 	http://home.kcore.de/~kiza/software/snownews/download/snownews-1.5.6.1.tar.gz
 Patch0:		snownews-1.5.3-nocheck.patch
-Patch1:		snownews-1.5.3-manpath.patch
-Patch2:		snownews-1.5.3-nostrip.patch
-Patch3:		snownews-1.5.3-buildroot.patch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch1:		snownews-1.5.6.1-manpath.patch
+Patch2:		snownews-1.5.6.1-nostrip.patch
+Patch3:		snownews-1.5.6.1-destdir.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libxml2-devel
 BuildRequires:	ncurses-devel
 BuildRequires:	gettext
@@ -19,7 +19,7 @@
 Snownews  is  a text mode RSS/RDF newsreader. It supports all versions
 of RSS natively and supports other formats via plugins.
 
-The program depends on ncurses for the user interface and uses libxml2
+The program depends on ncurses for the user interface and uses libxml2 
 for XML parsing. ncurses must be at least version 5.0. It should work
 with any version of libxml2.
 
@@ -31,12 +31,12 @@
 %patch3 -p1
 
 %build
-./configure --prefix=/usr --charset=UTF-8
+./configure --prefix=%{_prefix} --charset=UTF-8
 EXTRA_CFLAGS="$RPM_OPT_FLAGS -fpie" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install
+make DESTDIR="$RPM_BUILD_ROOT" install
 %find_lang %name
 
 %clean
@@ -45,12 +45,23 @@
 %files -f %name.lang
 %defattr(-,root,root)
 %doc README* AUTHOR COPYING CREDITS Changelog
-/usr/bin/opml2snow
-/usr/bin/snownews
-/usr/share/man/man1/*
-/usr/share/man/*/man1/*
+%{_bindir}/opml2snow
+%{_bindir}/snownews
+%{_bindir}/snowsync
+%{_mandir}/man1/*
+%{_mandir}/*/man1/*
 
 %changelog
+* Thu Mar 24 2005 Warren Togami <wtogami at redhat.com> - 1.5.6.1-3
+- macroize dirs
+
+* Tue Mar 15 2005 Zing <shishz at hotpop.com> - 1.5.6.1-2
+- enable snowsync
+
+* Thu Feb 24 2005 Zing <shishz at hotpop.com> - 1.5.6.1-1
+- new upstream
+- remove snowsync for now. (we need perl-XML-LibXSLT)
+
 * Fri Jul 23 2004 Zing <shishz at hotpop.com> - 1.5.3-0.fdr.4
 - More cleanups from QA (M.Schwendt)
 -	do the buildroot better (grrr hopefully)


--- snownews-1.5.3-buildroot.patch DELETED ---


--- snownews-1.5.3-manpath.patch DELETED ---


--- snownews-1.5.3-nostrip.patch DELETED ---




More information about the fedora-extras-commits mailing list