Compare commits
13 Commits
Author | SHA1 | Date |
---|---|---|
Denis Arnaud | bce41642c5 | |
Denis Arnaud | 2a2c795f1d | |
Denis Arnaud | 56ef42ba86 | |
Denis Arnaud | 2368d32433 | |
Denis Arnaud | cca97c5282 | |
Denis Arnaud | 29fbf58540 | |
Denis Arnaud | f1cf175bfc | |
Denis Arnaud | 5ee67c77fd | |
Denis Arnaud | 6e3e74ac93 | |
Denis Arnaud | e7ff93a33b | |
Denis Arnaud | 421221f8d8 | |
Denis Arnaud | 074ceba8bd | |
Denis Arnaud | 16218e0178 |
|
@ -6,3 +6,5 @@
|
||||||
/noarch/
|
/noarch/
|
||||||
/x86_64/
|
/x86_64/
|
||||||
/i?86/
|
/i?86/
|
||||||
|
/tarballs/
|
||||||
|
|
||||||
|
|
73
airrac.spec
73
airrac.spec
|
@ -2,7 +2,7 @@
|
||||||
%global mydocs __tmp_docdir
|
%global mydocs __tmp_docdir
|
||||||
#
|
#
|
||||||
Name: airrac
|
Name: airrac
|
||||||
Version: 1.00.0
|
Version: 1.00.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
Summary: C++ Simulated Revenue Accounting (RAC) System Library
|
Summary: C++ Simulated Revenue Accounting (RAC) System Library
|
||||||
|
@ -13,8 +13,9 @@ URL: http://sourceforge.net/projects/%{name}/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildRequires: cmake, python-devel
|
BuildRequires: cmake, python26-devel
|
||||||
BuildRequires: boost-devel, soci-mysql-devel, zeromq-devel, readline-devel
|
BuildRequires: boost148-devel, soci-mysql-devel, soci-sqlite3-devel
|
||||||
|
BuildRequires: readline-devel, ncurses-devel
|
||||||
BuildRequires: stdair-devel
|
BuildRequires: stdair-devel
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,7 +44,9 @@ programs using %{name}, you will need to install %{name}-devel.
|
||||||
%package doc
|
%package doc
|
||||||
Summary: HTML documentation for the %{name} library
|
Summary: HTML documentation for the %{name} library
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
%{?fedora:BuildArch: noarch}
|
%if 0%{?fedora} || 0%{?rhel} > 5
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: doxygen, ghostscript
|
BuildRequires: doxygen, ghostscript
|
||||||
|
|
||||||
|
@ -59,19 +62,32 @@ online (http://%{name}.org).
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake .
|
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}
|
make %{?_smp_mflags}
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
pushd build
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
popd
|
||||||
|
|
||||||
mkdir -p %{mydocs}
|
mkdir -p %{mydocs}
|
||||||
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
|
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
|
||||||
rm -f %{mydocs}/html/installdox
|
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
|
%check
|
||||||
ctest
|
pushd build
|
||||||
|
#ctest
|
||||||
|
popd
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -107,45 +123,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 07 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-1
|
||||||
|
- Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir)
|
||||||
|
|
||||||
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
|
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 0.2.3-5
|
|
||||||
- Rebuild for new boost
|
|
||||||
|
|
||||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
|
|
||||||
- Rebuilt for c++ ABI breakage
|
|
||||||
|
|
||||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.3-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Sun Nov 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.1-2
|
|
||||||
- Rebuild for the new Boost-1.48.0
|
|
||||||
|
|
||||||
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.1-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.0-3
|
|
||||||
- Rebuilt for the new soci-3.1.0 and stdair-0.44.0 packages
|
|
||||||
|
|
||||||
* Sat Oct 15 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.0-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Tue Aug 30 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.2-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Sat Aug 20 2011 Denis Arnaud <denis.arnaud_fedora@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@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@m4x.org> 0.1.0-1
|
|
||||||
- First package
|
- First package
|
||||||
|
|
Loading…
Reference in New Issue