put glade catalog to the right dir

The gtk3 version of glade is called simply 'glade'. 'glade3' is gtk2. I
am sure there is some logic in this...
f41
David Tardon 9 years ago
parent 32befbd369
commit c2c27fce55

@ -629,7 +629,6 @@ and examples of creating extensions (UNO components) for LibreOffice.
Summary: Support for creating LibreOffice dialogs in glade Summary: Support for creating LibreOffice dialogs in glade
Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-core%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-ure%{?_isa} = %{epoch}:%{version}-%{release}
Requires: glade3-libgladeui%{?_isa}
%description glade %description glade
%{name}-glade contains a catalog of LibreOffice-specific widgets for %{name}-glade contains a catalog of LibreOffice-specific widgets for
@ -1396,8 +1395,8 @@ install -m 0644 -p vcl/unx/generic/printer/configuration/ppds/SGENPRT.PS %{build
sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/postgresql-jdbc.jar#" %{buildroot}%{baseinstdir}/program/fundamentalrc
# move glade catalog to system glade dir # move glade catalog to system glade dir
install -m 0755 -d %{buildroot}%{_datadir}/glade3/catalogs install -m 0755 -d %{buildroot}%{_datadir}/glade/catalogs
mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade3/catalogs mv %{buildroot}%{baseinstdir}/share/glade/libreoffice-catalog.xml %{buildroot}%{_datadir}/glade/catalogs
# rhbz#1049543 install appdata # rhbz#1049543 install appdata
install -m 0755 -d %{buildroot}%{_datadir}/appdata install -m 0755 -d %{buildroot}%{_datadir}/appdata
@ -2215,7 +2214,7 @@ update-desktop-database %{_datadir}/applications &> /dev/null || :
%files glade %files glade
%{baseinstdir}/program/ui-previewer %{baseinstdir}/program/ui-previewer
%{_datadir}/glade3/catalogs/libreoffice-catalog.xml %dir %{_datadir}/glade
%files data %files data
%{_datadir}/icons/hicolor/*/*/libreoffice* %{_datadir}/icons/hicolor/*/*/libreoffice*

Loading…
Cancel
Save