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