[airrac/el5: 27/27] Package creation

Denis Arnaud denisarnaud at fedoraproject.org
Tue Dec 25 15:24:08 UTC 2012


commit 56ef42ba86783a4d77588ce97a8583d6a065a969
Merge: 074ceba 2368d32
Author: Denis Arnaud <denis.arnaud_fedora at m4x.org>
Date:   Tue Dec 25 16:23:49 2012 +0100

    Package creation

 .gitignore  |    9 +++++++--
 airrac.spec |   51 ++++++++++++++++++++++++++++-----------------------
 sources     |    2 +-
 3 files changed, 36 insertions(+), 26 deletions(-)
---
diff --cc airrac.spec
index 3d6483e,f9140c6..5d9de73
--- a/airrac.spec
+++ b/airrac.spec
@@@ -13,9 -13,9 +13,9 @@@ URL:            http://sourceforge.net/
  Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
  BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
  
--BuildRequires:  cmake, python-devel
- BuildRequires:  boost-devel, soci-mysql-devel, zeromq-devel
- BuildRequires:  stdair-devel
 -BuildRequires:  boost-devel, soci-mysql-devel, zeromq-devel, readline-devel
 -BuildRequires:  stdair-devel
++BuildRequires:  cmake, python26-devel
++BuildRequires:  boost141-devel, soci-mysql-devel, zeromq-devel
++BuildRequires:  readline-devel, ncurses-devel, stdair-devel
  
  
  %description
@@@ -57,22 -59,19 +59,28 @@@ online (http://%{name}.org)
  
  
  %build
--%cmake .
++mkdir -p build
++pushd build
++%cmake -DBOOST_LIBRARYDIR=%{_libdir}/boost141 \
++ -DBOOST_INCLUDEDIR=%{_includedir}/boost141 \
++ -DBoost_ADDITIONAL_VERSIONS="1.41 1.41.0" ..
  make %{?_smp_mflags}
++popd
  
  %install
  rm -rf $RPM_BUILD_ROOT
++pushd build
  make install DESTDIR=$RPM_BUILD_ROOT
++popd
  
  mkdir -p %{mydocs}
  mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
  rm -f %{mydocs}/html/installdox
  
  %check
- ctest
++pushd build
+ #ctest
++popd
  
  %clean
  rm -rf $RPM_BUILD_ROOT
@@@ -108,8 -107,30 +116,5 @@@
  
  
  %changelog
- * Fri Aug 19 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.1.0-2
- - Took into account the feedback from the package review (#728649)
- 
- * Fri Aug 05 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.1.0-1
+ * Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora at m4x.org> - 1.00.0-1
 -- Upstream update
 -
 -* Mon Dec 05 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.2.3-1
 -- Upstream update
 -
 -* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.2.1-2
 -- Rebuilt for the new soci-3.1.0 and stdair-0.44.0 packages
 -
 -* Wed Oct 19 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.2.1-1
 -- Upstream update
 -
 -* Sat Oct 15 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.2.0-1
 -- Upstream update
 -
 -* Tue Aug 30 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.1.2-1
 -- Upstream update
 -
 -* Sat Aug 20 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.1.1-1
 -- Removed the need for Graphviz: the class diagrams are no longer
 -  built with it
 -
 -* Fri Aug 19 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.1.0-2
 -- Took into account the feedback from the package review (#728649)
 -
 -* Fri Aug 05 2011 Denis Arnaud <denis.arnaud_fedora at m4x.org> 0.1.0-1
  - First package


More information about the scm-commits mailing list