?? motion.spec
字號:
Name: motionVersion: 3.2.7Release: 1Summary: MOTION, a Video-surveilance-systemGroup: Applications/MultimediaLicense: GPLURL: http://motion.sourceforge.net/Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gzBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)BuildRequires: libjpeg-devel ffmpeg-develBuildRequires: postgresql-devel mysql-devel%descriptionMotion is a software motion detector. It grabs images from video4linuxdevices and/or from webcams (such as the axis network cameras). Motionis the perfect tool for keeping an eye on your property keeping onlythose images that are interesting. Motion is strictly command linedriven and can run as a daemon with a rather small footprint. It isbuilt with MySQL and PostgreSQL support and mpegs generated by ffmpegand http remote control.%prep%setup -q%build%configure --sysconfdir=%{_sysconfdir}/%{name} \ --without-optimizecpu \ --without-libjpeg-mmxmake %{?_smp_mflags}%installrm -rf $RPM_BUILD_ROOT motion.initmake install DESTDIR=$RPM_BUILD_ROOT(cd $RPM_BUILD_ROOT%{_sysconfdir}/%{name} ; mv motion-dist.conf motion.conf)sed -e 's#MOTION-/usr/#MOTION-#g' motion.init-RH > motion.initinstall -D -m 0755 motion.init $RPM_BUILD_ROOT%{_initrddir}/%{name}%cleanrm -rf $RPM_BUILD_ROOT%files%defattr (-,root,root,-)%doc CHANGELOG COPYING CREDITS INSTALL README motion_guide.html%doc motion-dist.conf thread1.conf thread2.conf thread3.conf thread4.conf%dir %{_sysconfdir}/%{name}%config %{_sysconfdir}/%{name}/motion.conf%{_bindir}/motion%{_mandir}/man1/motion.1*%{_initrddir}/%{name}%changelog* Sun Sep 18 2005 Kenneth Lavrsen <kenneth@lavrsen.dk> - 3.2.4-1- Generic version of livna spec file replacing the old less optimal specfile.* Thu Sep 15 2005 Dams <anvil[AT]livna.org> - 3.2.3-0.lvn.1- Initial released based upon upstream spec file
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -