]> git.pld-linux.org Git - packages/evms.git/blob - evms.spec
- fixed Groups
[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 Conflicts:      kernel < 2.4.0
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 %patch0 -p1
90
91 %build
92 cd engine
93 autoconf
94 %configure \
95         --with-plugins=all \
96         --with-interfaces=all \
97         --with-evmslib_dir=%{_libdir}
98
99 %{__make} OPT="%{rpmcflags}"
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
104
105 %{__make} -C engine install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 mv $RPM_BUILD_ROOT%{_sbindir}/evmsgui $RPM_BUILD_ROOT%{_prefix}/X11R6/%{_sbindir}
109
110 gzip -9nf CHANGES *.txt
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post   -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
117
118 %files
119 %defattr(644,root,root,755)
120 %doc *.gz
121 %attr(755,root,root) %{_sbindir}/evms
122 %attr(755,root,root) %{_sbindir}/evms_*
123 %dir %{_libdir}/evms
124 %attr(755,root,root) %{_libdir}/evms/*.so
125 %attr(755,root,root) %{_libdir}%{_libdir}dlist-*.so
126 %attr(755,root,root) %{_libdir}%{_libdir}evms-*.so
127 %{_mandir}/man8/*
128
129 %files devel
130 %defattr(644,root,root,755)
131 %{_includedir}/evms
132 %attr(755,root,root) %{_libdir}%{_libdir}dlist.so
133 %attr(755,root,root) %{_libdir}%{_libdir}evms.so
134
135 %files static
136 %defattr(644,root,root,755)
137 %{_libdir}%{_libdir}*.a
138
139 %files ncurses
140 %defattr(644,root,root,755)
141 %attr(755,root,root) %{_sbindir}/evmsn
142
143 %files X11
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_prefix}/X11R6/%{_sbindir}/evmsgui
This page took 0.046072 seconds and 3 git commands to generate.