Accepting request 292178 from home:dimstar:Factory

OBS-URL: https://build.opensuse.org/request/show/292178
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=231
This commit is contained in:
Fridrich Strba 2015-03-25 06:48:10 +00:00 committed by Git OBS Bridge
parent 00e37aa25f
commit f9420f4603
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 20 14:42:33 UTC 2015 - dimstar@opensuse.org
- Install the .appdata.xml files shipped by upstream: allow LO to
be shown in AppStream based software centers.
-------------------------------------------------------------------
Thu Mar 5 12:51:02 UTC 2015 - tchvatal@suse.com

View File

@ -1108,6 +1108,10 @@ mkdir -p %{buildroot}%{python3_sitelib}
ln -s %{_libdir}/libreoffice/program/uno.py %{buildroot}%{python3_sitelib}/uno.py
ln -s %{_libdir}/libreoffice/program/unohelper.py %{buildroot}%{python3_sitelib}/unohelper.py
# Install appdata files, so we're shown in gnome-software (and other, future app stores)
install -m 0755 -d %{buildroot}%{_datadir}/appdata
install -m 0644 -p sysui/desktop/appstream-appdata/*.appdata.xml %{buildroot}%{_datadir}/appdata
# Remove translations source as we need more space
rm -rf translations/source/
@ -1217,21 +1221,26 @@ fi
%files -f file-lists/base_list.txt base
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-base.appdata.xml
%files -f file-lists/calc_list.txt calc
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-calc.appdata.xml
%files -f file-lists/draw_list.txt draw
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-draw.appdata.xml
%files -f file-lists/math_list.txt math
%defattr(-,root,root)
%files -f file-lists/impress_list.txt impress
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-impress.appdata.xml
%files -f file-lists/writer_list.txt writer
%defattr(-,root,root)
%{_datadir}/appdata/libreoffice-writer.appdata.xml
%files -f file-lists/postgresql_list.txt base-drivers-postgresql
%defattr(-,root,root)