susmit 3689d7
Name:       libndn-cxx
susmit a02e7e
Version:    0.6.6
c6a250
Release:    4%{?dist}
susmit 6d9fbf
Summary:    C++ library implementing Named Data Networking primitives
susmit 6d9fbf
License:    LGPLv3+ and (BSD or LGPLv3+) and (GPLv3+ or LGPLv3+)
susmit 84e694
URL:        http://named-data.net
susmit 84e694
Source0:    http://named-data.net/downloads/ndn-cxx-%{version}.tar.bz2
susmit 1a57c7
susmit 6d9fbf
BuildRequires:  sqlite-devel cryptopp-devel boost-devel pkgconfig openssl-devel
susmit 815385
BuildRequires:  boost-python3-devel python3-devel python2-devel gcc-c++
susmit 6d9fbf
susmit 6d9fbf
%description
susmit 6d9fbf
libndn-cxx is a C++ library that implements NDN primitives.
susmit 6d9fbf
susmit 6d9fbf
%package  devel
susmit 6d9fbf
Summary:  Development files for %{name}
susmit 6d9fbf
Requires: %{name}%{?_isa} = %{version}-%{release}
susmit 6d9fbf
susmit 6d9fbf
%description    devel
susmit 6d9fbf
The %{name}-devel package contains libraries and header files for
susmit 6d9fbf
developing applications that use %{name}.
susmit 6d9fbf
susmit 6d9fbf
%prep
susmit 9c852a
%setup -qn ndn-cxx-%{version}
susmit 6d9fbf
susmit 6d9fbf
susmit 6d9fbf
%build
susmit 6d9fbf
CXXFLAGS="%{optflags} -std=c++11" \
susmit 6d9fbf
LINKFLAGS="-Wl,--as-needed" \
susmit 01d00c
#%{__python2} ./waf --enable-shared --disable-static --with-tests \
susmit 01d00c
# --prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_libdir} \
susmit 01d00c
# --datadir=%{_datadir} --sysconfdir=%{_sysconfdir} configure
susmit 6f738f
%{__python2} ./waf --enable-shared --disable-static \
susmit 6d9fbf
 --prefix=%{_prefix} --bindir=%{_bindir} --libdir=%{_libdir} \
susmit 6d9fbf
 --datadir=%{_datadir} --sysconfdir=%{_sysconfdir} configure
susmit 6d9fbf
susmit fb994e
%{__python2} ./waf -v %{?_smp_mflags}
susmit 6d9fbf
susmit 6d9fbf
%install
susmit dc4cce
%{__python2} ./waf install --destdir=%{buildroot} --prefix=%{_prefix} \
susmit 6d9fbf
 --bindir=%{_bindir} --libdir=%{_libdir}
susmit 6d9fbf
susmit 6d9fbf
%check
susmit 6d9fbf
export LD_LIBRARY_PATH=$PWD/build
susmit 215e82
#build/unit-tests
susmit 6d9fbf
9a9221
%ldconfig_scriptlets
susmit 6d9fbf
susmit 6d9fbf
%files
susmit 6d9fbf
%{_libdir}/libndn-cxx.so.%{version}
susmit 6d9fbf
%doc AUTHORS.md  README-dev.md  README.md
susmit 6d9fbf
%dir %{_sysconfdir}/ndn
susmit 6d9fbf
%license COPYING.md
susmit 6d9fbf
%{_bindir}/*
susmit 6d9fbf
%config(noreplace) %{_sysconfdir}/ndn/client.conf.sample
susmit 6d9fbf
susmit 6d9fbf
%files devel
susmit 6d9fbf
%{_includedir}/ndn-cxx/
susmit 6d9fbf
%{_libdir}/libndn-cxx.so
susmit 6d9fbf
%{_libdir}/pkgconfig/libndn-cxx.pc
susmit 6d9fbf
susmit 6d9fbf
%changelog
c6a250
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-4
c6a250
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c6a250
d4b9af
* Sun May 31 2020 Jonathan Wakely <jwakely@redhat.com> - 0.6.6-3
d4b9af
- Rebuilt for Boost 1.73
d4b9af
4d5c19
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.6-2
4d5c19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4d5c19
341518
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-7
341518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
341518
susmit a02e7e
* Tue Jul 2 2019 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.6.6-1
susmit a02e7e
- Update to 0.6.6
1ac0d5
1ac0d5
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
1ac0d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1ac0d5
susmit fb994e
* Thu Jul 19 2018 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.6.1-5
susmit fb994e
- Update python dependency for F29 release
susmit 8158a6
59f061
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
59f061
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
59f061
9d7b9d
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.1-3
9d7b9d
- Update Python 2 dependency declarations to new packaging standards
9d7b9d
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9d7b9d
0eabca
* Fri Feb 23 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.6.1-2
0eabca
- rebuild (cryptopp)
0eabca
susmit 51ca42
* Mon Feb 19 2018 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.6.1-1
susmit 51ca42
- Package for 0.6.1 release
susmit 51ca42
2a9da8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
2a9da8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2a9da8
susmit 84e694
* Tue Jan 30 2018 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.6.0-1
susmit 84e694
- Package for 0.6.0 release
2637a9
susmit 01d00c
* Tue Apr 05 2016 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.4.1-3
susmit 01d00c
- Package for 0.4.1 release
0d07b9
susmit 1a57c7
* Sun Jan 24 2016 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.4.0-2
susmit 01d00c
- Rebuild for boost missing dependency
susmit 1a57c7
susmit 9c852a
* Fri Jan 8 2016 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.4.0-1
susmit 9c852a
- Package for 0.4.0 release
Marcin Juszkiewicz 940766
susmit 1a57c7
* Thu Nov 26 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.3.4-6
susmit 1a57c7
- Fix build on AArch64 with upstream fix
susmit 1a57c7
susmit 1a57c7
* Tue Nov 10 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.3.4-5
susmit 1a57c7
- Fix FTBFS on AArch64. Developer assumed that memcmp() returns -1/0/1 instead
susmit 1a57c7
  of reading what C/C++ standard says about it.
susmit 1a57c7
susmit 6d9fbf
* Thu Oct 15 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.4-4
susmit 6d9fbf
- Fix unused-direct-shlib-dependency warning
susmit 6d9fbf
- Add missing sysconfigdir
susmit 6d9fbf
susmit 6d9fbf
* Thu Oct 1 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.4-3
susmit 6d9fbf
- Add patch for boost 1.59 semicolon bug
susmit 6d9fbf
susmit 6d9fbf
* Thu Sep 24 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.4-2
susmit 6d9fbf
- Fix licencing
susmit 6d9fbf
- Address reviewer's comments
susmit 6d9fbf
susmit 6d9fbf
* Wed Sep 16 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.4-1
susmit 6d9fbf
- Repackage for 0.3.4
susmit 6d9fbf
susmit 6d9fbf
* Tue Sep 08 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.3-2
susmit 6d9fbf
- Use waf to install files
susmit 6d9fbf
- Fix review comments
susmit 6d9fbf
susmit 6d9fbf
* Fri Aug 21 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.3-1
susmit 6d9fbf
- Update package for 0.3.3
susmit 6d9fbf
susmit 6d9fbf
* Thu Feb 5 2015 Susmit Shannigrahi <susmit at cs.colostate.edu> - 0.3.0-1
susmit 6d9fbf
- Initial Packaging
susmit 6d9fbf