Parallel build on SMP machines, added cppunit-devel to build requirements, proper...
[libt2n] / libt2n.spec.in
... / ...
CommitLineData
1Summary: talk2neighbor - C++ IPC library
2Name: libt2n
3Version: @VERSION@
4Release: 1
5License: GPL version 2 + linking exception
6Group: Intranator
7Vendor: Intra2net AG
8Source: http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.gz
9Buildroot: /tmp/%{name}-%{version}-root
10Prefix: /usr
11Requires: boost >= 1.33
12BuildPrereq: libtool cppunit-devel
13URL: http://www.intra2net.com/en/developer/libt2n
14
15%description
16C++ IPC library
17
18%package devel
19Summary: talk2neighbor - C++ IPC library
20Group: Intranator/Development
21Requires: libt2n = %{version} libgettext gccxml libxml++
22BuildPrereq: boost-devel
23
24%description devel
25C++ IPC library devel files
26
27%prep
28%setup -q
29
30%build
31autoreconf --force --install
32./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
33%__make %{?_smp_mflags}
34
35make check
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)
48%doc AUTHORS README LICENSE COPYING.GPL
49%{prefix}/lib/libt2n.so*
50
51%files devel
52%doc ChangeLog doc examples examples-codegen
53%defattr(-,root,root)
54%{prefix}/bin/libt2n-codegen
55%{prefix}/lib/*.*a*
56%{prefix}/lib/pkgconfig/*.pc
57%{prefix}/include/
58%{prefix}/share/aclocal
59%{prefix}/share/libt2n