Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:branches:multimedia
libreplaygain
libreplaygain.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libreplaygain.spec of Package libreplaygain
# # spec file for package libreplaygain # # Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. %define so_ver 1 Name: libreplaygain Version: r475 Release: 0 License: LGPL-2.1+ Summary: Analyze Input Samples and Give the Recommended dB Change Url: http://www.musepack.net/ Group: System/Libraries Source0: http://files.musepack.net/source/%{name}_%{version}.tar.gz BuildRequires: cmake BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libreplaygain is a library that analyzes input samples and give the recommended dB change. %package devel Summary: Development files for libreplaygain Group: Development/Libraries/C and C++ Requires: libreplaygain%{so_ver} = %{version} %description devel This package includes development files for libreplaygain. %package -n libreplaygain%{so_ver} Summary: Analyze Input Samples and Give the Recommended dB Change Group: System/Libraries %description -n libreplaygain%{so_ver} libreplaygain is a library that analyzes input samples and give the recommended dB change. %prep %setup -q -n %{name}_%{version} # Fix rpmlint error "spurious-executable-perm" chmod 644 include/replaygain/*.h # Make the package use rpm optflags sed -i "s/set(CMAKE_C_FLAGS.*$//" CMakeLists.txt %build mkdir build cd build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" __libsuffix=$(echo %_lib | cut -b4-) cmake ../ \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_SUFFIX="$__libsuffix" make %{?_smp_mflags} VERBOSE=1 cd .. %install %make_install -C build # Install headers mkdir -p %{buildroot}%{_includedir} cp -a include/replaygain/ %{buildroot}%{_includedir} # Remove static libraries rm -f %{buildroot}%{_libdir}/*.a %post -n libreplaygain%{so_ver} -p /sbin/ldconfig %postun -n libreplaygain%{so_ver} -p /sbin/ldconfig %files devel %defattr(-,root,root,-) %{_includedir}/replaygain/ %{_libdir}/libreplaygain.so %files -n libreplaygain%{so_ver} %defattr(-,root,root,-) %{_libdir}/libreplaygain.so.%{so_ver}* %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