Compare commits

...

26 Commits
master ... el5

Author SHA1 Message Date
Denis Arnaud b5024a2a39 [Sources] stdair-1.00.2.tar.bz2 2015-06-07 19:13:00 +02:00
Denis Arnaud 5b6dbbeaf6 Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir) 2015-06-07 19:12:06 +02:00
Denis Arnaud 7a37695acc [Git] Added tarballs/ to .gitignore 2015-06-07 18:00:36 +02:00
Denis Arnaud 8251da3b6e Removed a blank line 2012-12-23 20:42:35 +01:00
Denis Arnaud dfcd072c41 Removed a now deprecated patch. 2012-12-23 20:40:43 +01:00
Denis Arnaud c52ba908dd Bump the version to create a new build-root override 2012-12-23 20:37:43 +01:00
Denis Arnaud 52ebe559a9 [Sources] Suppressed deprecated source file entry in the sources file. 2012-12-23 10:19:09 +01:00
Denis Arnaud 58c024dedc Upstream update 2012-12-23 03:07:27 +01:00
Denis Arnaud 937538a45f Upstream update 2012-12-22 20:15:35 +01:00
Denis Arnaud e66e67d311 Added a patch to fix a Boost.UTF-related test on EPEL 5. 2011-12-18 01:52:10 +01:00
Denis Arnaud a1ad1b7d6c StdAir now uses Boost-1.41 and Python-2.6 on EPEL 4 and 5. 2011-12-18 01:33:37 +01:00
Denis Arnaud c04c2ccfb9 StdAir now uses Boost-1.41 and Python-2.6 on EPEL 4 and 5. 2011-12-18 01:31:29 +01:00
Denis Arnaud c4a796f0d6 Rebuild to remove the dependency on no longer available python-libs.i386
package.
2011-12-17 15:46:39 +01:00
Denis Arnaud 2f0e0fb2b2 Upstream update 2011-12-05 02:16:16 +01:00
Denis Arnaud 5aca9c1789 Upstream update 2011-11-05 23:59:19 +01:00
Denis Arnaud 9da3d7f03b Rebuilt for the new soci-3.1.0 package 2011-11-02 23:24:43 +01:00
Denis Arnaud 66cba764b3 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).
2011-10-18 18:19:02 +02:00
Denis Arnaud e7e44f28f9 [Git] Just ignored non-Git-managed files. 2011-10-16 20:50:59 +02:00
Denis Arnaud 3eaf1ec3b2 Upstream update 2011-08-15 19:53:09 +02:00
Denis Arnaud c4d2cff01e Upstream update 2011-08-15 19:22:28 +02:00
Denis Arnaud 32ddca8458 Suppressed non-public entries from the change-log section. 2011-08-15 19:14:08 +02:00
Denis Arnaud 9853900ec9 Upstream update 2011-08-15 18:55:12 +02:00
Denis Arnaud adc1bcc84e De-activated temporarily the CTest check (the package is building cleanly). 2011-08-02 20:19:03 +02:00
Denis Arnaud f4312bd646 New package: StdAir-0.36.2-1 on EPEL 5. 2011-08-02 20:05:05 +02:00
Denis Arnaud 2b1cdba023 New package: StdAir-0.36.2-1 on EPEL 6. 2011-08-02 20:03:49 +02:00
Denis Arnaud adf224ab2a New package: StdAir-0.36.2-1 on Fedora 15. 2011-08-02 20:01:13 +02:00
3 changed files with 316 additions and 0 deletions

10
.gitignore vendored
View File

@ -0,0 +1,10 @@
/stdair-*.tar.*
/stdair-*.src.rpm
/stdair-*.*.*/
/clog
.build-*.*.log
/noarch/
/x86_64/
/i?86/
/tarballs/

View File

@ -0,0 +1 @@
805c0e9614e25e455ae2fa081da6e0f9 stdair-1.00.2.tar.bz2

305
stdair.spec Normal file
View File

