rpms/epdfview/F-8 epdfview-compile-fix.patch, NONE, 1.1 epdfview.spec, NONE, 1.1 sources, 1.1, 1.2
Michal Schmidt (michich)
fedora-extras-commits at redhat.com
Mon Feb 18 19:24:57 UTC 2008
Author: michich
Update of /cvs/pkgs/rpms/epdfview/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3743
Modified Files:
sources
Added Files:
epdfview-compile-fix.patch epdfview.spec
Log Message:
Initial commit to F-8 branch.
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: sources
===================================================================
RCS file: /cvs/pkgs/rpms/epdfview/F-8/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 19:24:20 -0000 1.2
@@ -0,0 +1 @@
+cce9edb41b4a8308e0ef0eea24b5a1ab epdfview-0.1.6.tar.bz2
More information about the fedora-extras-commits
mailing list