replaced CODEGEN_ with XMLPP_
[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:    %{name}-%{version}.tar.gz
9 Buildroot: /tmp/%{name}-%{version}-root
10 Prefix:    /usr
11 Requires:  boost >= 1.33
12 BuildPrereq: libtool
13 Obsoletes: libmcop
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
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
33 ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix} --includedir=%{prefix}/include/%{name}
34 dmake
35
36 dmake 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 LICENSE
50 %{prefix}/lib/libt2n.so*
51
52 %files devel
53 %defattr(-,root,root)
54 %{prefix}/lib/*.*a*
55 %{prefix}/lib/pkgconfig/*.pc
56 %{prefix}/include/