Compare commits

..

No commits in common. "551bc5790199699b2fc41768d5b993bda7d2fd5a" and "bf1fa90a86ea4718733f8ebcb70c0468ba43a223" have entirely different histories.

2 changed files with 20 additions and 19 deletions

View File

@ -1,15 +1,15 @@
Name: libieee1284 Name: libieee1284
Version: 0.2.11 Version: 0.2.11
Release: 33 Release: 29
Summary: IEEE1284 communications library Summary: IEEE1284 communications library
License: GPLv2+ License: GPLv2+
URL: http://cyberelk.net/tim/libieee1284/ URL: http://cyberelk.net/tim/libieee1284/
Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2/download?use_mirror=ufpr#/%{name}-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Patch0001: libieee1284-strict-aliasing.patch Patch0001: libieee1284-strict-aliasing.patch
Patch0002: libieee1284-aarch64.patch Patch0002: libieee1284-aarch64.patch
BuildRequires: xmlto gcc BuildRequires: xmlto python2-devel
%description %description
This library is intended to be used by applications that need to This library is intended to be used by applications that need to
@ -24,10 +24,20 @@ Requires: %{name} = %{version}-%{release}
The libieee1284-devel package includes header files and libraries necessary The libieee1284-devel package includes header files and libraries necessary
for the libieee1284 library. for the libieee1284 library.
%package -n python2-libieee1284
%{?python_provide:%python_provide python2-libieee1284}
Summary: Python extension module for libieee1284
Provides: %{name}-python = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
%description -n python2-libieee1284
The python2-libieee1284 package includes extension module for libieee1284.
To use libieee1284 with Python, use 'import ieee1284'.
%package help %package help
Summary: This package contains help documents Summary: This package contains help documents
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Buildarch: noarch
%description help %description help
Files for help with libieee1284. Files for help with libieee1284.
@ -37,7 +47,7 @@ Files for help with libieee1284.
%build %build
touch doc/interface.xml touch doc/interface.xml
%configure --without-python %configure
%make_build %make_build
%install %install
@ -61,23 +71,14 @@ touch doc/interface.xml
%{_includedir}/ieee1284.h %{_includedir}/ieee1284.h
%{_libdir}/*.so %{_libdir}/*.so
%files -n python2-libieee1284
%{_libdir}/python*/*/*.so
%files help %files help
%doc README TODO AUTHORS NEWS %doc README TODO AUTHORS NEWS
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Aug 20 2024 Bowen Wang<wangbowen@cqsoftware.com.cn> - 0.2.11-33
- Added 'Buildarch: noarch' to the help subpackage
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 0.2.11-32
- fixes failed: error: no acceptable C compiler found in $PATH
* Mon Oct 26 2020 leiju<leiju4@huawei.com> - 0.2.11-31
- remove python2 subpackage
* Tue Sep 15 2020 Ge Wang<wangge20@huawei.com> - 0.2.11-30
- Modify Source0 Url
* Mon Nov 18 2019 gulining<gulining1@huawei.com> - 0.2.11-29 * Mon Nov 18 2019 gulining<gulining1@huawei.com> - 0.2.11-29
- Pakcage init - Pakcage init

View File

@ -1,4 +1,4 @@
version_control: github version_control: github
src_repo: twaugh/libieee1284 src_repo: twaugh/libieee1284
tag_prefix: "V" tag_pattern: ^v
seperator: "_" seperator: _