From 1399d527868728d6126a049c61a8277a54e3249e Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Fri, 4 Nov 2011 19:39:53 +0100 Subject: [PATCH 1/9] First release of the package --- .gitignore | 9 ++++ airsched.spec | 125 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 135 insertions(+) create mode 100644 airsched.spec diff --git a/.gitignore b/.gitignore index e69de29..c743f8c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,9 @@ +clog +airsched-*.tar.* +airsched_*.patch +.build-*.log +airsched-*.src.rpm +airsched-*.*.* +x86_64 +i386 + diff --git a/airsched.spec b/airsched.spec new file mode 100644 index 0000000..c5d474b --- /dev/null +++ b/airsched.spec @@ -0,0 +1,125 @@ +# +%global mydocs __tmp_docdir +# +Name: airsched +%global sfname air-sched +Version: 0.1.2 +Release: 1%{?dist} + +Summary: C++ Simulated Airline Schedule Manager Library + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://sourceforge.net/projects/%{sfname}/ +Source0: http://downloads.sourceforge.net/%{sfname}/%{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: stdair-devel + + +%description +%{name} aims at providing a clean API and a simple implementation, as +a C++ library, of an Airline Schedule Management System. It is intended +to be used in simulated environments only: it is not designed to work +in the real-world of Airline IT operations. + +%{name} makes an extensive use of existing open-source libraries for +increased functionality, speed and accuracy. In particular the +Boost (C++ Standard Extensions: http://www.boost.org) library is used. + +Install the %{name} package if you need a library of basic C++ objects +for Airline Schedule Management, 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 +%cmake . +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +mkdir -p %{mydocs} +mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs} +rm -f %{mydocs}/html/installdox + +%check +ctest + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_bindir}/%{name} +%{_libdir}/lib%{name}.so.* +%{_mandir}/man1/%{name}.1.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name} +%{_bindir}/%{name}-config +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/aclocal/%{name}.m4 +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/CMake +%{_mandir}/man1/%{name}-config.1.* +%{_mandir}/man3/%{name}-library.3.* + +%files doc +%defattr(-,root,root,-) +%doc %{mydocs}/html +%doc COPYING + + +%changelog +* Wed Oct 26 2011 Denis Arnaud 0.1.2-1 +- Upstream update + +* Sat Aug 20 2011 Denis Arnaud 0.1.1-1 +- Upstream update +- Took into account the feedback from various review requests (bugs #732205, + #728649, #732218) + +* Sat Aug 20 2011 Denis Arnaud 0.1.0-1 +- First RPM release + diff --git a/sources b/sources index e69de29..5cfa9b3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +13117047d9672cf73b59fa42e0563ce5 airsched-0.1.2.tar.bz2 From abe9099674d21047512fcfeb00947d86b87fab61 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Fri, 4 Nov 2011 19:49:20 +0100 Subject: [PATCH 2/9] Commented out the CMake test (as it does not work on EPEL). --- airsched.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airsched.spec b/airsched.spec index c5d474b..f629caf 100644 --- a/airsched.spec +++ b/airsched.spec @@ -76,7 +76,7 @@ mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs} rm -f %{mydocs}/html/installdox %check -ctest +#ctest %clean rm -rf $RPM_BUILD_ROOT From 8fcef7d801b0569cb4f556a6d19d88f7b3de190a Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Sat, 5 Nov 2011 00:36:00 +0100 Subject: [PATCH 3/9] Upstream update --- airsched.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/airsched.spec b/airsched.spec index f629caf..c1a9a2d 100644 --- a/airsched.spec +++ b/airsched.spec @@ -3,14 +3,14 @@ # Name: airsched %global sfname air-sched -Version: 0.1.2 +Version: 0.1.3 Release: 1%{?dist} Summary: C++ Simulated Airline Schedule Manager Library Group: System Environment/Libraries License: LGPLv2+ -URL: http://sourceforge.net/projects/%{sfname}/ +URL: http://%{sfname}.sourceforge.net Source0: http://downloads.sourceforge.net/%{sfname}/%{name}-%{version}.tar.bz2 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -112,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Nov 04 2011 Denis Arnaud 0.1.3-1 +- Upstream update + * Wed Oct 26 2011 Denis Arnaud 0.1.2-1 - Upstream update diff --git a/sources b/sources index 5cfa9b3..9b0dad4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -13117047d9672cf73b59fa42e0563ce5 airsched-0.1.2.tar.bz2 +890ad1e70a076e45e174a89c362623d9 airsched-0.1.3.tar.bz2 From 89773b6a6a8d11bd60acbd0fbb664922f3b6333d Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Sat, 5 Nov 2011 01:05:15 +0100 Subject: [PATCH 4/9] Altered the source code so as to fix the Boost.Serialization problem on Fedora 14. --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 9b0dad4..0b070f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -890ad1e70a076e45e174a89c362623d9 airsched-0.1.3.tar.bz2 +432de21c5f45cd9cb97b0f1bb46ca8fa airsched-0.1.3.tar.bz2 From 12292cb81a6ab9f5688054bea99500b0e0a822b1 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Mon, 5 Dec 2011 23:23:41 +0100 Subject: [PATCH 5/9] Upstream update --- .gitignore | 4 ++-- airsched.spec | 5 ++++- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c743f8c..1e77b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,6 @@ airsched_*.patch .build-*.log airsched-*.src.rpm airsched-*.*.* -x86_64 -i386 +/x86_64/ +/i?86/ diff --git a/airsched.spec b/airsched.spec index c1a9a2d..be0300a 100644 --- a/airsched.spec +++ b/airsched.spec @@ -3,7 +3,7 @@ # Name: airsched %global sfname air-sched -Version: 0.1.3 +Version: 0.1.4 Release: 1%{?dist} Summary: C++ Simulated Airline Schedule Manager Library @@ -112,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Dec 05 2011 Denis Arnaud 0.1.4-1 +- Upstream update + * Fri Nov 04 2011 Denis Arnaud 0.1.3-1 - Upstream update diff --git a/sources b/sources index 0b070f1..1d7cc6e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -432de21c5f45cd9cb97b0f1bb46ca8fa airsched-0.1.3.tar.bz2 +2cd9c2edd1f5b7bbca9855301835f7c3 airsched-0.1.4.tar.bz2 From 5c0e1def02c81b71137adad13c68a99bd2c7cdb3 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Mon, 13 Aug 2012 17:50:39 +0400 Subject: [PATCH 6/9] Rebuilt for new Boost 1.50.0. --- airsched.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/airsched.spec b/airsched.spec index ace5315..b184839 100644 --- a/airsched.spec +++ b/airsched.spec @@ -5,7 +5,7 @@ Name: airsched %global sfname airsim %global sfalias airtsp Version: 0.1.4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: C++ Simulated Airline Schedule Manager Library @@ -113,6 +113,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Aug 13 2012 Denis Arnaud - 0.1.4-5 +- Rebuilt for new Boost 1.50.0. + * Wed Jul 11 2012 Denis Arnaud 0.1.4-4 - The project structure and name has changed on SourceForge From db8eaf4b9a66ee395cc3477cf2bbf2d59b0a5dc8 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Tue, 25 Dec 2012 20:35:03 +0100 Subject: [PATCH 7/9] Removed unused parts (merged from the f18 branch) of the change-log. --- airsched.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/airsched.spec b/airsched.spec index 39c1ad0..3aa9603 100644 --- a/airsched.spec +++ b/airsched.spec @@ -116,15 +116,6 @@ rm -rf $RPM_BUILD_ROOT * Tue Dec 25 2012 Denis Arnaud 1.00.0-1 - Upstream update -* Mon Aug 13 2012 Denis Arnaud - 0.1.4-5 -- Rebuilt for new Boost 1.50.0. - -* Wed Jul 11 2012 Denis Arnaud 0.1.4-4 -- The project structure and name has changed on SourceForge - -* Tue Feb 28 2012 Fedora Release Engineering - 0.1.4-3 -- Rebuilt for c++ ABI breakage - * Thu Jan 12 2012 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From 06072dd7494842ddf238cbf5d4b72522993dea77 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Wed, 22 May 2013 23:17:00 +0200 Subject: [PATCH 8/9] Upstream update --- airsched.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/airsched.spec b/airsched.spec index eba02ac..43b33de 100644 --- a/airsched.spec +++ b/airsched.spec @@ -5,7 +5,7 @@ Name: airsched %global sfname airsim %global sfalias airsched Version: 1.00.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ Simulated Airline Schedule Manager Library @@ -113,6 +113,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed May 22 2013 Denis Arnaud - 1.00.0-2 +- Rebuild for Soci-3.2.1 + * Tue Dec 25 2012 Denis Arnaud 1.00.0-1 - Upstream update From 018af0e8c86ccaf96203093fe05c6f72df8c15b9 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Tue, 7 Jul 2015 09:28:03 +0000 Subject: [PATCH 9/9] Obsoleted by airtsp --- .gitignore | 11 ---- airsched.spec | 138 -------------------------------------------------- dead.package | 1 + sources | 1 - 4 files changed, 1 insertion(+), 150 deletions(-) delete mode 100644 .gitignore delete mode 100644 airsched.spec create mode 100644 dead.package delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5722fba..0000000 --- a/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -/airsched-*.tar.* -/airtsp-*.tar.* -/airsched-*.src.rpm -/airtsp-*.src.rpm -/airsched-*.*.*/ -/airtsp-*.*.*/ -/clog -.build-*.*.log -/noarch/ -/x86_64/ -/i?86/ diff --git a/airsched.spec b/airsched.spec deleted file mode 100644 index 43b33de..0000000 --- a/airsched.spec +++ /dev/null @@ -1,138 +0,0 @@ -# -%global mydocs __tmp_docdir -# -Name: airsched -%global sfname airsim -%global sfalias airsched -Version: 1.00.0 -Release: 2%{?dist} - -Summary: C++ Simulated Airline Schedule Manager Library - -Group: System Environment/Libraries -License: LGPLv2+ -URL: http://%{sfname}.sourceforge.net -Source0: http://downloads.sourceforge.net/%{sfname}/%{sfalias}-%{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: stdair-devel - - -%description -%{name} aims at providing a clean API and a simple implementation, as -a C++ library, of an Airline Schedule Management System. It is intended -to be used in simulated environments only: it is not designed to work -in the real-world of Airline IT operations. - -%{name} makes an extensive use of existing open-source libraries for -increased functionality, speed and accuracy. In particular the -Boost (C++ Standard Extensions: http://www.boost.org) library is used. - -Install the %{name} package if you need a library of basic C++ objects -for Airline Schedule Management, 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 -%cmake . -make %{?_smp_mflags} - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT - -mkdir -p %{mydocs} -mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs} -rm -f %{mydocs}/html/installdox - -%check -#ctest - -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{_bindir}/%{name} -%{_libdir}/lib%{name}.so.* -%{_mandir}/man1/%{name}.1.* - -%files devel -%defattr(-,root,root,-) -%{_includedir}/%{name} -%{_bindir}/%{name}-config -%{_libdir}/lib%{name}.so -%{_libdir}/pkgconfig/%{name}.pc -%{_datadir}/aclocal/%{name}.m4 -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/CMake -%{_mandir}/man1/%{name}-config.1.* -%{_mandir}/man3/%{name}-library.3.* - -%files doc -%defattr(-,root,root,-) -%doc %{mydocs}/html -%doc COPYING - - -%changelog -* Wed May 22 2013 Denis Arnaud - 1.00.0-2 -- Rebuild for Soci-3.2.1 - -* Tue Dec 25 2012 Denis Arnaud 1.00.0-1 -- Upstream update - -* Mon Dec 05 2011 Denis Arnaud 0.1.4-1 -- Upstream update - -* Fri Nov 04 2011 Denis Arnaud 0.1.3-1 -- Upstream update - -* Wed Oct 26 2011 Denis Arnaud 0.1.2-1 -- Upstream update - -* Sat Aug 20 2011 Denis Arnaud 0.1.1-1 -- Upstream update -- Took into account the feedback from various review requests (bugs #732205, - #728649, #732218) - -* Sat Aug 20 2011 Denis Arnaud 0.1.0-1 -- First RPM release - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..7b5bf3a --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Obsoleted by airtsp diff --git a/sources b/sources deleted file mode 100644 index 7a267df..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -b45cb0d9a1e6bc6ca0b0267fe75489e6 airsched-1.00.0.tar.bz2