]> git.pld-linux.org Git - packages/evms.git/blobdiff - evms.spec
- updated to 2.2.1
[packages/evms.git] / evms.spec
index 2c64c57ec1e07b63653ac4c369657e7659bc498b..be2440cf712037a47f1980704ecd97725590425f 100644 (file)
--- a/evms.spec
+++ b/evms.spec
@@ -1,21 +1,25 @@
 Summary:       Enterprise Volume Management System utilities
 Summary(pl):   Narzêdzia do Enterprise Volume Management System
 Name:          evms
-Version:       0.9.2
+Version:       2.2.1
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/System
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/evms/%{name}-%{version}.tar.gz
-Patch0:                %{name}-make.patch
-URL:           http://www.sourceforge.net/projects/evms/
+Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 26f268e01249b765c3163597e09eec29
+Patch0:                %{name}-link.patch
+URL:           http://evms.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: glibc-static
 BuildRequires: glib-devel >= 1.2.0
 BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: libuuid-devel
 BuildRequires: ncurses-devel
-BuildRequires: autoconf
-Conflicts:     kernel < 2.4.0
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Conflicts:     kernel < 2.4.19
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sbindir        /sbin
+%define                _libdir         /lib
 
 %description
 This package contains the user-space tools needed to manage EVMS
@@ -62,7 +66,7 @@ Statyczne biblioteki EVMS.
 %package ncurses
 Summary:       Ncurses interface for EVMS
 Summary(pl):   Interfejs u¿ytkownika w ncurses dla EVMS
-Group:         Development/Libraries
+Group:         Applications/System
 Requires:      %{name} = %{version}
 
 %description ncurses
@@ -74,7 +78,7 @@ Graficzny interfejs u
 %package X11
 Summary:       GUI interface for EVMS
 Summary(pl):   Graficzny interfejs u¿ytkownika dla EVMS
-Group:         Development/Libraries
+Group:         X11/Applications
 Requires:      %{name} = %{version}
 
 %description X11
@@ -85,30 +89,26 @@ Graficzny interfejs u
 
 %prep
 %setup -q
-%patch0 -p1
+#%patch -p1
 
 %build
-cd engine
-autoconf
-CPPFLAGS="-I%{_includedir}/ncurses"; export CPPFLAGS
+%{__autoconf}
 %configure \
        --with-plugins=all \
-       --with-interfaces=all
-%{__make} OPT="%{rpmcflags}"
+       --with-interfaces=all \
+       --with-kernel=%{_kernelsrcdir}
+
+%{__make} \
+       OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
-
-%{__make} -C engine install \
-       prefix="$RPM_BUILD_ROOT%{_prefix}" \
-       exec_prefix="$RPM_BUILD_ROOT%{_prefix}" \
-       sbindir="$RPM_BUILD_ROOT%{_sbindir}" \
-       mandir="$RPM_BUILD_ROOT%{_mandir}"
+install -d $RPM_BUILD_ROOT/etc
 
-mv $RPM_BUILD_ROOT%{_sbindir}/evmsgui $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf CHANGES *.txt
+install doc/evms.conf $RPM_BUILD_ROOT/etc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -118,13 +118,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_sbindir}/evms
-%attr(755,root,root) %{_sbindir}/evms_*
+%doc ChangeLog INSTALL* PLUGIN* TERMINOLOGY
+%config(noreplace) %verify(not size mtime md5) /etc/evms.conf
+%attr(755,root,root) %{_sbindir}/evms*
+%attr(755,root,root) %{_sbindir}/get*
 %dir %{_libdir}/evms
 %attr(755,root,root) %{_libdir}/evms/*.so
-%attr(755,root,root) %{_libdir}/libdlist-*.so
-%attr(755,root,root) %{_libdir}/libevms-*.so
+%attr(755,root,root) %{_libdir}/libdlist-*.so.*
+%attr(755,root,root) %{_libdir}/libevms-*.so.*
 %{_mandir}/man8/*
 
 %files devel
@@ -143,4 +144,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files X11
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/X11R6/%{_sbindir}/evmsgui
+%attr(755,root,root) %{_sbindir}/evmsgui
This page took 0.059605 seconds and 4 git commands to generate.