]> git.pld-linux.org Git - packages/ftb.git/blob - ftb.spec
- release 2 (by relup.sh)
[packages/ftb.git] / ftb.spec
1 Summary:        Fault Tolerance Backplance library
2 Summary(pl.UTF-8):      Biblioteka Fault Tolerance Backplance
3 Name:           ftb
4 Version:        0.6.2
5 Release:        2
6 License:        BSD
7 Group:          Libraries
8 #Source0Download: http://www.mcs.anl.gov/research/cifts/downloads/index.php
9 Source0:        http://www.mcs.anl.gov/research/cifts/software/%{name}-%{version}.tgz
10 # Source0-md5:  d79b3dbcfdbfadb372cd4e47811d3048
11 Patch0:         %{name}-destdir.patch
12 URL:            http://www.mcs.anl.gov/research/cifts/
13 BuildRequires:  autoconf >= 2.59
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Fault Tolerance Backplance library.
18
19 %description -l pl.UTF-8
20 Biblioteka Fault Tolerance Backplance.
21
22 %package devel
23 Summary:        Header files for FTB library
24 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki FTB
25 Group:          Development/Libraries
26 Requires:       %{name} = %{version}-%{release}
27
28 %description devel
29 Header files for FTB library.
30
31 %description devel -l pl.UTF-8
32 Pliki nagłówkowe biblioteki FTB.
33
34 %package static
35 Summary:        Static FTB library
36 Summary(pl.UTF-8):      Statyczna biblioteka FTB
37 Group:          Development/Libraries
38 Requires:       %{name}-devel = %{version}-%{release}
39
40 %description static
41 Static FTB library.
42
43 %description static -l pl.UTF-8
44 Statyczna biblioteka FTB.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49
50 %build
51 %{__autoconf}
52 %{__autoheader}
53 %configure
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc README docs/chapters/{01_FTB_on_Linux.txt,02_TroubleShooting.txt} misc/license.BSD
72 %attr(755,root,root) %{_sbindir}/ftb_agent
73 %attr(755,root,root) %{_sbindir}/ftb_database_server
74 %attr(755,root,root) %{_libdir}/libftb.so
75
76 %files devel
77 %defattr(644,root,root,755)
78 %doc docs/ftb_developers_guide.pdf
79 %{_includedir}/libftb.h
80 %{_includedir}/ftb_*.h
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/libftb.a
This page took 0.15343 seconds and 3 git commands to generate.