Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst:retrogaming
lazyusf2
_service:set_version:lazyusf.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:lazyusf.spec of Package lazyusf2
# debuginfo packages are not handled correctly for some reason on fedora, redhat, centos... # it will always stay empty # however, empty packages are handled as error in RPM >= 4.13 # thus disable creating debug packages at all for those cases %if 0%{?fedora} >= 23 || 0%{?mageia} %global debug_package %{nil} %endif Name: lazyusf2 Version: 1493457210.18f1de4 Release: 0 License: GPL Summary: Converter for Ultra 64 Sound Format Url: https://gitlab.kode54.net/kode54/lazyusf2 Group: Development/Libraries/C and C++ Source0: lazyusf2-%{version}.tar.xz BuildRequires: gcc-c++ psflib-devel zlib-devel dos2unix BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: yes ExclusiveArch: i586 i686 x86_64 %description Library for Ultra 64 Sound Format (usf and miniusf) by kode54 (https://gitlab.kode54.net/kode54/lazyusf2) based on mupen64plus. %package -n liblazyusf2 Summary: Shared library for liblazyusf2 Group: Development/Libraries/C and C++ Provides: %{name} = %{version} %description -n liblazyusf2 Shared library for liblazyusf2 %package devel Summary: Development files for liblazyusf2 Group: Development/Libraries/C and C++ Requires: liblazyusf2 = %{version} Requires: psflib-devel %description devel Development files for liblazyusf2 %package devel-static Summary: Static library for liblazyusf2 Group: Development/Libraries/C and C++ Requires: %{name}-devel %description devel-static Development files for liblazyusf2 %prep %setup -q -n lazyusf2-%{version} find .. -type f -exec dos2unix {} \; %build export OPTFLAGS="%{optflags}" make clean make liblazyusf.a %{?_smp_mflags} make liblazyusf.so %{?_smp_mflags} %install install -Dm 0644 liblazyusf.a %{buildroot}%{_libdir}/liblazyusf.a install -Dm 0644 liblazyusf.so.2.0 %{buildroot}%{_libdir}/liblazyusf.so.2.0 ln -s %{_libdir}/liblazyusf.so.2.0 %{buildroot}%{_libdir}/liblazyusf.so.2 ln -s %{_libdir}/liblazyusf.so.2.0 %{buildroot}%{_libdir}/liblazyusf.so install -Dm 0644 usf/usf.h %{buildroot}%{_includedir}/usf.h %post -n liblazyusf2 -p /sbin/ldconfig %postun -n liblazyusf2 -p /sbin/ldconfig %files devel-static %defattr(-,root,root) %{_libdir}/liblazyusf.a %files devel %defattr(-,root,root) %{_libdir}/liblazyusf.so %{_includedir}/usf.h %files -n liblazyusf2 %defattr(-,root,root) %{_libdir}/liblazyusf.so.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor