rpms/pp3/F-10 import.log, NONE, 1.1 pp3-1.3.3-gcc4.3.patch, NONE, 1.1 pp3-1.3.3-info.patch, NONE, 1.1 pp3-1.3.3-install.patch, NONE, 1.1 pp3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Marek Mahut mmahut at fedoraproject.org
Thu Feb 19 08:21:02 UTC 2009


Author: mmahut

Update of /cvs/pkgs/rpms/pp3/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22928/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log pp3-1.3.3-gcc4.3.patch pp3-1.3.3-info.patch 
	pp3-1.3.3-install.patch pp3.spec 
Log Message:
initial import



--- NEW FILE import.log ---
pp3-1_3_3-1_fc8:F-10:pp3-1.3.3-1.fc8.src.rpm:1235031559

pp3-1.3.3-gcc4.3.patch:

--- NEW FILE pp3-1.3.3-gcc4.3.patch ---
Marek Mahut <mmahut at fedoraproject.org>: patch for gcc 4.3 compatibility

diff -Naur pp3-1.3.3-upstream/pp3.cc pp3-1.3.3/pp3.cc
--- pp3-1.3.3-upstream/pp3.cc	2009-01-03 10:44:03.000000000 +0100
+++ pp3-1.3.3/pp3.cc	2009-01-03 11:29:45.000000000 +0100
@@ -6,6 +6,7 @@
 
 #include <iostream> 
 #include <string> 
+#include <cstring>
 #include <fstream> 
 #include <sstream> 
 #include <vector> 

pp3-1.3.3-info.patch:

--- NEW FILE pp3-1.3.3-info.patch ---
diff -Naur pp3-1.3.3-upstream/info/Makefile pp3-1.3.3/info/Makefile
--- pp3-1.3.3-upstream/info/Makefile	2009-01-03 10:44:03.000000000 +0100
+++ pp3-1.3.3/info/Makefile	2009-01-05 14:28:00.000000000 +0100
@@ -7,8 +7,8 @@
 COREIMAGES=orion swan swan1 swan2 pp3rose leo1 betelg
 
 %.pdf : %.pp3
-	rm -f labeldimens.dat
-	pp3 $<
+	rm -f labeldimens.dat	
+	PP3DATA=../ ../pp3 $<
 #	rm $*.eps
 
 all: pp3.info.gz pp3.html pp3/index.html pp3.pdf
@@ -38,7 +38,7 @@
 	install -d $(ROOT)$(INFODIR)
 	install --mode=$(PERMS) pp3.info.gz \
 	  $(addsuffix .png,$(COREIMAGES)) $(ROOT)$(INFODIR)
-	- install-info --info-file=$(ROOT)$(INFODIR)/pp3.info.gz \
+	- /sbin/install-info --info-file=$(ROOT)$(INFODIR)/pp3.info.gz \
 	  --dir-file=$(ROOT)$(INFODIR)/dir
 	install -d $(ROOT)$(DOCDIR)
 	install --mode=$(PERMS) pp3.pdf pp3.html \

pp3-1.3.3-install.patch:

--- NEW FILE pp3-1.3.3-install.patch ---
diff -Naur pp3-1.3.3-upstream/Makefile ./pp3-1.3.3/Makefile
--- pp3-1.3.3-upstream/Makefile	2009-01-03 10:44:03.000000000 +0100
+++ ./pp3-1.3.3/Makefile	2009-02-19 09:02:32.000000000 +0100
@@ -71,7 +71,7 @@
 
 install: all
 	install -d $(ROOT)$(DESTDIR)
-	install -s pp3 $(ROOT)$(DESTDIR)
+	install pp3 $(ROOT)$(DESTDIR)
 	install -d $(ROOT)$(PP3DATA)
 	install --mode=$(PERMS) *.dat $(ROOT)$(PP3DATA)
 	install -d $(ROOT)$(DATADIR)/doc/pp3/examples


--- NEW FILE pp3.spec ---
Name:		pp3
Version:	1.3.3
Release:	1%{?dist}
Summary:	Creation of sky charts in Postscript or PDF format

Group:		Applications/Engineering
License:	MIT
URL:		http://pp3.sourceforge.net/
Source0:	http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
Patch0:		pp3-1.3.3-info.patch
Patch1:		pp3-1.3.3-gcc4.3.patch
Patch2:		pp3-1.3.3-install.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	texinfo-tex, tex(latex)
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires:	tex(latex)

%description
PP3 creates celestial charts.  It generates resolution independent
maps of very high graphical quality in Postscript or PDF format.
They can be used for example as illustrations in books or on web
pages.  You may use the databases of the distribution or your own
databases converted to PP3's simple text format.

PP3 uses LaTeX+pstricks as the backend for generating the vector
graphics.  You can add arbitrary labels to the map.  The output is
configurable in many ways.

%prep
%setup -q
%patch0 -b .info -p1
%patch1 -b .gcc43 -p1
%patch2 -b .install -p1
for file in README examples/*; do
	mv $file timestamp
	iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
	touch -r timestamp $file
done

%build
make %{?_smp_mflags} CXXFLAGS="%{optflags}" 


%install
rm -rf $RPM_BUILD_ROOT
make install ROOT=$RPM_BUILD_ROOT LOCAL=""
find $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :

%preun
if [ $1 = 0 ] ; then
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi

%files
%defattr(-,root,root,-)
%doc
%doc COPYING README WHATSNEW 
%{_bindir}/pp3
%{_datadir}/pp3
%{_datadir}/doc/pp3
%{_infodir}/*
%exclude %{_infodir}/*.png*
%exclude %{_infodir}/dir

%changelog
* Sat Jan 3 2008 Marek Mahut <mmahut at fedoraproject.org> - 1.3.3-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pp3/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Jan 2009 00:08:42 -0000	1.1
+++ .cvsignore	19 Feb 2009 08:20:31 -0000	1.2
@@ -0,0 +1 @@
+pp3-1.3.3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pp3/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Jan 2009 00:08:42 -0000	1.1
+++ sources	19 Feb 2009 08:20:32 -0000	1.2
@@ -0,0 +1 @@
+dbea2818657c3a26587d72ff5ddb9545  pp3-1.3.3.tar.bz2




More information about the fedora-extras-commits mailing list