Install the desktop file again

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

@ -1,6 +1,6 @@
Name: zathura-cb
Version: 0.1.4
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Comic book support for zathura
Group: Applications/Publishing
License: zlib
@ -20,6 +20,8 @@ BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libarchive)
BuildRequires: pkgconfig(zathura)
Requires: zathura
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils
%description
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
%install
make DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} install
rm -f %{buildroot}/%{_datadir}/applications/%{name}.desktop
make DESTDIR=%{buildroot} LIBDIR=%{_libdir} install
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%post
update-desktop-database &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
%files
%license LICENSE
%doc AUTHORS
%{_libdir}/zathura/cb.so
%{_datadir}/applications/%{name}.desktop
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save