On Wednesday 12 February 2003 12:58 Pascal Cavy wrote:
> > can anyone test please, if the Code-Generator Library in Umbrello is
> > found with the RPMs from contrib? On my system, Umbrello doesn't
> > enable code-generation until I create a symlink to
> > /usr/lib/libcodegenerator.la in
> > /usr/share/apps/umbrello/codegenerators. If Umbrello finds its lib,
> > the user can choose a generation language in Code->Active Language.
> >
> confirmed here, same problem, same solution :)
>
The attached patch fixes that problem on my system. During %install
libcodegenerator.la is moved from
BUILD_ROOT/usr/share/apps/umbrello/codegenerators to BUILD_ROOT/usr/lib,
although that exact file already exists in that location. I added the
needed file to libumbrello0 and disabled the unnecessary moving.
Best Regards,
Mathias
--
"only wimps use backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)" - linus torvalds
--- umbrello.spec-1mdk 2003-02-13 15:58:48.000000000 +0100
+++ umbrello.spec 2003-02-13 15:58:17.000000000 +0100
@@ -2,7 +2,7 @@
%define Name Umbrello UML Modeller
%define summary Unified Modelling Language (UML) diagram editor
%define version 1.1.1
-%define release 1mdk
+%define release 2mdk
%define major 0
%define libname %mklibname %{name} %{major}
@@ -78,7 +78,7 @@
install -D -m 644 %{name}-16.png $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
# menu
install -d -m 755 $RPM_BUILD_ROOT%{_menudir}
-mv $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/codegenerators/libcodegenerator.la $RPM_BUILD_ROOT/%{_libdir}
+#mv $RPM_BUILD_ROOT%{_datadir}/apps/%{name}/codegenerators/libcodegenerator.la $RPM_BUILD_ROOT/%{_libdir}
cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
?package(%{name}): \
@@ -118,6 +118,7 @@
%files -n %{libname}
%defattr(-,root,root)
+%{_datadir}/apps/umbrello/codegenerators/*.la
%{_libdir}/*.la
%{_libdir}/*.so.*
@@ -127,6 +128,10 @@
%{_libdir}/*.so
%changelog
+* Thu Feb 13 2003 Mathias Meyer <[EMAIL PROTECTED]> 1.1.1-2mdk
+- fixed spec to make libcodegenerator.la appear both in /usr/lib and
+ in /usr/share/apps/umbrello/codegenerators
+
* Fri Jan 24 2003 Guillaume Rousse <[EMAIL PROTECTED]> 1.1.1-1mdk
- 1.1.1
- used %%mklibname to please rpmlint