@ -0,0 +1,305 @@
#
%global mydocs __tmp_docdir
#
Name: stdair
Version: 1.00.2
Release: 1%{?dist}
Summary: C++ Standard Airline IT Object Library
Group: System Environment/Libraries
License: LGPLv2+
URL: http://%{name}.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: cmake, python26-devel
BuildRequires: boost148-devel, soci-mysql-devel, soci-sqlite3-devel
BuildRequires: zeromq-devel, readline-devel
%description
%{name} aims at providing a clean API, and the corresponding C++
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 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 helper tools for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
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
Summary: HTML documentation for the %{name} library
Group: Documentation
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch
%endif
BuildRequires: tex(latex)
BuildRequires: doxygen, ghostscript
%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
%build
mkdir -p build
pushd build
%cmake -DBOOST_LIBRARYDIR=%{_libdir}/boost148 \
-DBOOST_INCLUDEDIR=%{_includedir}/boost148 \
-DBoost_ADDITIONAL_VERSIONS="1.48 1.48.0" ..
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 {} \;
mkdir -p %{mydocs}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
rm -f %{mydocs}/html/installdox
# Remove additional documentation files (those files are already available
# in the project top directory)
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README,AUTHORS}
%check
pushd build
#ctest
popd
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING AUTHORS NEWS README
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.*
%{_libdir}/lib%{name}uicl.so.*
%{_mandir}/man1/%{name}.1.*
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/*.sh
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/db
%dir %{_datadir}/%{name}/db/data
%dir %{_datadir}/%{name}/samples
%dir %{_datadir}/%{name}/samples/rds01
%dir %{_datadir}/%{name}/samples/HybridForecasting
%dir %{_datadir}/%{name}/samples/IBP_study
%dir %{_datadir}/%{name}/samples/NewQFF
%dir %{_datadir}/%{name}/samples/NewQFF/instance01
%dir %{_datadir}/%{name}/samples/NewQFF/instance02
%dir %{_datadir}/%{name}/samples/OldQFF
%dir %{_datadir}/%{name}/samples/OldQFF/instance01
%dir %{_datadir}/%{name}/samples/OldQFF/instance02
%dir %{_datadir}/%{name}/samples/QForecasting
%{_datadir}/%{name}/db/data/*.sql
%{_datadir}/%{name}/db/data/*.csv
%{_datadir}/%{name}/samples/*.csv
%{_datadir}/%{name}/samples/rds01/*.csv
%{_datadir}/%{name}/samples/HybridForecasting/*.csv
%{_datadir}/%{name}/samples/IBP_study/*.csv
%{_datadir}/%{name}/samples/NewQFF/instance01/*.csv
%{_datadir}/%{name}/samples/NewQFF/instance02/*.csv
%{_datadir}/%{name}/samples/OldQFF/instance01/*.csv
%{_datadir}/%{name}/samples/OldQFF/instance02/*.csv
%{_datadir}/%{name}/samples/QForecasting/*.csv
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_bindir}/%{name}-config
%{_libdir}/lib%{name}.so
%{_libdir}/lib%{name}uicl.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/aclocal/%{name}.m4
%{_datadir}/%{name}/CMake
%{_mandir}/man1/%{name}-config.1.*
%{_mandir}/man3/%{name}-library.3.*
%files doc
%defattr(-,root,root,-)
%doc %{mydocs}/html
%doc COPYING
%changelog
* Sun May 31 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.2-1
- Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir)
* Sun Dec 23 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-2
- Bump the version to create a new build-root override
* Sat Dec 22 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
- Upstream update
* Sat Dec 17 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.45.0-3
- StdAir now uses Boost-1.41 and Python-2.6 on EPEL 4 and 5
* Sat Dec 17 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.45.0-2
- Rebuild to remove the dependency on no longer available python-libs.i386
package.
* Sun Dec 04 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.45.0-1
- Upstream update
* Sat Nov 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.44.1-1
- Upstream update
* Tue Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.44.0-1
- Upstream update
* Tue Oct 18 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 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 <denis.arnaud_fedora@m4x.org> 0.38.0-1
- Upstream update
* Mon Aug 01 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.36.2-1
- The CMake framework now takes into account compilation flags
* Sun Jul 31 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.36.1-1
- Upstream update
* Sun Jul 31 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.36.0-2
- Took into account review elements (#702987)
* Tue Jul 26 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.36.0-1
- Upstream update
* Thu Jul 07 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.35.0-1
- Upstream update
* Wed Jun 15 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.34.0-1
- Upstream update
- The build system is now CMake (instead of the GNU Autotools)
* Tue Jun 7 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.33.0-1
- Upstream update
* Sun May 22 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.32.0-1
- Upstream update
* Mon May 16 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.31.0-1
- Upstream update
* Fri Apr 29 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.30.0-1
- Upstream update
* Wed Apr 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.29.0-1
- Upstream update
* Sun Apr 17 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.28.0-1
- Upstream update
* Tue Apr 12 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.27.0-1
- Upstream update
* Fri Apr 08 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.26.0-1
- Upstream update
* Tue Apr 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.25.0-1
- Upstream update
* Fri Apr 01 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.24.0-1
- Upstream update
* Thu Mar 24 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.23.0-1
- Upstream update
* Thu Mar 17 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.22.0-1
- Upstream update
* Sun Mar 13 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.21.0-1
- Upstream update
* Fri Mar 4 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.20.0-1
- Upstream update
* Thu Mar 3 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.19.0-1
- Upstream update
* Thu Mar 3 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.18.0-1
- Upstream update
* Wed Mar 2 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.17.0-1
- Upstream update
* Fri Feb 25 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.16.0-1
- Upstream update
* Tue Feb 22 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.15.0-1
- Upstream update
* Sat Feb 19 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.14.0-1
- Upstream update
* Wed Feb 16 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.13.0-1
- Upstream update
* Sat Feb 12 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.12.0-1
- Upstream update
* Tue Jan 18 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.11.0-1
- Upstream update
* Thu Dec 29 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.10.0-1
- Upstream update
* Fri Dec 03 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.9.0-1
- Upstream update
* Sat Nov 06 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.8.0-1
- Upstream update
* Thu Oct 14 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.7.0-1
- Upstream update
* Thu Oct 14 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.6.0-1
- Upstream update
* Thu Sep 16 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.5.0-1
- Upstream update
* Fri Sep 03 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.4.0-1
- Replace extracc external ref to dependency
* Sun Aug 29 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.3.0-1
- Upstream update
* Wed Jul 13 2010 Son Nguyen Kim <nguyenkims@gmail.com> 0.1.0-1
- First RPM release