diff --git a/.gitignore b/.gitignore index 11d5f34..99dafcc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ zathura-0.0.8.1.tar.gz /zathura-0.0.8.3.tar.gz /zathura-0.0.8.5.tar.gz /zathura-0.1.2.tar.gz +/zathura-0.2.1.tar.gz diff --git a/sources b/sources index 148622c..eb65c02 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -52e0c3b3917c7feaecba98cff8435b90 zathura-0.0.8.5.tar.gz +2b606a5db61c80b0f1208e9f1df468c2 zathura-0.2.1.tar.gz diff --git a/zathura.spec b/zathura.spec index f52ff75..9502324 100644 --- a/zathura.spec +++ b/zathura.spec @@ -1,14 +1,16 @@ Name: zathura -Version: 0.0.8.5 -Release: 5%{?dist} +Version: 0.2.1 +Release: 1%{?dist} Summary: A lightweight PDF viewer Group: Applications/Publishing License: zlib URL: http://pwmt.org/projects/zathura/ Source0: http://pwmt.org/projects/zathura/download/%{name}-%{version}.tar.gz -BuildRequires: gdk-pixbuf2-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel +BuildRequires: gdk-pixbuf2-devel, gtk2-devel, poppler-glib-devel, cairo-devel, glib2-devel +BuildRequires: girara-devel +BuildRequires: gettext BuildRequires: desktop-file-utils @@ -18,6 +20,14 @@ rendering library and the GTK+ toolkit. The idea behind zathura is an application that provides a minimalist and space saving interface as well as an easy usage that mainly focuses on keyboard interaction. +%package devel +Summary: Development files for the zathura PDF viewer +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +libraries and header files for the zathura PDF viewer. %prep %setup -q @@ -27,34 +37,45 @@ sed -ie "s/install:\ all/install:\ /g" Makefile %build export CFLAGS="%{optflags}" +export LIBDIR="%{_libdir}" make debug mv zathura-debug zathura %install +export LIBDIR="%{_libdir}" make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_datadir}/applications install -m 644 zathura.desktop %{buildroot}%{_datadir}/applications/ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop +%find_lang zathura %post +/sbin/ldconfig update-desktop-database &> /dev/null || : %postun +/sbin/ldconfig update-desktop-database &> /dev/null || : - -%files +%files -f zathura.lang %defattr(-,root,root,-) %doc LICENSE README %{_bindir}/* %{_mandir}/man*/* %{_datadir}/applications/* +%files devel +%defattr(-,root,root,-) +%{_includedir}/zathura +%{_libdir}/pkgconfig/zathura.pc %changelog +* Mon Nov 05 2012 Kevin Fenzi 0.2.1-1 +- Update to 0.2.1 + * Sun Jul 22 2012 Fedora Release Engineering - 0.0.8.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild