SPECS: lms.spec - en corrections - add INSTALL to %doc (contains i...
glen
glen at pld-linux.org
Thu Jan 26 02:19:53 CET 2006
Author: glen Date: Thu Jan 26 01:19:53 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- en corrections
- add INSTALL to %doc (contains important information where to start)
- possible amd64 install fixes
---- Files affected:
SPECS:
lms.spec (1.70 -> 1.71)
---- Diffs:
================================================================
Index: SPECS/lms.spec
diff -u SPECS/lms.spec:1.70 SPECS/lms.spec:1.71
--- SPECS/lms.spec:1.70 Thu Dec 15 17:41:04 2005
+++ SPECS/lms.spec Thu Jan 26 02:19:48 2006
@@ -1,19 +1,19 @@
# $Revision$, $Date$
-# TODO: test build on amd64 and sheck /usr/lib64 patch
+# TODO
+# - test build on amd64 and sheck /usr/lib64 patch
+# - cosmetics (sort in %%files and %%install)
+# - contrib split
#
# Conditional build:
%bcond_without lmsd # without lmsd daemon
#
-# TODO:
-# - cosmetics (sort in %%files and %%install)
-# - contrib split
%define lmsver 1.6
%define lmssubver 6
Summary: LAN Managment System
Summary(pl): System Zarządzania Siecią Lokalną
Name: lms
Version: %{lmsver}.%{lmssubver}
-Release: 1
+Release: 1.1
License: GPL
Vendor: LMS Developers
Group: Networking/Utilities
@@ -47,7 +47,7 @@
This is a package of applications in PHP and Perl for managing LANs.
It's using MySQL or PostgreSQL. The main goal is to get the best
service of users at provider's level. The main features in LMS are:
-- database of users (name, surname, address, telefon number,
+- database of users (name, surname, address, telephone number,
commentary);
- database of computers (IP, MAC);
- easy-ridden financial system and funds of network;
@@ -91,7 +91,7 @@
%description scripts
This package contains scripts to integrate LMS with your system,
monthly billing, notify users about their debts and cutting off
-customers. Also you can build propably any kind of config file using
+customers. Also you can build probably any kind of config file using
lms-mgc.
%description scripts -l pl
@@ -157,13 +157,13 @@
./configure --with-mysql
%{__make} \
- CC='%{__cc}' CFLAGS='%{rpmcflags} -fPIC -DUSE_MYSQL -DLMS_LIB_DIR=\"/usr/lib/lms/\" -I../..'
+ CC='%{__cc}' CFLAGS='%{rpmcflags} -fPIC -DUSE_MYSQL -DLMS_LIB_DIR=\"%{_libdir}/lms/\" -I../..'
mv lmsd lmsd-mysql
./configure --with-pgsql
%{__make} lmsd \
CC='%{__cc}' \
- CFLAGS='%{rpmcflags} -fPIC -DUSE_PGSQL -DLMS_LIB_DIR=\"/usr/lib/lms/\" -I../..'
+ CFLAGS='%{rpmcflags} -fPIC -DUSE_PGSQL -DLMS_LIB_DIR=\"%{_libdir}/lms/\" -I../..'
mv lmsd lmsd-pgsql
cd ..
@@ -174,7 +174,7 @@
install -d $RPM_BUILD_ROOT%{_sbindir} \
$RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,httpd} \
$RPM_BUILD_ROOT/etc/lms/modules/{dns,ggnofity,nofity} \
- $RPM_BUILD_ROOT{%{_lmsvar}/{backups,templates_c},/usr/lib/lms} \
+ $RPM_BUILD_ROOT{%{_lmsvar}/{backups,templates_c},%{_libdir}/lms} \
$RPM_BUILD_ROOT%{_lmsdir}/www/{img,doc,user}
install *.php $RPM_BUILD_ROOT%{_lmsdir}/www
@@ -196,7 +196,7 @@
# daemon
%if %{with lmsd}
install daemon/lmsd-* $RPM_BUILD_ROOT%{_sbindir}
-install daemon/modules/*/*.so $RPM_BUILD_ROOT/usr/lib/lms
+install daemon/modules/*/*.so $RPM_BUILD_ROOT%{_libdir}/lms
cp -r daemon/modules/dns/sample $RPM_BUILD_ROOT%{_sysconfdir}/modules/dns
cp -r daemon/modules/ggnotify/sample $RPM_BUILD_ROOT%{_sysconfdir}/modules/ggnotify
cp -r daemon/modules/dns/sample $RPM_BUILD_ROOT%{_sysconfdir}/modules/nofity
@@ -265,7 +265,7 @@
%files
%defattr(644,root,root,755)
-%doc doc/{AUTHORS,ChangeLog*,README,UPGRADE*,lms*}
+%doc doc/{AUTHORS,ChangeLog*,INSTALL,README,UPGRADE*,lms*}
%dir %{_sysconfdir}
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*.ini
%config(noreplace) %verify(not md5 mtime size) /etc/httpd/%{name}.conf
@@ -306,7 +306,7 @@
%files lmsd
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/lmsd-*
-%attr(755,root,root) /usr/lib/lms/*.so
+%attr(755,root,root) %{_libdir}/lms/*.so
%attr(754,root,root) /etc/rc.d/init.d/lmsd
/etc/lms/modules/*
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
@@ -318,6 +318,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.71 2006/01/26 01:19:48 glen
+- en corrections
+- add INSTALL to %doc (contains important information where to start)
+- possible amd64 install fixes
+
Revision 1.70 2005/12/15 16:41:04 dzeus
- up to 1.6.6
@@ -467,7 +472,7 @@
Revision 1.31.2.40 2004/10/08 01:19:14 domelu
- added /etc/lms/modules/{dns,nofity,ggnofity}
- TODO: contrib stuff
- fix pinger.c (daemon/modules/pinger)
+ fix pinger.c (daemon/modules/pinger)
Revision 1.31.2.39 2004/10/07 20:53:04 domelu
- revert my revert ;)
@@ -666,7 +671,7 @@
- force to use Smarty >= 2.4.2
Revision 1.13 2003/03/31 12:48:47 qboosh
-- missing dir (%%{_sysconfdir}/%%{name})
+- missing dir (%{_sysconfdir}/%{name})
Revision 1.12 2003/03/29 22:11:21 mwinkler
- next bug fixed, now works
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lms.spec?r1=1.70&r2=1.71&f=u
More information about the pld-cvs-commit
mailing list