]> git.pld-linux.org Git - packages/evms.git/blob - evms.spec
BR: glibc-static
[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:        2
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 BuildRequires:  glibc-static
16 Conflicts:      kernel < 2.4.0
17 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _sbindir        /sbin
20 %define         _libdir         /lib
21
22 %description
23 This package contains the user-space tools needed to manage EVMS
24 (Enterprise Volume Management System) volumes.
25
26 In order to use these user-space tools, you must also have your kernel
27 patched with the most recent EVMS code.
28
29 %description -l pl
30 Ten pakiet zawiera narzêdzia potrzebne do zarz±dzania wolumenami
31 dyskowymi EVMS (Enterprise Volume Management System).
32
33 Aby u¿ywaæ tych narzêdzi, musisz mieæ j±dro z odpowiednio now± ³at±
34 EVMS.
35
36 %package devel
37 Summary:        Header files and develpment documentation for EVMS
38 Summary(es):    Arquivos de cabeçalho e bibliotecas de desenvolvimento para EVMS
39 Summary(pl):    Pliki nag³ówkowe i dokumetacja do EVMS
40 Summary(pt_BR): Bibliotecas e arquivos de inclusão para a EVMS
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}
43
44 %description devel
45 Header files and develpment documentation for EVMS.
46
47 %description devel -l pl
48 Pliki nag³ówkowe oraz biblioteki developerskie EVMS.
49
50 %package static
51 Summary:        Static EVMS libraries
52 Summary(es):    Biblioteca estática usada no desenvolvimento de aplicativos com EVMS
53 Summary(pl):    Biblioteka statyczna EVMS
54 Summary(pt_BR): Biblioteca estática de desenvolvimento
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 Static EVMS libraries.
60
61 %description static -l pl
62 Statyczne biblioteki EVMS.
63
64 %package ncurses
65 Summary:        Ncurses interface for EVMS
66 Summary(pl):    Interfejs u¿ytkownika w ncurses dla EVMS
67 Group:          Applications/System
68 Requires:       %{name} = %{version}
69
70 %description ncurses
71 Ncurses interface for EVMS.
72
73 %description ncurses -l pl
74 Graficzny interfejs u¿ytkownika w ncurses dla EVMS.
75
76 %package X11
77 Summary:        GUI interface for EVMS
78 Summary(pl):    Graficzny interfejs u¿ytkownika dla EVMS
79 Group:          X11/Applications
80 Requires:       %{name} = %{version}
81
82 %description X11
83 GUI interface for EVMS.
84
85 %description X11 -l pl
86 Graficzny interfejs u¿ytkownika dla EVMS.
87
88 %prep
89 %setup -q
90 %patch0 -p1
91
92 %build
93 cd engine
94 autoconf
95 %configure \
96         --with-plugins=all \
97         --with-interfaces=all \
98         --with-evmslib_dir=%{_libdir}
99
100 %{__make} OPT="%{rpmcflags}"
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
105
106 %{__make} -C engine install \
107         DESTDIR=$RPM_BUILD_ROOT
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}%{_libdir}dlist-*.so
127 %attr(755,root,root) %{_libdir}%{_libdir}evms-*.so
128 %{_mandir}/man8/*
129
130 %files devel
131 %defattr(644,root,root,755)
132 %{_includedir}/evms
133 %attr(755,root,root) %{_libdir}%{_libdir}dlist.so
134 %attr(755,root,root) %{_libdir}%{_libdir}evms.so
135
136 %files static
137 %defattr(644,root,root,755)
138 %{_libdir}%{_libdir}*.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.060155 seconds and 4 git commands to generate.