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