knnniggett wrote:I completely rewrote the zonemidner spec file, which is why the build is complaining about missing folders.
Until the next release comes out, you will need to perform a few extra steps
Off the top of my head (might not be perfect):
- git clone
https://github.com/ZoneMinder/ZoneMinder (do NOT use git to install the submodule)
- cp distros/redhat/zoneminder.spec ~/rpbmuild/SPECS/
- Open the specfile and set Version to 1.30.2
- git checkout feature-h264-videostorage
- now create a tarfile of the cloned repo, call it zoneminder-1.30.2.tar.gz, and put it into ~/rpmbuild/SOURCES
- Yum install spectool
- cd ~/rpmbuild/SOURCES
- spectool -s ~/rpmbuild/SPECS/zoneminder.spec
- cd ~/rpmbuild/SPECS
- create a new srpm
- Perform the mock using mock or buildzm.sh
hi knnniggett,
i install Zoneminder 1.3.0 on Centos 7
i installed follow the link
http://zoneminder.readthedocs.io/en/lat ... er-package
"Now comes the fun part. To build ZoneMinder, issue the following command:
buildzm.sh zmrepo-el7-x86_64 ~/rpmbuild/SRPMS/zoneminder-1.28.1-2.el7.centos.src.rpm"
it reported success then but i don't know what i have to do next step with next instructions :
Notice that the buildzm.sh tool requires the following parameters:
buildzm.sh MOCKCONFIG ZONEMINDER_SRPM
The list of available Mock config files are available here:
ls /etc/mock/zmrepo*.cfg
You choose the config file based on the desired distro (e.g. el6, el7, f20, f21) and basearch (e.g. x86, x86_64, arhmhfp). Notice that, when specifying the Mock config as a commandline parameter, you should leave off the ”.cfg” filename extension.
If no have to do these steps please explaint for me what i have to do :
Once the build completes, you will be presented with a folder containing the RPM’s that were built. Copy the newly built ZoneMinder RPM to the desired system, enable zmrepo per the instruction on the Zmrepo website, and then install the rpm by issuing the appropriate yum install command. Finish the installation by following the zoneminder setup instructions in the distro specific readme file, named README.{distroname}, which will be installed into the /usr/share/doc/zoneminder* folder.
i tried 3 times to install zm with h264-videostorage but not sucess bc i do not know much about linux
thank you a lot