]> git.pld-linux.org Git - packages/OpenIPMI.git/blob - OpenIPMI.spec
dc34a99d67d27301666b417d59882d4c5a696707
[packages/OpenIPMI.git] / OpenIPMI.spec
1 # - check python package
2 # what about /usr/share/python2.4/site-packages/OpenIPMI.py ?
3
4 Summary:        IPMI abstraction layer
5 Summary(pl):    Warstwa abstrakcji IPMI
6 Name:           OpenIPMI
7 Version:        2.0.1
8 Release:        0.99
9 License:        LGPL (library), GPL (ipmicmd)
10 Group:          Libraries
11 Source0:        http://dl.sourceforge.net/openipmi/%{name}-%{version}.tar.gz
12 # Source0-md5:  b5474114ff84a872c5075744201bc4f0
13 Patch0:         %{name}-link.patch
14 URL:            http://openipmi.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gcc >= 5:3.2
18 BuildRequires:  gdbm-devel
19 BuildRequires:  glib2-devel >= 2.0
20 BuildRequires:  libtool >= 1:1.4.2-9
21 BuildRequires:  ncurses-devel
22 BuildRequires:  net-snmp-devel
23 BuildRequires:  perl-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  popt-devel
26 BuildRequires:  swig
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 OpenIPMI project aims to develop an open code base to allow access to
31 platform information using Intelligent Platform Management Interface
32 (IPMI).
33
34 %description -l pl
35 Celem projektu OpenIPMI jest stworzenie otwartej podstawy kodu
36 pozwalaj±cego na dostêp do informacji o platformie pzy u¿yciu
37 interfejsu IPMI (Intelligent Platform Management Interface -
38 interfejsu inteligentnego zarz±dzania platform±)
39
40 %package devel
41 Summary:        Development part of OpenIPMI Toolkit libraries
42 Summary(pl):    Programistyczna cze¶æ bibliotek OpenIPMI
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45
46 %description devel
47 Development part of OpenIPMI libraries.
48
49 %description devel -l pl
50 Programistyczna cze¶æ bibliotek OpenIPMI.
51
52 %package static
53 Summary:        Static OpenIPMI libraries
54 Summary(pl):    Statyczne biblioteki OpenIPMI
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static OpenIPMI Toolkit libraries.
60
61 %description static -l pl
62 Statyczne biblioteki OpenIPMI.
63
64 %package -n perl-%{name}
65 Summary:        Perl interface to OpenIPMI
66 Summary(pl):    Perlowy interfejs do OpenIPMI
67 Group:          Development/Languages/Perl
68 Requires:       %{name} = %{version}-%{release}
69
70 %description -n perl-%{name}
71 Perl interface to OpenIPMI.
72
73 %description -n perl-%{name} -l pl
74 Perlowy interfejs do OpenIPMI.
75
76 %package -n python-%{name}
77 Summary:        Python interface to OpenIPMI
78 Summary(pl):    Pythonowy interfejs do OpenIPMI
79 Group:          Development/Languages/Python
80 Requires:       %{name} = %{version}-%{release}
81
82 %description -n python-%{name}
83 Python interface to OpenIPMI.
84
85 %description -n perl-%{name} -l pl
86 Pythonowy interfejs do OpenIPMI.
87
88 %prep
89 %setup -q
90 %patch0 -p1
91
92 %build
93 %{__libtoolize}
94 %{__aclocal}
95 %{__autoconf}
96 %{__automake}
97 CPPFLAGS="-I/usr/include/ncurses"
98 %configure
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files
114 %defattr(644,root,root,755)
115 %doc ChangeLog FAQ README* TODO
116 %attr(755,root,root) %{_bindir}/*
117 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
118 %{_mandir}/man[178]/*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/lib*.so
123 %{_libdir}/*.la
124 %{_includedir}/%{name}
125 %{_pkgconfigdir}/*.pc
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/lib*.a
130
131 %files -n perl-%{name}
132 %defattr(644,root,root,755)
133 %{perl_vendorarch}/OpenIPMI.pm
134 %dir %{perl_vendorarch}/auto/OpenIPMI
135 %attr(755,root,root) %{perl_vendorarch}/auto/OpenIPMI/OpenIPMI.so
136
137 %files -n python-%{name}
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{py_sitescriptdir}/*.so
140 %{py_sitescriptdir}/*.py[oc]
This page took 0.131867 seconds and 3 git commands to generate.