packge init
This commit is contained in:
parent
d612722ee6
commit
bb08887020
BIN
libcue-2.2.1.tar.gz
Normal file
BIN
libcue-2.2.1.tar.gz
Normal file
Binary file not shown.
64
libcue.spec
Normal file
64
libcue.spec
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user