rpms/epdfview/devel epdfview-compile-fix.patch, NONE, 1.1 epdfview.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michal Schmidt (michich) fedora-extras-commits at redhat.com
Mon Feb 18 18:23:01 UTC 2008


Author: michich

Update of /cvs/pkgs/rpms/epdfview/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22455/devel

Modified Files:
	.cvsignore sources 
Added Files:
	epdfview-compile-fix.patch epdfview.spec 
Log Message:
Initial import.


epdfview-compile-fix.patch:

--- NEW FILE epdfview-compile-fix.patch ---
diff -up epdfview-0.1.6/src/IDocumentLink.h.orig epdfview-0.1.6/src/IDocumentLink.h
--- epdfview-0.1.6/src/IDocumentLink.h.orig	2008-02-14 11:21:01.000000000 +0100
+++ epdfview-0.1.6/src/IDocumentLink.h	2008-02-14 11:21:06.000000000 +0100
@@ -33,7 +33,7 @@ namespace ePDFView
     class IDocumentLink
     {
         public:
-            IDocumentLink (gdouble x1, gdouble y1, gdouble x2, gdouble y1);
+            IDocumentLink (gdouble x1, gdouble y1, gdouble x2, gdouble y2);
             virtual ~IDocumentLink (void);
 
             virtual void activate (IDocument *document) = 0;


--- NEW FILE epdfview.spec ---
Name:		epdfview
Version:	0.1.6
Release:	2%{?dist}
Summary:	Lightweight PDF document viewer

Group:		Applications/Publishing
License:	GPLv2+
URL:		http://trac.emma-soft.com/epdfview
Source0:	http://trac.emma-soft.com/epdfview/chrome/site/releases/%{name}-%{version}.tar.bz2
Patch0:		%{name}-compile-fix.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	%{!?fc8: poppler-glib-devel} %{?fc8: poppler-devel}
BuildRequires:	gtk2-devel glib2-devel cups-devel
BuildRequires:	desktop-file-utils

%description
ePDFView is a lightweight PDF document viewer using Poppler and GTK+ libraries.
The aim of ePDFView is to make a simple PDF document viewer, in the lines of
Evince but without using the Gnome libraries.

%prep
%setup -q
%patch -p1

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"

desktop-file-install \
	--dir=%{buildroot}%{_datadir}/applications \
	--vendor=fedora \
	--delete-original \
	--remove-category Office \
	--add-category Graphics \
	%{buildroot}/%{_datadir}/applications/%{name}.desktop

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
update-desktop-database &> /dev/null || :

%postun
update-desktop-database &> /dev/null || :

%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/%{name}
%doc AUTHORS COPYING README NEWS THANKS
%{_datadir}/applications/*%{name}.desktop
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/pixmaps
%{_datadir}/%{name}/ui

%changelog
* Fri Feb 15 2008 Michal Schmidt <mschmidt at redhat.com> - 0.1.6-2
- Use standard scriptlets for updating desktop-database.
- Conditional buildreqs to build on F8 too.
- Preserve timestamps of unmodified files.

* Wed Feb 13 2008 Michal Schmidt <mschmidt at redhat.com> - 0.1.6-1
- Initial Fedora package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/epdfview/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Feb 2008 17:36:13 -0000	1.1
+++ .cvsignore	18 Feb 2008 18:22:25 -0000	1.2
@@ -0,0 +1 @@
+epdfview-0.1.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/epdfview/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Feb 2008 17:36:13 -0000	1.1
+++ sources	18 Feb 2008 18:22:25 -0000	1.2
@@ -0,0 +1 @@
+cce9edb41b4a8308e0ef0eea24b5a1ab  epdfview-0.1.6.tar.bz2




More information about the fedora-extras-commits mailing list