Last active
August 29, 2015 14:16
-
-
Save wakwanza/357e9214aa40f6400359 to your computer and use it in GitHub Desktop.
spec file for custom rpms of the ndn-cxx library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: ndn-cxx | |
Version: 0.3.1 | |
Release: 1 | |
Summary: NDN C++ library with eXperimental eXtensions | |
Group: System Environment/Network library | |
License: LGPL 3.0 | |
URL: http://www.named-data.net/doc/ndn-cxx/ | |
Source0: %{_sourcedir}/%{name}-%{version}.tar.bz2 | |
BuildRequires: boost | |
Requires: sqlite, cryptopp, boost >= 1.48 | |
Provides: ndn-cxx = %{version}-%{release} | |
%description | |
ndn-cxx is a C++ library, implementing Named Data Networking (NDN) primitives that can be used to implement various NDN applications. | |
%prep | |
%setup -q | |
%build | |
./waf configure | |
./waf | |
%install | |
./waf install | |
%files | |
%doc | |
%post | |
echo "export PATH=/usr/local/bin:$PATH" > /etc/profile.d/nfd.sh | |
. /etc/profile.d/nfd.sh | |
%changelog | |
* Sun Mar 8 2015 Abdulrahim Umar <harsh001 (at) gmail.com> 0.3.1-1 | |
- Initial RPM release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment