]> git.pld-linux.org Git - packages/evms.git/blobdiff - evms.spec
- updated gettext BR
[packages/evms.git] / evms.spec
index 872ec94ec783350e35ce4e3f42a94be8c12303b3..ae1d9fc002b8dbc67d6418d66dd7009ab018e3eb 100644 (file)
--- a/evms.spec
+++ b/evms.spec
 Summary:       Enterprise Volume Management System utilities
-Summary(pl):   Narzêdzia do Enterprise Volume Management System
+Summary(pl.UTF-8):     Narzędzia do Enterprise Volume Management System
 Name:          evms
-Version:       0.9.0
-Release:       1
-License:       GPL
+Version:       2.5.5
+Release:       3
+License:       GPL v2+
 Group:         Applications/System
-Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/evms/%{name}-%{version}.tar.gz
-URL:           http://www.sourceforge.net/projects/evms/
-Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Source0:       http://dl.sourceforge.net/evms/%{name}-%{version}.tar.gz
+# Source0-md5: 45b463f0cbade194dc0a08be432b572e
+Patch0:                %{name}-link.patch
+Patch1:                %{name}-page_size.patch
+URL:           http://evms.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: gettext-tools
+BuildRequires: glib-devel >= 1.2.0
+BuildRequires: glibc-static
+BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: libtool
+BuildRequires: libuuid-devel
+BuildRequires: ncurses-ext-devel
+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
 (Enterprise Volume Management System) volumes.
 
 In order to use these user-space tools, you must also have your kernel
-patched with the most recent EVMS code. This code is available in the
-source package on the project web page
-http://www.sf.net/projects/evms/ .
-
-Please see the EVMS-HOWTO on the project web page or in the source
-package for detailed instructions on patching your kernel with EVMS
-and using the tools after installation.
+patched with the most recent EVMS code.
 
-%description -l pl
-Ten pakiet zawiera narzêdzia potrzebne do zarz±dzania wolumenami
+%description -l pl.UTF-8
+Ten pakiet zawiera narzędzia potrzebne do zarządzania wolumenami
 dyskowymi EVMS (Enterprise Volume Management System).
 
-Aby u¿ywaæ tych narzêdzi, musisz mieæ j±dro z odpowiednio now± ³at±
-EVMS. Ten kod jest dostêpny na stronie projektu
-http://www.sf.net/projects/evms/ .
+Aby używać tych narzędzi, musisz mieć jądro z odpowiednio nową łatą
+EVMS.
+
+%package devel
+Summary:       Header files for EVMS
+Summary(es.UTF-8):     Arquivos de cabeçalho e bibliotecas de desenvolvimento para EVMS
+Summary(pl.UTF-8):     Pliki nagłówkowe dla EVMS
+Summary(pt_BR.UTF-8):  Bibliotecas e arquivos de inclusão para a EVMS
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for EVMS.
 
-Dok³adny opis ³atania j±dra i u¿ywania narzêdzi znajduje siê w
-ECMS-HOWTO na stronie projektu lub w pakiecie ¼ród³owym.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla EVMS.
+
+%package static
+Summary:       Static EVMS library
+Summary(es.UTF-8):     Biblioteca estática usada no desenvolvimento de aplicativos com EVMS
+Summary(pl.UTF-8):     Statyczna biblioteka EVMS
+Summary(pt_BR.UTF-8):  Biblioteca estática de desenvolvimento
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static EVMS library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka EVMS.
+
+%package ncurses
+Summary:       Ncurses interface for EVMS
+Summary(pl.UTF-8):     Interfejs użytkownika w ncurses dla EVMS
+Group:         Applications/System
+Requires:      %{name} = %{version}-%{release}
+
+%description ncurses
+Ncurses interface for EVMS.
+
+%description ncurses -l pl.UTF-8
+Graficzny interfejs użytkownika w ncurses dla EVMS.
+
+%package X11
+Summary:       GUI interface for EVMS
+Summary(pl.UTF-8):     Graficzny interfejs użytkownika dla EVMS
+Group:         X11/Applications
+Requires:      %{name} = %{version}-%{release}
+
+%description X11
+GUI interface for EVMS.
+
+%description X11 -l pl.UTF-8
+Graficzny interfejs użytkownika dla EVMS.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+
+head -n 1420 aclocal.m4 > acinclude.m4
 
 %build
-cd engine
-autoconf
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+
 %configure
 
-%{__make}
+%{__make} \
+       OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd engine
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
+
 %{__make} install \
-       prefix="$RPM_BUILD_ROOT%{_prefix}" \
-       exec_prefix="$RPM_BUILD_ROOT%{_prefix}"
+       DESTDIR=$RPM_BUILD_ROOT
+
+install doc/evms.conf $RPM_BUILD_ROOT%{_sysconfdir}
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,48 +126,32 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libdlist.so.1.0
-%attr(755,root,root) %{_libdir}/libevms-0.9.0.so
+%doc ChangeLog INSTALL* PLUGIN* TERMINOLOGY
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/evms.conf
+%attr(755,root,root) %{_sbindir}/evms*
+%exclude %{_sbindir}/evmsn
+%exclude %{_sbindir}/evmsgui
 %dir %{_libdir}/evms
-%attr(755,root,root) %{_libdir}/evms/libaixregmgr.0.1.0.so
-%attr(755,root,root) %{_libdir}/evms/libbbr.1.0.0.so
-%attr(755,root,root) %{_libdir}/evms/libdefsegmgr.1.0.0.so
-%attr(755,root,root) %{_libdir}/evms/libdrivelink.1.0.0.so
-%attr(755,root,root) %{_libdir}/evms/liblocaldskmgr.1.0.0.so
-%attr(755,root,root) %{_libdir}/evms/liblvmregmgr.0.8.0.so
-%attr(755,root,root) %{_libdir}/evms/libmdregmgr.0.1.0.so
-%attr(755,root,root) %{_libdir}/evms/libos2regmgr.1.0.0.so
-%attr(755,root,root) %{_libdir}/evms/libsnapshot.2.0.0.so
-%attr(755,root,root) %{_sbindir}/evms
-%attr(755,root,root) %{_sbindir}/evmsgui
+%dir %{_libdir}/evms/%{version}
+%attr(755,root,root) %{_libdir}/evms/%{version}/*.so
+%attr(755,root,root) %{_libdir}/libevms-*.so.*
+%{_mandir}/man8/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libevms.so
+%{_includedir}/evms
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libevms.a
+
+%files ncurses
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/evmsn
-%attr(755,root,root) %{_sbindir}/evms_devnode_fixup
-%attr(755,root,root) %{_sbindir}/evms_rediscover
-%attr(755,root,root) %{_sbindir}/evms_lvcreate
-%attr(755,root,root) %{_sbindir}/evms_lvdisplay
-%attr(755,root,root) %{_sbindir}/evms_lvextend
-%attr(755,root,root) %{_sbindir}/evms_lvreduce
-%attr(755,root,root) %{_sbindir}/evms_lvremove
-%attr(755,root,root) %{_sbindir}/evms_lvscan
-%attr(755,root,root) %{_sbindir}/evms_pvcreate
-%attr(755,root,root) %{_sbindir}/evms_pvdisplay
-%attr(755,root,root) %{_sbindir}/evms_pvremove
-%attr(755,root,root) %{_sbindir}/evms_pvscan
-%attr(755,root,root) %{_sbindir}/evms_vgcreate
-%attr(755,root,root) %{_sbindir}/evms_vgdisplay
-%attr(755,root,root) %{_sbindir}/evms_vgextend
-%attr(755,root,root) %{_sbindir}/evms_vgreduce
-%attr(755,root,root) %{_sbindir}/evms_vgremove
-%attr(755,root,root) %{_sbindir}/evms_vgscan
-%dir %{_includedir}/evms
-%{_includedir}/evms/appAPI.h
-%{_includedir}/evms/appstructs.h
-%{_includedir}/evms/common.h
-%{_includedir}/evms/enginestructs.h
-%{_includedir}/evms/frontend.h
-%{_includedir}/evms/fullengine.h
-%{_includedir}/evms/options.h
-%{_includedir}/evms/plugfuncs.h
-%{_includedir}/evms/plugin.h
+
+%files X11
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/evmsgui
This page took 0.096117 seconds and 4 git commands to generate.