rpms/planner2html/devel import.log, NONE, 1.1 planner2html-1.0.cflags.patch, NONE, 1.1 planner2html.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Caolan McNamara caolanm at fedoraproject.org
Mon Dec 21 20:32:53 UTC 2009


Author: caolanm

Update of /cvs/pkgs/rpms/planner2html/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27939/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log planner2html-1.0.cflags.patch planner2html.spec 
Log Message:



--- NEW FILE import.log ---
planner2html-1_0_0-2_fc12:HEAD:planner2html-1.0.0-2.fc12.src.rpm:1261427550

planner2html-1.0.cflags.patch:
 Makefile       |    2 +-
 planner2html.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE planner2html-1.0.cflags.patch ---
diff -ru planner2html-1.0.orig/Makefile planner2html-1.0/Makefile
--- planner2html-1.0.orig/Makefile	2009-12-21 12:29:04.000000000 +0000
+++ planner2html-1.0/Makefile	2009-12-21 12:29:17.000000000 +0000
@@ -1,7 +1,7 @@
 PLANNERFLAGS = $(shell pkg-config --cflags --libs libplanner-1)
 
 planner2html: planner2html.c
-	$(CC) $(PLANNERFLAGS) planner2html.c -o planner2html
+	$(CC) $(PLANNERFLAGS) $(RPM_OPT_FLAGS) planner2html.c -o planner2html
 
 clean:
 	$(RM) planner2html
diff -ru planner2html-1.0.orig/planner2html.c planner2html-1.0/planner2html.c
--- planner2html-1.0.orig/planner2html.c	2009-12-21 12:29:04.000000000 +0000
+++ planner2html-1.0/planner2html.c	2009-12-21 12:30:55.000000000 +0000
@@ -53,7 +53,7 @@
         if (!mrp_project_export(project, "-", "Planner HTML", TRUE, &err))
 	{
 		if (!err)
-			fprintf (stderr, "Unable to export to html", argv[1]);
+			fprintf (stderr, "Unable to export %s to html", argv[1]);
 		else
 		{
 			fprintf (stderr, "%s", err->message);


--- NEW FILE planner2html.spec ---
Name:      planner2html
Summary:   Convert planner files to html
Version:   1.0.0
Release:   2%{?dist}
Source:    http://www.skynet.ie/~caolan/pub/%{name}/%{name}-%{version}.tar.gz
Group:     System Environment/Libraries
URL:       http://www.skynet.ie/~caolan/Packages/planner2html.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License:   GPLv2+
BuildRequires: planner-devel
Patch0:    planner2html-1.0.cflags.patch

%description
A command line utility to to convert .planner files to .html.

%prep
%setup -q
%patch0 -p1 -b .cflags

%build
echo $CFLAGS
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install -p -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/%{name}

%changelog
* Mon Dec 21 2009 Caolan McNamara <caolanm at redhat.com> - 1.0.0-2
- Use parallel make (only 1 source file)
- Preserve timestamps 
- honour RPM_OPT_FLAGS

* Thu Dec 10 2009 Caolan McNamara <caolanm at redhat.com> - 1.0.0-1
- initial version


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/planner2html/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Dec 2009 19:39:51 -0000	1.1
+++ .cvsignore	21 Dec 2009 20:32:52 -0000	1.2
@@ -0,0 +1 @@
+planner2html-1.0.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/planner2html/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Dec 2009 19:39:52 -0000	1.1
+++ sources	21 Dec 2009 20:32:52 -0000	1.2
@@ -0,0 +1 @@
+de94e1fdd70eb35f9f8baf0aa521f53c  planner2html-1.0.0.tar.gz




More information about the fedora-extras-commits mailing list