Package init
This commit is contained in:
parent
d2aa723d13
commit
821f32a0da
BIN
libmodplug-0.8.9.0.tar.gz
Normal file
BIN
libmodplug-0.8.9.0.tar.gz
Normal file
Binary file not shown.
55
libmodplug.spec
Normal file
55
libmodplug.spec
Normal file
@ -0,0 +1,55 @@
|
||||
Name: libmodplug
|
||||
Version: 0.8.9.0
|
||||
Release: 10
|
||||
Epoch: 1
|
||||
Summary: The library which was part of the Modplug-xmms project
|
||||
License: Public Domain
|
||||
URL: http://modplug-xmms.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/modplug-xmms/libmodplug-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc gcc-c++
|
||||
|
||||
Suggests: %{_sysconfdir}/timidity.cfg
|
||||
|
||||
%description
|
||||
The library which was part of the Modplug-xmms project.
|
||||
|
||||
%package devel
|
||||
Summary: The library which was part of the Modplug-xmms project
|
||||
Requires: libmodplug = %{epoch}:%{version}-%{release} gcc-c++
|
||||
|
||||
%description devel
|
||||
The library which was part of the Modplug-xmms project.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
sed -i -e 's/\r//g' ChangeLog
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build V=1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc AUTHORS ChangeLog README TODO COPYING
|
||||
%{_libdir}/libmodplug.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/libmodplug/
|
||||
%{_libdir}/libmodplug.so
|
||||
%{_libdir}/pkgconfig/libmodplug.pc
|
||||
|
||||
%changelog
|
||||
* Fri Feb 14 2020 zhouyihang <zhouyihang1@huawei.com> - 1:0.8.9.0-10
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user