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