Add Spec file

This commit is contained in:
Justin Hammond 2015-10-18 22:12:32 +08:00
parent 89a71326b3
commit cda2dcccee
2 changed files with 53 additions and 0 deletions

6
dist/LMBd.changes vendored Normal file
View file

@ -0,0 +1,6 @@
-------------------------------------------------------------------
Fri Jun 21 17:12:43 UTC 2013 - justin@dynam.ac
First Version
-

47
dist/LMBd.spec vendored Normal file
View file

@ -0,0 +1,47 @@
Name: LMBd
Group: Productivity/Networking/Other
Summary: Led Message Board Driver Daemon
URL: https://github.com/Fishwaldo/LEDMessageBoard
License: GPL
Version: 1.0
Release: 1
BuildRequires: gcc-c++ cmake boost-thread boost-log boost-filesystem
Source0: LMBd-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
Led Message Board Driver
%prep
%setup -q
%build
cmake .
make %{?_smp_mflags}
%install
make install DESTDIR=${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
#%{_prefix}/sbin/ozwlogapp
#%{_prefix}/lib/systemd/system/*
#%doc README
#%attr(775, ozwwebapp, ozwwebapp) %dir %{_localstatedir}/www/ozwwebapp/
#%attr(775, ozwwebapp, ozwwebapp) %{_localstatedir}/www/ozwwebapp/
#%config /etc/ozwwebapp/*
%pre
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%changelog