]> git.pld-linux.org Git - packages/libreoffice.git/commitdiff
- rel5
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 14 May 2004 15:49:06 +0000 (15:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libreoffice.spec -> 1.390

libreoffice.spec

index 84042e9329d2e4916f0320e325b21fbc87596867..ef4bb31b446c36359685d39e0f0828d5895aa73d 100644 (file)
@@ -23,7 +23,7 @@ Summary:      OpenOffice - powerful office suite
 Summary(pl):   OpenOffice - potê¿ny pakiet biurowy
 Name:          openoffice
 Version:       %{fullver}
-Release:       4
+Release:       5
 Epoch:         1
 License:       GPL/LGPL
 Group:         X11/Applications
@@ -179,7 +179,7 @@ Provides:   %{name}-libs-interface = %{epoch}:%{version}-%{release}
 Provides:      libvcl%{subver}li.so
 Obsoletes:     %{name}-libs-gtk
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
-Requires(post):        %{name}-libs = %{epoch}:%{version}-%{release}
+Requires(post,preun):  %{name}-libs = %{epoch}:%{version}-%{release}
 
 %description libs-kde
 OpenOffice.org productivity suite - KDE Interface.
@@ -195,7 +195,7 @@ Provides:   %{name}-libs-interface = %{epoch}:%{version}-%{release}
 Provides:      libvcl%{subver}li.so
 Obsoletes:     %{name}-libs-kde
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
-Requires(post):        %{name}-libs = %{epoch}:%{version}-%{release}
+Requires(post,preun):  %{name}-libs = %{epoch}:%{version}-%{release}
 
 %description libs-gtk
 OpenOffice.org productivity suite - GTK Interface.
@@ -1149,6 +1149,14 @@ fontpostinst TTF %{_fontsdir}/%{name}
 %postun
 fontpostinst TTF %{_fontsdir}/%{name}
 
+%post libs
+if [ -f %{_libdir}/%{name}/program/libvcl%{subver}li-kde.so ]; then
+       ln -sf libvcl%{subver}li-kde.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
+fi
+if [ -f %{_libdir}/%{name}/program/libvcl%{subver}li-gtk.so ]; then
+       ln -sf libvcl%{subver}li-gtk.so %{_libdir}/%{name}/program/libvcl%{subver}li.so
+fi
+
 %preun libs-kde
 rm -f %{_libdir}/%{name}/program/libvcl%{subver}li.so
 
This page took 0.080977 seconds and 4 git commands to generate.