7a5b4c9
%define __cmake_in_source_build 1
7a5b4c9
%global __soversion 2.0
7a5b4c9
7a5b4c9
Name:		biblesync
7a5b4c9
Version:	2.1.0
7a1d669
Release:	11%{?dist}
7a5b4c9
Summary:	A Cross-platform library for sharing Bible navigation
7a5b4c9
7a5b4c9
License:	Public Domain
7a5b4c9
URL:		http://www.xiphos.org
7a5b4c9
Source0:	https://github.com/karlkleinpaste/biblesync/releases/download/%{version}/%{name}-%{version}.tar.gz
7a5b4c9
7a5b4c9
BuildRequires:	intltool
7a5b4c9
BuildRequires:	libuuid-devel
7a5b4c9
BuildRequires:	cmake
7a5b4c9
BuildRequires:	gcc
7a5b4c9
BuildRequires:	gcc-c++
7a5b4c9
BuildRequires: make
7a5b4c9
7a5b4c9
%description
7a5b4c9
BibleSync is a multicast protocol to support Bible software shared co-
7a5b4c9
navigation. It uses LAN multicast in either a personal/small team mutual
7a5b4c9
navigation motif or in a classroom environment where there are Speakers plus
7a5b4c9
the Audience. It provides a complete yet minimal public interface to support
7a5b4c9
mode setting, setup for packet reception, transmit on local navigation, and
7a5b4c9
handling of incoming packets.
7a5b4c9
7a5b4c9
This library is not specific to any particular Bible software framework,
7a5b4c9
completely agnostic as to structure of layers above BibleSync.
7a5b4c9
7a5b4c9
%package devel
7a5b4c9
Summary:	Development files for %{name}
7a5b4c9
Requires:	%{name}%{?_isa} = %{version}-%{release}
7a5b4c9
Requires:	libuuid-devel%{?_isa}
7a5b4c9
7a5b4c9
%description devel
7a5b4c9
This package contains libraries and header files for developing applications
7a5b4c9
that use %{name}.
7a5b4c9
7a5b4c9
%prep
7a5b4c9
%setup -q
7a5b4c9
7a5b4c9
7a5b4c9
%build
7a5b4c9
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
7a5b4c9
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
7a5b4c9
mkdir build
7a5b4c9
pushd build
7a5b4c9
%cmake -DLIBDIR=%{_libdir} .. -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" -DBIBLESYNC_SOVERSION=%{__soversion}
7a5b4c9
make %{?_smp_mflags}
7a5b4c9
popd
7a5b4c9
7a5b4c9
7a5b4c9
%install
7a5b4c9
pushd build
7a5b4c9
make install DESTDIR=%{buildroot}
7a5b4c9
popd
7a5b4c9
7a5b4c9
%files
7a5b4c9
%doc LICENSE
7a5b4c9
%{_libdir}/libbiblesync.so.%{__soversion}
7a5b4c9
7a5b4c9
%files devel
7a5b4c9
%doc AUTHORS COPYING ChangeLog README.md WIRESHARK
7a5b4c9
%{_includedir}/biblesync
7a5b4c9
%{_libdir}/pkgconfig/biblesync.pc
7a5b4c9
%{_libdir}/libbiblesync.so
7a5b4c9
%{_mandir}/man7/biblesync.7*
7a5b4c9
7a5b4c9
%changelog
7a1d669
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-11
7a1d669
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
7a1d669
a3e55ee
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-10
a3e55ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a3e55ee
43a30a8
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-9
43a30a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
43a30a8
52f6713
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-8
52f6713
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
52f6713
9487c13
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-7
9487c13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9487c13
9f55a9c
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
9f55a9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
9f55a9c
54504a4
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
54504a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
54504a4
7a5b4c9
* Mon Oct 12 2020 Jeff Law <law@redhat.com> - 2.1.0-4
7a5b4c9
- Use __cmake_in_source_build
7a5b4c9
7a5b4c9
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
7a5b4c9
- Second attempt - Rebuilt for
7a5b4c9
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7a5b4c9
7a5b4c9
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7a5b4c9
7a5b4c9
* Mon May 25 2020 Greg Hellings <greg.hellings@gmail.com> - 2.1.0-1
7a5b4c9
- Upstream version 2.1.0
7a5b4c9
- Remove pkgconfig file patch
7a5b4c9
7a5b4c9
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7a5b4c9
7a5b4c9
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-5
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7a5b4c9
7a5b4c9
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
7a5b4c9
7a5b4c9
* Thu Jul 26 2018 Greg Hellings <greg.hellings@gmail.com> - 2.0.1-3
7a5b4c9
- Patching pkgconfig file
7a5b4c9
7a5b4c9
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-2
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7a5b4c9
7a5b4c9
* Mon May 14 2018 Gregory Hellings <greg.hellings@gmail.com> - 2.0.1-1
7a5b4c9
- Upstream version 2.0.1
7a5b4c9
- Update Source URL to github location
7a5b4c9
7a5b4c9
* Sun Feb 18 2018 Gregory Hellings <greg.hellings@gmail.com> - 1.1.2-11
7a5b4c9
- Removed post/postun scriptlets per F28+ change
7a5b4c9
7a5b4c9
* Sun Feb 18 2018 Gregory Hellings <greg.hellings@gmail.com> - 1.1.2-10
7a5b4c9
- Added gcc/g++ deps for new dependency rules
7a5b4c9
7a5b4c9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-9
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7a5b4c9
7a5b4c9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-8
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7a5b4c9
7a5b4c9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-7
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7a5b4c9
7a5b4c9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-6
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7a5b4c9
7a5b4c9
* Mon Feb 08 2016 Greg Hellings <greg.hellings@gmail.com> - 1.1.2-5
7a5b4c9
- Adapted patch from Ville Skyttä <ville.skytta@iki.fi>
7a5b4c9
- Don't discard $RPM_OPT_FLAGS when adding fPIC
7a5b4c9
7a5b4c9
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7a5b4c9
7a5b4c9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7a5b4c9
7a5b4c9
* Fri Apr 10 2015 Greg Hellings <greg.hellings@gmail.com> - 1.1.2-2
7a5b4c9
- Added fPIC
7a5b4c9
7a5b4c9
* Tue Dec 9 2014 Greg Hellings <greg.hellings@gmail.com> - 1.1.2-1
7a5b4c9
- New upstream version
7a5b4c9
- API incompatible with 1.0 series
7a5b4c9
7a5b4c9
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-5
7a5b4c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7a5b4c9
7a5b4c9
* Mon Aug 04 2014 Greg Hellings <greg.hellings@gmail.com> - 1.0.2-4
7a5b4c9
- Final import form
7a5b4c9
7a5b4c9
* Sat Jul 19 2014 Greg Hellings <greg.hellings@gmail.com> - 1.0.2-3
7a5b4c9
- Package review feedback
7a5b4c9
7a5b4c9
* Mon Jul 07 2014 Greg Hellings <greg.hellings@gmail.com> - 1.0.2-2
7a5b4c9
- Initial build