From 9ff74cdd4c51fa1c8662af157b61fc63f8da1bd6 Mon Sep 17 00:00:00 2001 From: kloczek Date: Sat, 7 Sep 2002 18:03:13 +0000 Subject: [PATCH] - partialy rewrited byt NYF. Changed files: dachshund.spec -> 1.2 --- dachshund.spec | 55 +++++++++++++++++++------------------------------- 1 file changed, 21 insertions(+), 34 deletions(-) diff --git a/dachshund.spec b/dachshund.spec index bd47c6a..41ac7fe 100644 --- a/dachshund.spec +++ b/dachshund.spec @@ -2,17 +2,18 @@ Summary: UML Visual Modeling Tool Name: dachshund Version: 0.1.0 Release: 1 -Copyright: GPL -Group: Gnome/Development -Source: %{name}-%{version}.tar.gz +License: GPL +Group: X11/Applications/Graphics +Source0: http://prdownloads.sourceforge.net/dachshund/%{name}-%{version}.tar.gz URL: http://dachshund.sourceforge.net/ -BuildRoot: /var/tmp/%{name}-%{version}-root -Prefix: /usr +BuildRequires: gtk+2-decel +BuildRequires: libgnome-devel >= 1.96.0 +BuildRequires: libgnomeui-devel >= 1.96.0 +BuildRequires: libxml2-devel >= 2.4.12 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -Requires: gtk2 >= 1.3.11 -Requires: libgnome >= 1.96.0 -Requires: libgnomeui >= 1.96.0 -Requires: libxml2 >= 2.4.12 +%define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man %description Dachshund is UML visual modeling tool for GNOME. @@ -21,35 +22,21 @@ Dachshund is UML visual modeling tool for GNOME. %setup -q %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc - -if [ "$SMP" != "" ]; then - make -j$SMP "MAKE=make -j$SMP" -else - make -fi +%configure +%{__make} %install -make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT/etc install - -%clean rm -rf $RPM_BUILD_ROOT -%post +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -%postun +%clean +rm -rf $RPM_BUILD_ROOT %files -%defattr(-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README -%{prefix}/bin/* -%{prefix}/share/dachshund/%{version}/pixmaps/*/* -%{prefix}/share/dachshund/%{version}/python/*/* - -%changelog -* Fri Mar 29 2002 David Bryant -- files only includes the dachshund binary now -- added checks for the required libraries - -* Thu Oct 4 2001 David Bryant -- wrote this file +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/* +%{_datadir}/dachshund/%{version}/pixmaps/*/* +%{_datadir}/dachshund/%{version}/python/*/* -- 2.44.0