Migrate from cppunit to Boost.test
[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
307b5e74 11BuildPrereq: libtool
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
307b5e74 34export BOOST_TEST_LOG_LEVEL=test_suite
1e1f17bf 35make check
58165311
TJ
36
37%install
38make DESTDIR=$RPM_BUILD_ROOT install
39
40%clean
41rm -fr $RPM_BUILD_ROOT
42
43%post
44/sbin/ldconfig
45
46%files
47%defattr(-,root,root)
19facd85 48%doc AUTHORS README LICENSE COPYING.GPL
58165311
TJ
49%{prefix}/lib/libt2n.so*
50
51%files devel
53d60743 52%doc ChangeLog doc examples examples-codegen
58165311 53%defattr(-,root,root)
1420fedc 54%{prefix}/bin/libt2n-codegen
58f452c4 55%{prefix}/bin/libt2n-gccxml.sh
58165311
TJ
56%{prefix}/lib/*.*a*
57%{prefix}/lib/pkgconfig/*.pc
58%{prefix}/include/
1420fedc
GE
59%{prefix}/share/aclocal
60%{prefix}/share/libt2n