]> git.pld-linux.org Git - packages/dachshund.git/commitdiff
- partialy rewrited byt NYF.
authorkloczek <kloczek@pld-linux.org>
Sat, 7 Sep 2002 18:03:13 +0000 (18:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dachshund.spec -> 1.2

dachshund.spec

index bd47c6a6c9191c99433f001df3e9f445b87d8e9e..41ac7fe70c692768c5fbb2ab411d600196bf3bb4 100644 (file)
@@ -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 <daveb@acres.com.au>
-- files only includes the dachshund binary now
-- added checks for the required libraries
-
-* Thu Oct 4 2001 David Bryant <daveb@acres.com.au>
-- 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/*/*
This page took 0.094271 seconds and 4 git commands to generate.