Update to newer boost autoconf macros
[libt2n] / libt2n.spec.in
CommitLineData
58165311
TJ
1Summary: talk2neighbor - C++ IPC library
2Name: libt2n
3Version: @VERSION@
e1f27c9e 4Release: 1
4a4c6740 5License: GPL version 2 + linking exception
58165311
TJ
6Group: Intranator
7Vendor: Intra2net AG
d640e9d9 8Source: http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.gz
58165311
TJ
9Buildroot: /tmp/%{name}-%{version}-root
10Prefix: /usr
0bc9b2fb 11BuildPrereq: libtool cppunit-devel
d640e9d9 12URL: http://www.intra2net.com/en/developer/libt2n
58165311
TJ
13
14%description
15C++ IPC library
16
17%package devel
18Summary: talk2neighbor - C++ IPC library
19Group: Intranator/Development
c9d33be6 20Requires: libt2n = %{version} libgettext gccxml libxml++ boost-devel
2c49df2a 21BuildPrereq: boost-devel
58165311
TJ
22
23%description devel
24C++ IPC library devel files
25
26%prep
27%setup -q
28
29%build
1420fedc
GE
30autoreconf --force --install
31./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
0bc9b2fb 32%__make %{?_smp_mflags}
58165311 33
1e1f17bf 34make check
58165311
TJ
35
36%install
37make DESTDIR=$RPM_BUILD_ROOT install
38
39%clean
40rm -fr $RPM_BUILD_ROOT
41
42%post
43/sbin/ldconfig
44
45%files
46%defattr(-,root,root)
19facd85 47%doc AUTHORS README LICENSE COPYING.GPL
58165311
TJ
48%{prefix}/lib/libt2n.so*
49
50%files devel
53d60743 51%doc ChangeLog doc examples examples-codegen
58165311 52%defattr(-,root,root)
1420fedc 53%{prefix}/bin/libt2n-codegen
58f452c4 54%{prefix}/bin/libt2n-gccxml.sh
58165311
TJ
55%{prefix}/lib/*.*a*
56%{prefix}/lib/pkgconfig/*.pc
57%{prefix}/include/
1420fedc
GE
58%{prefix}/share/aclocal
59%{prefix}/share/libt2n