Changed one more homepage link
[libt2n] / libt2n.spec.in
1 Summary:   talk2neighbor - C++ IPC library
2 Name:      libt2n
3 Version:   @VERSION@
4 Release:   1
5 Copyright: LGPL
6 Group:     Intranator
7 Vendor:    Intra2net AG
8 Source:    http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.gz
9 Buildroot: /tmp/%{name}-%{version}-root
10 Prefix:    /usr
11 Requires:  boost >= 1.33
12 BuildPrereq: libtool
13 URL:       http://www.intra2net.com/en/developer/libt2n
14
15 %description 
16 C++ IPC library
17
18 %package   devel
19 Summary:   talk2neighbor - C++ IPC library
20 Group:     Intranator/Development
21 Requires:  libt2n = %{version} libgettext gccxml libxml++
22 BuildPrereq: boost-devel
23
24 %description devel
25 C++ IPC library devel files
26
27 %prep
28 %setup -q
29
30 %build
31 cp -f /usr/share/libtool/ltmain.sh .
32 autoreconf --force --install
33 ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
34 make
35
36 make check
37
38 %install
39 make DESTDIR=$RPM_BUILD_ROOT install
40
41 %clean
42 rm -fr $RPM_BUILD_ROOT
43
44 %post
45 /sbin/ldconfig
46
47 %files
48 %defattr(-,root,root)
49 %doc AUTHORS README COPYING.LIB COPYING
50 %{prefix}/lib/libt2n.so*
51
52 %files devel
53 %doc ChangeLog doc examples examples-codegen 
54 %defattr(-,root,root)
55 %{prefix}/bin/libt2n-codegen
56 %{prefix}/lib/*.*a*
57 %{prefix}/lib/pkgconfig/*.pc
58 %{prefix}/include/
59 %{prefix}/share/aclocal
60 %{prefix}/share/libt2n