|
|
|
|
@ -21,6 +21,10 @@
|
|
|
|
|
## SUCH DAMAGE. |
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_opkg 1.0.0rc3 |
|
|
|
|
%define V_dist 20160527 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: caffe |
|
|
|
|
Summary: Fast Open Framework For Deep Learning |
|
|
|
|
@ -31,11 +35,11 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Algorithm |
|
|
|
|
License: BSD |
|
|
|
|
Version: 20160526 |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20160527 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/caffe/caffe-%{version}.tar.xz |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/caffe/caffe-%{V_dist}.tar.xz |
|
|
|
|
Patch0: caffe.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
@ -50,7 +54,7 @@ PreReq: gflags, glog, snappy, lmdb, leveldb, protobuf, boost, opencv, open
|
|
|
|
|
|
|
|
|
|
%track |
|
|
|
|
prog caffe = { |
|
|
|
|
version = %{version} |
|
|
|
|
version = %{V_dist} |
|
|
|
|
url = http://download.openpkg.org/components/versioned/caffe/ |
|
|
|
|
regex = caffe-(__VER__)\.tar\.xz |
|
|
|
|
} |
|
|
|
|
|