diff --git a/sources b/sources index 78a7df9..81a0525 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4210bfcbc3dbfd0059efaf0e9932c973 stdair-0.38.0.tar.bz2 +e79a7fa21dc6c32d087d2f07135398f7 stdair-0.43.1.tar.bz2 diff --git a/stdair.spec b/stdair.spec index 416dfb1..6603f4e 100644 --- a/stdair.spec +++ b/stdair.spec @@ -2,7 +2,7 @@ %global mydocs __tmp_docdir # Name: stdair -Version: 0.38.0 +Version: 0.43.1 Release: 1%{?dist} Summary: C++ Standard Airline IT Object Library @@ -13,55 +13,63 @@ URL: http://sourceforge.net/projects/%{name}/ 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,readline-devel +BuildRequires: cmake, python-devel +BuildRequires: boost-devel, soci-mysql-devel, zeromq-devel, readline-devel %description %{name} aims at providing a clean API, and the corresponding C++ -implementation, for the basis of Airline IT Business Object Model (BOM), -that is, to be used by several other open source projects, such as RMOL, -Air-Sched, Travel-CCM, OpenTREP, etc. +implementation, for the basis of Airline IT and travel distribution +Business Object Model (BOM), that is, to be used by several other open +source projects, such as AirRAC, RMOL, AirInv, AvlCal, AirSched, SimFQT, +SimLFS, SimCRS, TravelCCM, SEvMgr, TraDemGen, DSim, OpenTREP, etc. -Install the %{name} package if you need a Standard Airline IT C++ objects. +Install the %{name} package if you need a library of basic C++ objects +for Airline IT (e.g., schedule management, inventory, revenue management, +revenue accounting), travel distribution, demand generation and customer choice +modeling, mainly for simulation purpose. %package devel -Summary: Header files, libraries and development documentation for %{name} +Summary: Header files, libraries and development helper tools for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig %description devel -This package contains the header files, static libraries and -development documentation for %{name}. If you would like to develop +This package contains the header files, shared libraries and +development helper tools for %{name}. If you would like to develop programs using %{name}, you will need to install %{name}-devel. -%package doc +%package doc Summary: HTML documentation for the %{name} library Group: Documentation %{?fedora:BuildArch: noarch} BuildRequires: tex(latex) BuildRequires: doxygen, ghostscript -%description doc -This package contains the documentation in the HTML format of the %{name} -library. The documentation is the same as at the %{name} web page. +%description doc +This package contains HTML pages, as well as a PDF reference manual, +for %{name}. All that documentation is generated thanks to Doxygen +(http://doxygen.org). The content is the same as what can be browsed +online (http://%{name}.org). %prep %setup -q -# Fix some permissions and formats -chmod -x AUTHORS ChangeLog COPYING NEWS README -find . -type f -name '*.[hc]pp' -exec chmod -x {} \; %build -%cmake . +mkdir -p build +pushd build +%cmake .. make %{?_smp_mflags} +popd %install rm -rf $RPM_BUILD_ROOT +pushd build make install DESTDIR=$RPM_BUILD_ROOT +popd # Fix some permissions find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \; @@ -71,7 +79,9 @@ mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs} rm -f %{mydocs}/html/installdox %check +pushd build #ctest +popd %clean rm -rf $RPM_BUILD_ROOT @@ -85,7 +95,8 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README %{_bindir}/%{name} -%{_libdir}/lib*.so.* +%{_libdir}/lib%{name}.so.* +%{_libdir}/lib%{name}uicl.so.* %{_mandir}/man1/%{name}.1.* %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/*.sh @@ -118,6 +129,12 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Oct 18 2011 Denis Arnaud 0.43.1-1 +- Upstream update +- Improved a little the package descriptions +- The build framework is now compatible with CMake 2.6 (the exclusive + dependency on CMake 2.8 has been removed). + * Mon Aug 15 2011 Denis Arnaud 0.38.0-1 - Upstream update