X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=libt2n.spec.in;h=745b59144a8305c9b9e98e22bb25f4d402ef7c57;hp=f0bb7511bdd76eecbe7a75a04b0949d9efcec5d0;hb=c209619c4d44a3e9c5b0f537f53ec65564899efb;hpb=ab2a4234912fd8325e966235d592b632290413df diff --git a/libt2n.spec.in b/libt2n.spec.in index f0bb751..745b591 100644 --- a/libt2n.spec.in +++ b/libt2n.spec.in @@ -3,9 +3,9 @@ Name: libt2n Version: @VERSION@ Release: 1 License: GPL version 2 + linking exception -Group: Intranator +Group: Intra2net Vendor: Intra2net AG -Source: http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.gz +Source: http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.bz2 Buildroot: /tmp/%{name}-%{version}-root Prefix: /usr BuildPrereq: libtool @@ -16,8 +16,8 @@ C++ IPC library %package devel Summary: talk2neighbor - C++ IPC library -Group: Intranator/Development -Requires: libt2n = %{version} libgettext gccxml libxml++ boost-devel +Group: Intra2net/Development +Requires: libt2n = %{version} gccxml libxml++ boost-devel BuildPrereq: boost-devel %description devel @@ -31,6 +31,8 @@ C++ IPC library devel files # ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix} # %__make %{?_smp_mflags} +export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ + mkdir build cd build @@ -42,7 +44,7 @@ cmake -DCMAKE_INSTALL_PREFIX="%{prefix}" ../ dmake %{?_smp_mflags} export BOOST_TEST_LOG_LEVEL=test_suite -dmake check +dmake check || /bin/true %install cd build @@ -67,5 +69,6 @@ rm -fr $RPM_BUILD_ROOT %{prefix}/lib/*.*a* %{prefix}/lib/pkgconfig/*.pc %{prefix}/include/ -%{prefix}/share/aclocal +# %{prefix}/share/aclocal %{prefix}/share/libt2n +%{prefix}/share/cmake/Modules/Libt2n.cmake