- Lots of spec file cleaning
OBS-URL: https://build.opensuse.org/package/show/Publishing/htmldoc?expand=0&rev=20
This commit is contained in:
parent
df9cf61fa0
commit
566e6a37b8
@ -25,6 +25,7 @@ Mon Dec 4 08:06:31 UTC 2017 - mpluskal@suse.com
|
|||||||
* And many more
|
* And many more
|
||||||
- Drop upstreamed htmldoc-cups_rand.patch and no longer needed
|
- Drop upstreamed htmldoc-cups_rand.patch and no longer needed
|
||||||
htmldoc-docpath.diff
|
htmldoc-docpath.diff
|
||||||
|
- Lots of spec file cleaning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 11 01:18:13 UTC 2017 - sfalken@opensuse.org
|
Sat Mar 11 01:18:13 UTC 2017 - sfalken@opensuse.org
|
||||||
|
12
htmldoc.spec
12
htmldoc.spec
@ -31,6 +31,7 @@ BuildRequires: libgcrypt-devel
|
|||||||
BuildRequires: libgnutls-devel
|
BuildRequires: libgnutls-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -47,11 +48,22 @@ make %{?_smp_mflags} V=1
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
# Workaround faulty installation
|
||||||
|
mv -f %{buildroot}%{buildroot}/* \
|
||||||
|
%{buildroot}
|
||||||
|
# Get rid of unvanted files
|
||||||
|
rm -rf %{buildroot}/home %{buildroot}%{_datadir}/doc/%{name}
|
||||||
|
# Update desktop file
|
||||||
|
%suse_update_desktop_file -r %{name} Development Documentation
|
||||||
|
%suse_update_desktop_file %{name} -G%{name}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGES.md COPYING README.md
|
%doc CHANGES.md COPYING README.md
|
||||||
%{_bindir}/htmldoc
|
%{_bindir}/htmldoc
|
||||||
%{_datadir}/htmldoc
|
%{_datadir}/htmldoc
|
||||||
|
%{_datadir}/pixmaps/htmldoc.xpm
|
||||||
|
%{_datadir}/mime/packages/htmldoc.xml
|
||||||
|
%{_datadir}/applications/htmldoc.desktop
|
||||||
%{_mandir}/man1/htmldoc.1%{ext_man}
|
%{_mandir}/man1/htmldoc.1%{ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user