- Introduce glade subpackage to match up with fedora and to provide
others possibility to work on glade UI for libreoffice OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=392
This commit is contained in:
parent
3bad3d6811
commit
6e35a7e5e7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 1 10:30:39 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Introduce glade subpackage to match up with fedora and to provide
|
||||||
|
others possibility to work on glade UI for libreoffice
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 19 17:10:52 UTC 2016 - tchvatal@suse.com
|
Sat Mar 19 17:10:52 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -507,6 +507,19 @@ BuildArch: noarch
|
|||||||
This package provides Tango LibreOffice icon theme. It is used in GNOME by default
|
This package provides Tango LibreOffice icon theme. It is used in GNOME by default
|
||||||
and obsoleted the old Industrial theme.
|
and obsoleted the old Industrial theme.
|
||||||
|
|
||||||
|
%package glade
|
||||||
|
Summary: Support for creating LibreOffice dialogs in glade
|
||||||
|
License: Apache-2.0 and Artistic-1.0 and BSD-3-Clause and BSD-4-Clause and GPL-2.0+ and LPPL-1.3c and LGPL-2.1+ and LGPL-3.0 and MPL-1.1 and MIT and SUSE-Public-Domain and W3C
|
||||||
|
Group: Productivity/Office/Suite
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
%if %{with noarch_subpkgs}
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description glade
|
||||||
|
%{name}-glade contains a catalog of LibreOffice-specific widgets for
|
||||||
|
glade and ui-previewer tool to check the visual appearance of dialogs.
|
||||||
|
|
||||||
%package base
|
%package base
|
||||||
Summary: LibreOffice Base
|
Summary: LibreOffice Base
|
||||||
License: LGPL-3.0
|
License: LGPL-3.0
|
||||||
@ -1442,6 +1455,14 @@ ln -s %{_libdir}/libreoffice/program/unohelper.py %{buildroot}%{python3_sitelib}
|
|||||||
echo "%{python3_sitelib}/uno.py" >> file-lists/pyuno_list.txt
|
echo "%{python3_sitelib}/uno.py" >> file-lists/pyuno_list.txt
|
||||||
echo "%{python3_sitelib}/unohelper.py" >> file-lists/pyuno_list.txt
|
echo "%{python3_sitelib}/unohelper.py" >> file-lists/pyuno_list.txt
|
||||||
|
|
||||||
|
# move glade catalog to system glade dir
|
||||||
|
install -m 0755 -d %{buildroot}%{_datadir}/glade/catalogs
|
||||||
|
mv %{buildroot}%{_libdir}/%{name}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade/catalogs
|
||||||
|
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs
|
||||||
|
ln -sr %{buildroot}%{_datadir}/glade/catalogs/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs
|
||||||
|
grep -v '%{_libdir}/%{name}/share/glade/libreoffice-catalog.xml' file-lists/common_list.txt > tmplist
|
||||||
|
mv tmplist file-lists/common_list.txt
|
||||||
|
|
||||||
# We have ton of duped files so run over it
|
# We have ton of duped files so run over it
|
||||||
%fdupes %{buildroot}%{_prefix}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
|
||||||
@ -1615,6 +1636,13 @@ test -f /sbin/conf.d/SuSEconfig.glib2 && SuSEconfig --module glib2 > /dev/null |
|
|||||||
%{_datadir}/gir-1.0/LOKDocView-0.1.gir
|
%{_datadir}/gir-1.0/LOKDocView-0.1.gir
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files glade
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/glade/catalogs
|
||||||
|
%{_datadir}/glade/catalogs/libreoffice-catalog.xml
|
||||||
|
%dir %{_datadir}/glade3/catalogs
|
||||||
|
%{_datadir}/glade3/catalogs/libreoffice-catalog.xml
|
||||||
|
|
||||||
%files -f file-lists/base_list.txt base
|
%files -f file-lists/base_list.txt base
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user