Hi! > The cvs version on uml.sourceforge.net does not > requires KDE2.2 anymore. According to the Mailing > It should be worth a try. I have not yet tried to > compile it myself (will do ASAP :).
Done that, here is the spec file for the latest cvs, compiled on 9.0b4. Based on the current SPEC file etc. from Mandrake cvs Regards, Reinhard Katzmann -- Software-Engineer, Developer for Embedded Devices Project: Pertergrin, a role playing game system GnuPG Public Key available on request
%define name umlmodeller
%define version 1.0.4cvs
%define release 0.1mdk
Summary: UML Modeller for Linux is a program to create UML application.
Name: %{name}
Version: %{version}
Release: %{release}
Source0: uml-%{version}.tar.bz2
Source1: %{name}.menu
License: GPL
Url: http://uml.sourceforge.net
Group: Development/C++
BuildRoot: %{_tmppath}/%{name}-buildroot
#Patch0: uml-1.0.2-compile.patch.bz2
#Patch1: uml-1.0.3-nodoclink.patch.bz2
Requires: kdelibs
BuildRequires: kdelibs-devel kdelibs
BuildRequires: libqt3-devel arts
%description
UML Modeller for Linux is a program to create UML application.
Features include:
Support for Sequence diagrams, Collaboration diagrams, Class/Concept diagrams
and Use Case diagrams.
Support for the following UML icons: Use Cases, Actors, Classes/Concepts,
Objects, Lines of Text and Note Boxes.
Support for the following associations:
Anchors, Dependencies, Aggregations, Generalizations and Associations.
%prep
%setup -q -n uml
#%patch0 -p1 -b .patch
#%patch1 -p0
%build
# Temporary link for bad CVS Makefile
ln -sf /usr/bin/autoconf-2.5x /usr/bin/autoconf2.50
make -f Makefile.cvs
#Why I need %% here for comments is beyond me :-(
#%%configure --with-xinerama --disable-rpath --disable-debug
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
--exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir}
--sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir}
--libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir}
--sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
--with-xinerama --disable-rpath --disable-debug
%make
# Remove temporary link
rm -f /usr/bin/autoconf2.50
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
install -d $RPM_BUILD_ROOT%{_menudir}
install %{SOURCE1} $RPM_BUILD_ROOT%{_menudir}/%{name}
#kdedesktop2mdkmenu.pl %{name} "Applications/Development/Tools"
%buildroot/%_datadir/applnk/Development/uml.desktop %buildroot/%_menudir/%{name} "X11"
%{name}
%post
## menu
%update_menus
%postun
## menu
%clean_menus
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_docdir}/HTML/en/*
%{_bindir}/uml
%{_iconsdir}/hicolor/16x16/apps/*.png
%{_iconsdir}/hicolor/32x32/apps/*.png
%{_iconsdir}/locolor/16x16/apps/*.png
%{_iconsdir}/locolor/32x32/apps/*.png
%{_libdir}/lib*
%{_datadir}/applnk/Development/uml.desktop
%{_datadir}/apps/uml/*
%{_datadir}/mimelnk/application/x-uml.desktop
%attr(644,root,root) %{_menudir}/*
%changelog
* Fri Sep 13 2002 Reinhard Katzmann <[EMAIL PROTECTED]> 1.0.4cvs-0.1mdk
- Rebuild on 9.0b4
- Do NOT use %configure :-((
* Wed Feb 06 2002 Christian Belisle <[EMAIL PROTECTED]> 1.0.3-5mdk
- Rebuild.
- Macroize a little more.
- Clean the files listing.
- Put BuildRequires and Requires.
* Tue Dec 04 2001 Philippe Libat <[EMAIL PROTECTED]> 1.0.3-4mdk
- fix dummy release
* Tue Nov 6 2001 Vincent Saugey <[EMAIL PROTECTED]> 1.0.3-3mdk
- Rebuild with new png lib
* Mon Sep 24 2001 Laurent MONTEL <[EMAIL PROTECTED]> 1.0.3-2mdk
- Fix menu entry
* Mon Sep 24 2001 Laurent MONTEL <[EMAIL PROTECTED]> 1.0.3-1mdk
- Update code (1.0.3)
* Mon Sep 17 2001 Vincent Saugey <[EMAIL PROTECTED]> 1.0.2-1mdk
- New version
* Thu Sep 6 2001 Vincent Saugey <[EMAIL PROTECTED]> 1.0-1mdk
- New version
* Tue Sep 4 2001 Vincent Saugey <[EMAIL PROTECTED]> 1.0-RC1-1mdk
- First mandrake release.
msg75249/pgp00000.pgp
Description: PGP signature
