]> git.pld-linux.org Git - packages/lms.git/blobdiff - lms.spec
- updated to 1.4.3,
[packages/lms.git] / lms.spec
index 45151cb9761bc96a0c201bb17a87c5f542d9590f..01ba5a819303a653e2aa97c6e8088d82fe51d686 100644 (file)
--- a/lms.spec
+++ b/lms.spec
@@ -3,26 +3,26 @@
 %bcond_without almsd           # without almsd daemon
 #
 # TODO:
-# - almsd description
 # - cosmetics (sort in %%files and %%install)
 # - contrib split
 %define                lmsver          1.4
-%define                lmssubver       0
+%define                lmssubver       3
 Summary:       LAN Managment System
 Summary(pl):   System Zarz±dzania Sieci± Lokaln±
 Name:          lms
 Version:       %{lmsver}.%{lmssubver}
-Release:       1
+Release:       0.1
 License:       GPL
 Vendor:                LMS Developers
 Group:         Networking/Utilities
 Source0:       http://lms.rulez.pl/download/%{lmsver}/%{name}-%{version}.tar.gz
-# Source0-md5: e43e0aa0dacaed71987839c7da3dd7d8
+# Source0-md5: 7af9efa0430a3bad5f46f59a21312f0a
 Source1:       %{name}.conf
 Source2:       %{name}.init
 Source3:       %{name}.sysconfig
 Patch0:                %{name}-PLD.patch
 Patch1:                %{name}-amd64.patch
+Patch2:                %{name}-calendar.patch
 URL:           http://lms.rulez.pl/
 %{?with_almsd:BuildRequires:   libgadu-devel}
 %{?with_almsd:BuildRequires:   mysql-devel}
@@ -146,6 +146,7 @@ wybranych us
 %ifarch amd64
 %patch1 -p1
 %endif
+%patch2 -p1
 
 %build
 %if %{with almsd}
@@ -174,12 +175,13 @@ 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%{_lmsdir}/www/{img,doc,user}
+          $RPM_BUILD_ROOT%{_lmsdir}/www/{img,doc,user,calendar}
 
 install *.php $RPM_BUILD_ROOT%{_lmsdir}/www
 install img/* $RPM_BUILD_ROOT%{_lmsdir}/www/img
 cp -r doc/html $RPM_BUILD_ROOT%{_lmsdir}/www/doc
 cp -r lib contrib modules templates sample $RPM_BUILD_ROOT%{_lmsdir}
+mv $RPM_BUILD_ROOT%{_lmsdir}/templates/calendar.html $RPM_BUILD_ROOT%{_lmsdir}/www/calendar
 install bin/* $RPM_BUILD_ROOT%{_sbindir}
 
 install sample/%{name}.ini $RPM_BUILD_ROOT%{_sysconfdir}
This page took 0.355448 seconds and 4 git commands to generate.