Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 849e3c63bcefe1896aa35df6f17cc642 > files > 2

epdfview-0.1.7-7.20100621svn.fc14.src.rpm

%global		svndate	20100621
%global		svnrev	350

Name:		epdfview
Version:	0.1.7
Release:	7.%{svndate}svn%{?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
# This is an SVN snapshot. The tarball was produced using:
# svn export -r %{svnrev} svn://svn.emma-soft.com/epdfview/trunk %{name}-%{svndate}svn
# tar -cjf %{name}-%{svndate}svn.tar.bz2 %{name}-%{svndate}svn/
Source0:	%{name}-%{svndate}svn.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	poppler-glib-devel
BuildRequires:	gtk2-devel glib2-devel cups-devel
BuildRequires:	desktop-file-utils
BuildRequires:	autoconf automake libtool gettext

%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 -n %{name}-%{svndate}svn

%build
./autogen.sh
%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

install -dm 755 %{buildroot}/%{_datadir}/pixmaps
pushd %{buildroot}/%{_datadir}/pixmaps
ln -s ../%{name}/pixmaps/icon_epdfview-48.png .
popd

%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
%{_datadir}/pixmaps/icon_epdfview-48.png

%changelog
* Thu Aug 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.7-7.20100621svn
- rebuild (poppler)

* Mon Jun 21 2010 Michal Schmidt <mschmidt@redhat.com> 0.1.7-6.20100621svn
- New SVN rev.
- Merged upstream: epdfview-fix-scrolling-hotkeys.patch
- Drop fc8 compatibility.

* Tue Mar 02 2010 Michal Schmidt <mschmidt@redhat.com> 0.1.7-5.20100302svn
- New SVN rev.
- Merged upstream: epdfview-button-state-after-reload.patch
- Fix hotkeys Enter and BackSpace (add epdfview-fix-scrolling-hotkeys.patch).

* Mon Mar 01 2010 Michal Schmidt <mschmidt@redhat.com> 0.1.7-4.20100226svn
- Fix buttons' sensitivity after document reload (bz568973).

* Fri Feb 26 2010 Michal Schmidt <mschmidt@redhat.com> 0.1.7-3.20100226svn
- Update to current SVN snapshot to get bugfixes (bz568592).

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Thu Mar 26 2009 Michal Schmidt <mschmidt@redhat.com> - 0.1.7-1
- Upstream release 0.1.7.

* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-8.20081217svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-7.20081217svn
- Add icon.

* Wed Dec 17 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-6.20081217svn
- Rebased to current svn snapshot.
- Fixes bz476575 "epdfview crashes on print pdf".  

* Fri Nov 28 2008 Caolán McNamara <caolanm@redhat.com> - 0.1.6-5
- rebuild for dependencies

* Fri Aug 31 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-4
- Fix build with the new RPM.

* Fri Mar 21 2008 Michal Schmidt <mschmidt@redhat.com> - 0.1.6-3
- Rebuild with new poppler.

* Fri Feb 15 2008 Michal Schmidt <mschmidt@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@redhat.com> - 0.1.6-1
- Initial Fedora package.