Install the desktop file again

epel9
Petr Šabata 10 years ago
parent 0b4030593b
commit d0017455fb

@ -1,25 +1,27 @@
Name: zathura-cb Name: zathura-cb
Version: 0.1.4 Version: 0.1.4
Release: 4%{?dist} Release: 5%{?dist}
Summary: Comic book support for zathura Summary: Comic book support for zathura
Group: Applications/Publishing Group: Applications/Publishing
License: zlib License: zlib
URL: http://pwmt.org/projects/zathura/plugins/%{name} URL: http://pwmt.org/projects/zathura/plugins/%{name}
Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz Source0: http://pwmt.org/projects/zathura/plugins/download/%{name}-%{version}.tar.gz
BuildRequires: binutils BuildRequires: binutils
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: sed BuildRequires: sed
BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gdk-3.0) BuildRequires: pkgconfig(gdk-3.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(girara-gtk3) BuildRequires: pkgconfig(girara-gtk3)
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(zathura) BuildRequires: pkgconfig(zathura)
Requires: zathura Requires: zathura
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%description %description
The zathura-cb plugin adds comic book archive support to zathura. The zathura-cb plugin adds comic book archive support to zathura.
@ -33,15 +35,25 @@ CFLAGS='%{optflags}' make %{?_smp_mflags} LIBDIR=%{_libdir} debug
mv cb-debug.so cb.so mv cb-debug.so cb.so
%install %install
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%post
update-desktop-database &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
%files %files
%license LICENSE %license LICENSE
%doc AUTHORS %doc AUTHORS
%{_libdir}/zathura/cb.so %{_libdir}/zathura/cb.so
%{_datadir}/applications/%{name}.desktop
%changelog %changelog
* Thu Jul 02 2015 Petr Šabata <contyk@redhat.com> - 0.1.4-5
- Install the desktop file again
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-4 * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save