%global libmajor 3 Summary: C++ X Windows Library Name: clxclient Version: 3.9.2 Release: 7%{?dist} License: LGPLv2+ URL: http://kokkinizita.linuxaudio.org/ Source0: http://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2 # patch emailed upstream Patch0: clxclient-3.6.1-fsf-address.patch BuildRequires: gcc-c++ BuildRequires: clthreads-devel >= 2.4.0 BuildRequires: libXft-devel BuildRequires: libX11-devel BuildRequires: make %description C++ X Windows library %package -n clxclient-devel Summary: C++ X Windows Library Development Files Requires: %{name}%{?_isa} = %{version}-%{release} %description -n clxclient-devel Header files required for the development of applications using the clxclient C++ X Windows library. %prep %setup -q %patch0 -p1 # Force Fedora's flags and correct linkage sed -e '/ldconfig/d' \ -e '/^CXXFLAGS += -march=native/d' \ -e 's|-lpthread -lXft -lX11|-lclthreads -lXft -lX11|' \ -i source/Makefile %build %set_build_flags CXXFLAGS="${CXXFLAGS} -I." %make_build -C source PREFIX=%{_prefix} LIBDIR=%{_libdir} %install %make_install -C source PREFIX=%{_prefix} LIBDIR=%{_libdir} %files %doc AUTHORS %license COPYING %{_libdir}/lib%{name}*.so.* %files devel %{_libdir}/lib%{name}*.so %{_includedir}/%{name}.h %changelog * Wed Jul 20 2022 Fedora Release Engineering - 3.9.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 3.9.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 3.9.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 3.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 3.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Guido Aulisi - 3.9.2-1 - Update to 3.9.2 * Wed Jul 24 2019 Fedora Release Engineering - 3.9.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 3.9.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 3.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 3.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 3.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 3.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Apr 24 2016 Brendan Jones 3.9.0-1 - Update to 3.9.0 * Wed Feb 03 2016 Fedora Release Engineering - 3.6.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 3.6.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 3.6.1-12 - Rebuilt for GCC 5 C++11 ABI change * Sat Aug 16 2014 Fedora Release Engineering - 3.6.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 3.6.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 3.6.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 3.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 3.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 3.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Nov 04 2011 Brendan Jones 3.6.1-5 - Reinstated BuildArch and macro * Fri Nov 04 2011 Brendan Jones 3.6.1-4 - Bumped release number so as not to conflict with same package in CCRMA * Fri Nov 04 2011 Brendan Jones 3.6.1-3 - Corrected license - Remove unnecessary linkage - Remove buildroot tag - Add BuildArch:noarch and removed isa macro from the -devel package * Fri Nov 04 2011 Brendan Jones 3.6.1-2 - remove unecessary file permissions and buildroot removal * Tue Oct 18 2011 Brendan Jones 3.6.1-1 - initial build, based on package from CCRMA