1 Summary: library with functions common in Intra2net programs
5 License: Intranator License
8 Source: %{name}-%{version}.tar.gz
9 Buildroot: /tmp/%{name}-%{version}-root
10 Prefix: /usr/intranator
11 Requires: libi2ncommon-utils = %{version}
13 BuildRequires: boost-devel >= 1.32.0
18 library with functions common in Intra2net programs
21 Summary: library with functions common in Intra2net programs
22 Group: Intranator/Development
23 Requires: libi2ncommon = %{version}
24 Requires: boost-devel >= 1.32.0
28 library with functions common in Intra2net programs
32 Summary: library with a config module
34 Requires: libi2ncommon = %{version}
37 library with a config module.
38 The config module provides a global configuration system with decentralized
39 declaration of the config variables.
42 Summary: library with a xml module
44 Requires: libi2ncommon = %{version}
47 The xml module provides common xml functions.
50 Summary: library with open source utility modules
52 License: GPL version 2 + linking exception
55 Library with open source utility modules.
61 export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/intranator/lib/pkgconfig
66 export CFLAGS="$RPM_OPT_FLAGS"
67 export CXXFLAGS="$RPM_OPT_FLAGS"
68 cmake -DCMAKE_INSTALL_PREFIX="%{prefix}" ../
70 make %{?_smp_mflags} VERBOSE=1
79 make DESTDIR=$RPM_BUILD_ROOT install
82 rm -fr $RPM_BUILD_ROOT
89 %doc LICENSE COPYING.GPL
90 %{prefix}/lib/libi2ncommon.so*
94 # No static library for now
96 %{prefix}/lib/pkgconfig/*.pc
100 %defattr(-,root,root)
102 %{prefix}/lib/libi2ncommon_config.so*
105 %defattr(-,root,root)
107 %{prefix}/lib/libi2ncommon_xml.so*
110 %defattr(-,root,root)
111 %doc LICENSE COPYING.GPL
112 %{prefix}/lib/libi2ncommon_utils.so*