[apvlv] Update to new release

Till Maas till at fedoraproject.org
Wed Sep 26 20:57:03 UTC 2012


commit 6d6a925e7e64001bcb99476e325afe790837180e
Author: Till Maas <opensource at till.name>
Date:   Wed Sep 26 22:56:02 2012 +0200

    Update to new release

 .gitignore |    2 +-
 apvlv.spec |   59 +++++++++++++++++++++++++++++------------------------------
 sources    |    2 +-
 3 files changed, 31 insertions(+), 32 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 80e2645..ecdf2a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/apvlv-0.0.9.8.tar.gz
+/apvlv-0.1.4-Source.tar.gz
diff --git a/apvlv.spec b/apvlv.spec
index a3c4b59..c269138 100644
--- a/apvlv.spec
+++ b/apvlv.spec
@@ -1,36 +1,34 @@
-Name:		apvlv
-Version:	0.0.9.8
-Release:	12%{?dist}
-Summary:	PDF viewer which behaves like Vim
-
-Group:		Applications/Publishing
-License:	GPLv2+
-URL:		http://code.google.com/p/apvlv/
-Source0:	http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
-Source1:	%{name}.desktop
-Patch0:		apvlv-poppler015.patch
-Patch1:		apvlv-poppler017.patch
-
-BuildRequires:	gtk2-devel poppler-glib-devel
+Name:           apvlv
+Version:        0.1.4
+Release:        1%{?dist}
+Summary:        PDF viewer which behaves like Vim
+
+Group:          Applications/Publishing
+License:        GPLv2+
+URL:            http://naihe2010.github.com/apvlv/
+Source0:        https://github.com/downloads/naihe2010/apvlv/apvlv-%{version}-Source.tar.gz
+Source1:        %{name}.desktop
+
+BuildRequires:  cmake
+BuildRequires:  gtk2-devel poppler-glib-devel
 # Build-time optional support for DjVu
-BuildRequires:	djvulibre-devel
-BuildRequires:	desktop-file-utils
+BuildRequires:  djvulibre-devel
+BuildRequires:  desktop-file-utils
 
 %description
 apvlv is a GTK2 PDF and DjVu viewer with a vim look-and-feel.
 It can also browse through directories of such documents.
 
 %prep
-%setup -q
+%setup -q -n apvlv-%{version}-Source/
 chmod -x src/*
-%patch0
-%patch1
 
 %build
-# Specific options are used for the doc and man paths.
-# Most of the "doc" can be considered application data,
-# except for the example configuration file removed below.
-%configure --with-mandir=%{_mandir} --with-docdir=%{_datadir}/%{name}
+# umd.h is missing to enable the following:
+# -DAPVLV_WITH_UMD:BOOL=ON 
+# Does not compile with the following option:
+# -DAPVLV_WITH_HTML:BOOL=ON 
+%cmake . -DDOCDIR=%{_docdir}/%{name}-%{version} -DAPVLV_WITH_DJVU:BOOL=ON -DAPVLV_WITH_TXT:BOOL=ON
 make %{?_smp_mflags}
 
 %install
@@ -38,21 +36,22 @@ rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
     %{SOURCE1}
-rm $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{name}rc.example
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}rc
-%{_mandir}/man1/*
-%{_datadir}/%{name}/*
-%{_datadir}/applications/%{name}.desktop
 %doc README
 %doc TODO NEWS
 %doc AUTHORS THANKS
-%doc %{name}rc.example
+%doc %{_docdir}/%{name}-%{version}/*
+%{_bindir}/apvlv
+%{_datadir}/applications/%{name}.desktop
+%{_mandir}/man1/apvlv.1*
+%config(noreplace)%{_sysconfdir}/apvlvrc
 
 %changelog
+* Wed Sep 26 2012 Till Maas <opensource at till.name> - 0.1.4-1
+- Update to new release
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.9.8-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 73e780a..6f1d561 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-09885e96707c80ae52b02462a654276a  apvlv-0.0.9.8.tar.gz
+bcd3e96350a2378662e2f2d0fa02d342  apvlv-0.1.4-Source.tar.gz


More information about the scm-commits mailing list