X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=libt2n.spec.in;h=2ee3df02a9511f1d2dcb8d1396fb45ac7e8ba8fe;hp=69e77bc74bbd7738fd206d389afd293a26151aa7;hb=58f452c4278be2568cb663f1ec47b0cca95c46f6;hpb=2c49df2a77df8ded0ee565cccf5ed784f46d0f37 diff --git a/libt2n.spec.in b/libt2n.spec.in index 69e77bc..2ee3df0 100644 --- a/libt2n.spec.in +++ b/libt2n.spec.in @@ -2,14 +2,15 @@ Summary: talk2neighbor - C++ IPC library Name: libt2n Version: @VERSION@ Release: 1 -Copyright: LGPL +License: GPL version 2 + linking exception Group: Intranator Vendor: Intra2net AG -Source: %{name}-%{version}.tar.gz +Source: http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.gz Buildroot: /tmp/%{name}-%{version}-root Prefix: /usr Requires: boost >= 1.33 -BuildPrereq: libtool +BuildPrereq: libtool cppunit-devel +URL: http://www.intra2net.com/en/developer/libt2n %description C++ IPC library @@ -17,7 +18,7 @@ C++ IPC library %package devel Summary: talk2neighbor - C++ IPC library Group: Intranator/Development -Requires: libt2n = %{version} libgettext +Requires: libt2n = %{version} libgettext gccxml libxml++ BuildPrereq: boost-devel %description devel @@ -27,12 +28,11 @@ C++ IPC library devel files %setup -q %build -cp -f /usr/share/libtool/ltmain.sh . -autoreconf --force -./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix} --includedir=%{prefix}/include/%{name} -dmake +autoreconf --force --install +./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix} +%__make %{?_smp_mflags} -dmake check +make check %install make DESTDIR=$RPM_BUILD_ROOT install @@ -45,11 +45,16 @@ rm -fr $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc LICENSE +%doc AUTHORS README LICENSE COPYING.GPL %{prefix}/lib/libt2n.so* %files devel +%doc ChangeLog doc examples examples-codegen %defattr(-,root,root) +%{prefix}/bin/libt2n-codegen +%{prefix}/bin/libt2n-gccxml.sh %{prefix}/lib/*.*a* %{prefix}/lib/pkgconfig/*.pc %{prefix}/include/ +%{prefix}/share/aclocal +%{prefix}/share/libt2n