Name: czmq Version: 2.2.0 Release: 3%{?dist} Summary: High-level C binding for 0MQ (ZeroMQ) Group: Development/Libraries License: LGPLv3+ URL: http://czmq.zeromq.org/ Source0: http://download.zeromq.org/czmq-%{version}.tar.gz # Upstream patch: git format-patch -1 eebf66a # https://github.com/zeromq/czmq/commit/eebf66a267e0acdf8b791e541b24ab701557135e Patch0: 0001-Use-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch BuildRequires: libuuid-devel BuildRequires: zeromq3-devel %description CZMQ has the following goals: i) To wrap the ØMQ core API in semantics that are natural and lead to shorter, more readable applications. ii) To hide the differences between versions of ØMQ. iii) To provide a space for development of more sophisticated API semantics. %package devel Summary: Development files for the czmq package Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: zeromq3-devel Requires: pkgconfig %description devel This package contains files needed to develop applications using czmq. %prep %setup -q %patch0 -p1 %build %configure # remove rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_bindir}/*.gsl rm -f %{buildroot}%{_libdir}/libczmq.{a,la} # Avoid file conflict mv %{buildroot}%{_bindir}/makecert %{buildroot}%{_bindir}/czmq_makecert %check LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS NEWS %{_libdir}/*.so.* %files devel %{_bindir}/czmq_selftest %{_bindir}/czmq_makecert %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/* %{_mandir}/man3/*.3* %{_mandir}/man7/*.7* %changelog * Fri Feb 27 2015 Jose Pedro Oliveira - 2.2.0-3 - Renamed /usr/bin/makecert to avoid a file conflict (#1196483) * Fri Feb 20 2015 Jose Pedro Oliveira - 2.2.0-2 - Add upstream patch eebf66a (0001-Use-_DEFAULT_SOURCE-instead-of-_BSD_SOURCE.patch) * Tue Feb 17 2015 Jose Pedro Oliveira - 2.2.0-1 - Update to 2.2.0. * Sat Aug 16 2014 Fedora Release Engineering - 1.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 1 2013 Jose Pedro Oliveira - 1.4.1-1 - Update to 1.4.1. * Tue Apr 30 2013 Jose Pedro Oliveira - 1.4.0-1 - Update to 1.4.0. * Wed Feb 13 2013 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Dec 20 2012 Jose Pedro Oliveira - 1.3.2-1 - Improve the description. * Wed Dec 12 2012 Jose Pedro Oliveira - 1.3.2-0 - Update to 1.3.2. * Sun Oct 28 2012 Jose Pedro Oliveira - 1.3.1-1 - Update to 1.3.1. * Thu Oct 25 2012 Jose Pedro Oliveira - 1.3.0-0 - Rename to libczmq. - Update to v1.3.0 git snapshot. * Tue Oct 23 2012 Jose Pedro Oliveira - 1.2.0-3 - Make czmq-devel require zeromq3-devel. * Sat Oct 20 2012 Jose Pedro Oliveira - 1.2.0-2 - Build against limzmq v3.x (BR zeromq3-devel instead of zeromq-devel). * Sat Oct 20 2012 Jose Pedro Oliveira - 1.2.0-1 - First Fedora build. # vim:set ai ts=4 sw=4 sts=4 et: