Remove autogenerated files
[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
2c49df2a 11Requires: boost >= 1.33
0bc9b2fb 12BuildPrereq: libtool cppunit-devel
d640e9d9 13URL: http://www.intra2net.com/en/developer/libt2n
58165311
TJ
14
15%description
16C++ IPC library
17
18%package devel
19Summary: talk2neighbor - C++ IPC library
20Group: Intranator/Development
1e1f17bf 21Requires: libt2n = %{version} libgettext gccxml libxml++
2c49df2a 22BuildPrereq: boost-devel
58165311
TJ
23
24%description devel
25C++ IPC library devel files
26
27%prep
28%setup -q
29
30%build
1420fedc
GE
31autoreconf --force --install
32./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
0bc9b2fb 33%__make %{?_smp_mflags}
58165311 34
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
58165311
TJ
55%{prefix}/lib/*.*a*
56%{prefix}/lib/pkgconfig/*.pc
57%{prefix}/include/
1420fedc
GE
58%{prefix}/share/aclocal
59%{prefix}/share/libt2n