rpms/posterazor/F-9 import.log, NONE, 1.1 posterazor-1.5-includes.patch, NONE, 1.1 posterazor.desktop, NONE, 1.1 posterazor.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicoleau Fabien eponyme at fedoraproject.org
Fri Feb 6 18:45:17 UTC 2009


Author: eponyme

Update of /cvs/pkgs/rpms/posterazor/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5304/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log posterazor-1.5-includes.patch posterazor.desktop 
	posterazor.spec 
Log Message:
New package



--- NEW FILE import.log ---
posterazor-1_5-2_fc10:F-9:posterazor-1.5-2.fc10.src.rpm:1233945864

posterazor-1.5-includes.patch:

--- NEW FILE posterazor-1.5-includes.patch ---
diff -up PosteRazor-1.5-Source/src/FlPosteRazorHelpDialog.cpp.includes PosteRazor-1.5-Source/src/FlPosteRazorHelpDialog.cpp
--- PosteRazor-1.5-Source/src/FlPosteRazorHelpDialog.cpp.includes	2008-05-16 21:02:56.000000000 +0200
+++ PosteRazor-1.5-Source/src/FlPosteRazorHelpDialog.cpp	2008-10-23 22:01:28.000000000 +0200
@@ -21,7 +21,9 @@
 */
 
 #include "FlPosteRazorHelpDialog.h"
-#include "Translations.h"
+#include "Translations.h"
+#include <strings.h>
+#include <string.h>
 
 #if defined (WIN32)
   #include <Shellapi.h>
diff -up PosteRazor-1.5-Source/src/FlPosteRazorSpinner.cpp.includes PosteRazor-1.5-Source/src/FlPosteRazorSpinner.cpp
--- PosteRazor-1.5-Source/src/FlPosteRazorSpinner.cpp.includes	2008-05-16 21:02:56.000000000 +0200
+++ PosteRazor-1.5-Source/src/FlPosteRazorSpinner.cpp	2008-10-23 22:00:56.000000000 +0200
@@ -22,7 +22,8 @@
 
 #include "FlPosteRazorSpinner.h"
 #include <FL/Fl_Input.H>
-#include <FL/Fl_Repeat_Button.H>
+#include <FL/Fl_Repeat_Button.H>
+#include <stdlib.h>
 #include <stdio.h>
 #include <math.h>
 #ifndef WIN32


--- NEW FILE posterazor.desktop ---
[Desktop Entry]
Name=PosteRazor
GenericName=Make your own poster
Comment=Make your own poster
Exec=PosteRazor
Icon=PosteRazor
Terminal=false
Type=Application
Categories=Publishing;


--- NEW FILE posterazor.spec ---
Name:           posterazor
Version:        1.5
Release:        2%{?dist}
Summary:        Make your own poster

Group:          Applications/Publishing
License:        GPLv3+
URL:            http://%{name}.sourceforge.net/index.php
Source0:        http://prdownloads.sourceforge.net/%{name}/PosteRazor-%{version}-Source.zip
Source1:        %{name}.desktop
Patch0:         %{name}-%{version}-includes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  cmake freeimage-devel fltk-devel libXpm-devel
BuildRequires:  desktop-file-utils

%description
The PosteRazor cuts a raster image into pieces which can afterwards be
printed out and assembled to a poster. As input, the PosteRazor takes a
raster image. The resulting poster is saved as a multipage PDF document.
An easy to use, wizard like user interface guides through 5 steps.

%prep
%setup -q -c
%patch0 -p1 -b .includes
for i in CHANGES LICENSE README
do
 sed -e 's/\r//' $i > $i.tmp
 touch -c -r $i $i.tmp
 mv $i.tmp $i
done

%build
cd src
%cmake .
make %VERBOSE=1 %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/
install -pm 755 src/PosteRazor  $RPM_BUILD_ROOT/%{_bindir}
install -Dm 644 -p src/PosteRazor.xpm  $RPM_BUILD_ROOT%{_datadir}/pixmaps/
desktop-file-install --vendor="" \
  --mode 644 \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
  %{SOURCE1}

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE README
%{_bindir}/PosteRazor
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/PosteRazor.xpm


%changelog
* Wed Oct 29 2008 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 1.5-2
- add desktop file
* Thu Oct 23 2008 Nicoleau Fabien <nicoleau.fabien at gmail.com> - 1.5-1
- initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/posterazor/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Feb 2009 03:02:08 -0000	1.1
+++ .cvsignore	6 Feb 2009 18:44:46 -0000	1.2
@@ -0,0 +1 @@
+PosteRazor-1.5-Source.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/posterazor/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Feb 2009 03:02:08 -0000	1.1
+++ sources	6 Feb 2009 18:44:46 -0000	1.2
@@ -0,0 +1 @@
+d59bfa2d4c1e220d4be03ffee2ce640c  PosteRazor-1.5-Source.zip




More information about the fedora-extras-commits mailing list