Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37848508
en ru br
ALT Linux repos
S:0.1-alt1

Group :: Emulators
RPM: libchdr

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name:     libchdr
Version:  0.1
Release:  alt1

Summary:  Standalone library for reading MAME's CHDv1-v5 formats
License:  GPL2
Group:    Emulators
Url:      https://github.com/rtissera/libchdr

Packager: Artyom Bystrov <arbars at altlinux.org>

Source:   %name-%version.tar

BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake gcc-c++ zlib-devel

%description
Standalone library for reading MAME's CHDv1-v5 formats

%package devel
Summary:  Standalone library for reading MAME's CHDv1-v5 formats devel headers
License:  GPL2
Group:    Emulators


%description devel
Standalone library for reading MAME's CHDv1-v5 formats - devel headers

%prep
%setup

%build
%cmake  -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_SYSTEM_ZLIB=ON \
-Wno-dev
%cmake_build

%install

%cmake_install

%files

%doc LICENSE.txt
%_includedir/%name/*

%files devel
%doc LICENSE.txt
%_libdir/%name.so*
%_libdir/pkgconfig/%name.pc
%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin