!1 Package init

From: @weidongkl
Reviewed-by: @dwl301
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2021-08-03 07:02:09 +00:00 committed by Gitee
commit 44a1acb35e
2 changed files with 64 additions and 0 deletions

BIN
libcue-2.2.1.tar.gz Normal file

Binary file not shown.

64
libcue.spec Normal file
View File

@ -0,0 +1,64 @@
Name: libcue
Version: 2.2.1
Release: 1
Summary: Cue sheet parser library
License: GPLv2 and BSD
URL: https://github.com/lipnitsk/%{name}
Source0: https://github.com/lipnitsk/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: bison
BuildRequires: cmake
BuildRequires: flex
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: pkgconfig
%description
Libcue is intended for parsing a so-called cue sheet from a char string or
a file pointer. For handling of the parsed data a convenient API is available.
%package devel
Summary: Development files
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for %{name}.
%prep
%autosetup -p1
%build
%{cmake} .
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%check
make test
%ldconfig_scriptlets
%files
%license LICENSE
%doc ChangeLog README.md
%{_libdir}/%{name}.so.*
%files devel
%{_includedir}/*
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Thu May 13 2021 He Rengui <herengui@uniontech.com> - 2.2.1-1
- packge init