update software package
This commit is contained in:
parent
23373a1322
commit
8e79ea65a1
@ -4,7 +4,7 @@
|
|||||||
* identical. Hence, this file is architecture-independent and calls
|
* identical. Hence, this file is architecture-independent and calls
|
||||||
* in an arch-dependent file that will appear in just one RPM.
|
* in an arch-dependent file that will appear in just one RPM.
|
||||||
*
|
*
|
||||||
* To avoid breaking arches not explicitly supported by Red Hat, we
|
* To avoid breaking arches not explicitly supported by openEuler, we
|
||||||
* use this indirection file *only* on known multilib arches.
|
* use this indirection file *only* on known multilib arches.
|
||||||
*
|
*
|
||||||
* Note: this may well fail if user tries to use gcc's -I- option.
|
* Note: this may well fail if user tries to use gcc's -I- option.
|
||||||
@ -14,16 +14,4 @@
|
|||||||
#include "cdio_config_x86_64.h"
|
#include "cdio_config_x86_64.h"
|
||||||
#elif defined(__i386__)
|
#elif defined(__i386__)
|
||||||
#include "cdio_config_i386.h"
|
#include "cdio_config_i386.h"
|
||||||
#elif defined(__ppc64__) || defined(__powerpc64__)
|
|
||||||
#include "cdio_config_ppc64.h"
|
|
||||||
#elif defined(__ppc__) || defined(__powerpc__)
|
|
||||||
#include "cdio_config_ppc.h"
|
|
||||||
#elif defined(__s390x__)
|
|
||||||
#include "cdio_config_s390x.h"
|
|
||||||
#elif defined(__s390__)
|
|
||||||
#include "cdio_config_s390.h"
|
|
||||||
#elif defined(__sparc__) && defined(__arch64__)
|
|
||||||
#include "cdio_config_sparc64.h"
|
|
||||||
#elif defined(__sparc__)
|
|
||||||
#include "cdio_config_sparc.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
<hr size="1"><address style="text-align: right;"><small>
|
|
||||||
Generated for $projectname by <a href="http://www.doxygen.org/
|
|
||||||
index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
|
|
||||||
$doxygenversion</small></address></body></html>
|
|
||||||
12
libcdio.spec
12
libcdio.spec
@ -1,13 +1,12 @@
|
|||||||
Name: libcdio
|
Name: libcdio
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: CD-ROM input and control library
|
Summary: CD-ROM input and control library
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.gnu.org/software/libcdio/
|
URL: http://www.gnu.org/software/libcdio/
|
||||||
Source0: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.gz
|
||||||
Source1: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.gz.sig
|
Source1: https://ftp.gnu.org/gnu/libcdio/libcdio-%{version}.tar.gz.sig
|
||||||
Source2: libcdio-no_date_footer.hml
|
Source2: cdio_config.h
|
||||||
Source3: cdio_config.h
|
|
||||||
|
|
||||||
BuildRequires: gcc gcc-c++ git pkgconfig doxygen ncurses-devel help2man chrpath gettext-devel
|
BuildRequires: gcc gcc-c++ git pkgconfig doxygen ncurses-devel help2man chrpath gettext-devel
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
@ -37,17 +36,15 @@ iconv -f ISO88591 -t utf-8 -o THANKS.utf8 THANKS && mv THANKS.utf8 THANKS
|
|||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
cd doc/doxygen
|
cd doc/doxygen
|
||||||
sed -i -e "s,HTML_FOOTER.*$,HTML_FOOTER = libcdio-no_date_footer.hml,g;" Doxyfile
|
|
||||||
sed -i -e "s,EXCLUDE .*$,EXCLUDE = ../../include/cdio/cdio_config.h,g;" Doxyfile
|
sed -i -e "s,EXCLUDE .*$,EXCLUDE = ../../include/cdio/cdio_config.h,g;" Doxyfile
|
||||||
|
|
||||||
cp %{SOURCE2} .
|
|
||||||
./run_doxygen
|
./run_doxygen
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
if [ `uname -i` = x86_64 ]; then
|
if [ `uname -i` = x86_64 ]; then
|
||||||
mv $RPM_BUILD_ROOT%{_includedir}/cdio/cdio_config.h $RPM_BUILD_ROOT%{_includedir}/cdio/cdio_config_`uname -i`.h
|
mv $RPM_BUILD_ROOT%{_includedir}/cdio/cdio_config.h $RPM_BUILD_ROOT%{_includedir}/cdio/cdio_config_`uname -i`.h
|
||||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_includedir}/cdio
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/cdio
|
||||||
fi
|
fi
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/*
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/*
|
||||||
@ -99,6 +96,9 @@ fi
|
|||||||
%{_infodir}/*
|
%{_infodir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-7
|
||||||
|
- update software package
|
||||||
|
|
||||||
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-6
|
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.0-6
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user