[Uml-user] RPM for 1.2
Kenneth Porter
shiva at sewingwitch.com
Sat Feb 7 04:03:40 UTC 2004
Here's a spec file for 1.2, based on the Red Hat one for 1.1.1. It builds and
installs on Fedora Core 1.
-------------- next part --------------
# Spec file adapted from 1.1.1 SRPM to 1.2 tarball# Removed autoconf invocation and used configure script supplied in# 1.2 tarball.# Use RPM configure macro.# Add BuildPrereqs.# The 1.1.1 spec file was generated using Kpp# If you find any problems with this spec file please report# the error to ian geiser <geiseri at msoe.edu>Summary: Unified Modelling Language (UML) diagram editorName: umbrelloVersion: 1.2Release: 1Copyright: GPLVendor: Umbrello UML Modeller Authors <umbrello-devel at kde.org>Url: http://uml.sf.netGroup: Development/UtilitiesSource: http://easynews.dl.sourceforge.net/sourceforge/uml/umbrello-1.2-1.tar.gzBuildRoot: %{_tmppath}/%{name}-buildrootBuildPrereq: qt-develBuildPrereq: kdelibs-develBuildPrereq: arts-develBuildPrereq: libart_lgpl-devel%descriptionDiagram modeller for Unified Modelling Language (UML)Allows you to create diagrams using the Unified Modelling Language (UML)standard, export XMI files and generate source code.Currently, it can create the following diagrams: * Use Case Diagrams * Sequence Diagrams * Collaboration Diagrams * Sequence Diagrams * State Diagrams * Activity Diagrams * and soon more :-)It also has preliminary code generation capability (Java, C++, soon PHP).%prep%setup -q%build#CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \# --prefix=/usr --enable-debug $LOCALFLAGS \# --with-qt-dir=/usr/lib/qt-3.1%configure --with-qt-dir=/usr/lib/qt-3.1# Setup for parallel buildsnumprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`if [ "$numprocs" = "0" ]; then numprocs=1fimake -j$numprocs%install#make install-strip DESTDIR=$RPM_BUILD_ROOTmake install-strip DESTDIR=$RPM_BUILD_ROOTcd $RPM_BUILD_ROOTfind . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.umlfind . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.umlfind . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.uml%cleanrm -rf $RPM_BUILD_ROOT/*rm -rf $RPM_BUILD_DIR/umlrm -rf ../file.list.uml%files -f ../file.list.uml
More information about the umbrello
mailing list