%global __soversion 1.1 Name: biblesync Version: 1.1.2 Release: 8%{?dist} Summary: A Cross-platform library for sharing Bible navigation Group: System Environment/Libraries License: Public Domain URL: http://www.xiphos.org Source0: http://downloads.sourceforge.net/gnomesword/biblesync-%{version}.tar.gz BuildRequires: intltool BuildRequires: libuuid-devel BuildRequires: cmake %description BibleSync is a multicast protocol to support Bible software shared co- navigation. It uses LAN multicast in either a personal/small team mutual navigation motif or in a classroom environment where there are Speakers plus the Audience. It provides a complete yet minimal public interface to support mode setting, setup for packet reception, transmit on local navigation, and handling of incoming packets. This library is not specific to any particular Bible software framework, completely agnostic as to structure of layers above BibleSync. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libuuid-devel%{?_isa} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %build export CFLAGS="$RPM_OPT_FLAGS -fPIC" export CXXFLAGS="$RPM_OPT_FLAGS -fPIC" mkdir build pushd build %cmake -DLIBDIR=%{_libdir} .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" -DBIBLESYNC_SOVERSION=%{__soversion} make %{?_smp_mflags} popd %install pushd build make install DESTDIR=%{buildroot} popd %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc LICENSE %{_libdir}/libbiblesync.so.%{__soversion} %files devel %doc AUTHORS COPYING ChangeLog README WIRESHARK %{_includedir}/biblesync %{_libdir}/pkgconfig/biblesync.pc %{_libdir}/libbiblesync.so %{_mandir}/man7/biblesync.7* %changelog * Wed Aug 02 2017 Fedora Release Engineering - 1.1.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Feb 08 2016 Greg Hellings - 1.1.2-5 - Adapted patch from Ville Skyttä - Don't discard $RPM_OPT_FLAGS when adding fPIC * Wed Feb 03 2016 Fedora Release Engineering - 1.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Apr 10 2015 Greg Hellings - 1.1.2-2 - Added fPIC * Tue Dec 9 2014 Greg Hellings - 1.1.2-1 - New upstream version - API incompatible with 1.0 series * Fri Aug 15 2014 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Aug 04 2014 Greg Hellings - 1.0.2-4 - Final import form * Sat Jul 19 2014 Greg Hellings - 1.0.2-3 - Package review feedback * Mon Jul 07 2014 Greg Hellings - 1.0.2-2 - Initial build