]> git.pld-linux.org Git - packages/evms.git/blob - evms.spec
- updated to 0.9.2
[packages/evms.git] / evms.spec
1 Summary:        Enterprise Volume Management System utilities
2 Summary(pl):    Narzêdzia do Enterprise Volume Management System
3 Name:           evms
4 Version:        0.9.2
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/evms/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-make.patch
10 URL:            http://www.sourceforge.net/projects/evms/
11 BuildRequires:  glib-devel >= 1.2.0
12 BuildRequires:  gtk+-devel >= 1.2.0
13 BuildRequires:  ncurses-devel
14 BuildRequires:  autoconf
15 Conflicts:      kernel < 2.4.0
16 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sbindir        /sbin
19
20 %description
21 This package contains the user-space tools needed to manage EVMS
22 (Enterprise Volume Management System) volumes.
23
24 In order to use these user-space tools, you must also have your kernel
25 patched with the most recent EVMS code.
26
27 %description -l pl
28 Ten pakiet zawiera narzêdzia potrzebne do zarz±dzania wolumenami
29 dyskowymi EVMS (Enterprise Volume Management System).
30
31 Aby u¿ywaæ tych narzêdzi, musisz mieæ j±dro z odpowiednio now± ³at±
32 EVMS.
33
34 %package devel
35 Summary:        Header files and develpment documentation for EVMS
36 Summary(es):    Arquivos de cabeçalho e bibliotecas de desenvolvimento para EVMS
37 Summary(pl):    Pliki nag³ówkowe i dokumetacja do EVMS
38 Summary(pt_BR): Bibliotecas e arquivos de inclusão para a EVMS
39 Group:          Development/Libraries
40 Requires:       %{name} = %{version}
41
42 %description devel
43 Header files and develpment documentation for EVMS.
44
45 %description devel -l pl
46 Pliki nag³ówkowe oraz biblioteki developerskie EVMS.
47
48 %package static
49 Summary:        Static EVMS libraries
50 Summary(es):    Biblioteca estática usada no desenvolvimento de aplicativos com EVMS
51 Summary(pl):    Biblioteka statyczna EVMS
52 Summary(pt_BR): Biblioteca estática de desenvolvimento
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Static EVMS libraries.
58
59 %description static -l pl
60 Statyczne biblioteki EVMS.
61
62 %package ncurses
63 Summary:        Ncurses interface for EVMS
64 Summary(pl):    Interfejs u¿ytkownika w ncurses dla EVMS
65 Group:          Development/Libraries
66 Requires:       %{name} = %{version}
67
68 %description ncurses
69 Ncurses interface for EVMS.
70
71 %description ncurses -l pl
72 Graficzny interfejs u¿ytkownika w ncurses dla EVMS.
73
74 %package X11
75 Summary:        GUI interface for EVMS
76 Summary(pl):    Graficzny interfejs u¿ytkownika dla EVMS
77 Group:          Development/Libraries
78 Requires:       %{name} = %{version}
79
80 %description X11
81 GUI interface for EVMS.
82
83 %description X11 -l pl
84 Graficzny interfejs u¿ytkownika dla EVMS.
85
86 %prep
87 %setup -q
88 %patch0 -p1
89
90 %build
91 cd engine
92 autoconf
93 CPPFLAGS="-I%{_includedir}/ncurses"; export CPPFLAGS
94 %configure \
95         --with-plugins=all \
96         --with-interfaces=all
97 %{__make} OPT="%{rpmcflags}"
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
102
103 %{__make} -C engine install \
104         prefix="$RPM_BUILD_ROOT%{_prefix}" \
105         exec_prefix="$RPM_BUILD_ROOT%{_prefix}" \
106         sbindir="$RPM_BUILD_ROOT%{_sbindir}" \
107         mandir="$RPM_BUILD_ROOT%{_mandir}"
108
109 mv $RPM_BUILD_ROOT%{_sbindir}/evmsgui $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
110
111 gzip -9nf CHANGES *.txt
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %post   -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
118
119 %files
120 %defattr(644,root,root,755)
121 %doc *.gz
122 %attr(755,root,root) %{_sbindir}/evms
123 %attr(755,root,root) %{_sbindir}/evms_*
124 %dir %{_libdir}/evms
125 %attr(755,root,root) %{_libdir}/evms/*.so
126 %attr(755,root,root) %{_libdir}/libdlist-*.so
127 %attr(755,root,root) %{_libdir}/libevms-*.so
128 %{_mandir}/man8/*
129
130 %files devel
131 %defattr(644,root,root,755)
132 %{_includedir}/evms
133 %attr(755,root,root) %{_libdir}/libdlist.so
134 %attr(755,root,root) %{_libdir}/libevms.so
135
136 %files static
137 %defattr(644,root,root,755)
138 %{_libdir}/lib*.a
139
140 %files ncurses
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_sbindir}/evmsn
143
144 %files X11
145 %defattr(644,root,root,755)
146 %attr(755,root,root) %{_prefix}/X11R6/%{_sbindir}/evmsgui
This page took 0.055041 seconds and 4 git commands to generate.