/[smecontribs]/rpms/moodle/contribs7/moodle-1.7.spec
ViewVC logotype

Annotation of /rpms/moodle/contribs7/moodle-1.7.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (hide annotations) (download)
Sun Dec 23 20:54:56 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +0 -0 lines
FILE REMOVED
Import on branch contribs7 of package moodle-1.8.3-1.el4.sme.src.rpm

1 slords 1.1 Summary: Moodle is a course management system
2     %define name moodle
3     Name: %{name}
4     %define version 1.7
5     %define release 2
6     Version: %{version}
7 slords 1.3 Release: %{release}%{?dist}
8 slords 1.2 License: GPL
9 slords 1.1 URL: http://www.dungog.net/sme
10     Group: SMEserver/addon
11     Source: %{name}-%{version}.tar.gz
12     BuildArchitectures: noarch
13     BuildRoot: /var/tmp/%{name}-%{version}
14     Requires: e-smith-release >= 7.0
15 slords 1.5 BuildRequires: e-smith-devtools
16 slords 1.1 AutoReqProv: no
17    
18     %description
19     http://moodle.org/
20     Moodle is a course management system (CMS)
21     A free, Open Source software package designed using sound pedagogical principles,
22     to help educators create effective online learning communities.
23    
24     %changelog
25     * Sat Dec 2 2006 Stephen Noble <support@dungog.net>
26     - build with correct permissions
27     - [1.7-2]
28     * Fri Dec 1 2006 Stephen Noble <support@dungog.net>
29     - initial release
30     - [1.7-1]
31    
32     %prep
33     %setup
34    
35     %build
36    
37     %install
38     rm -rf $RPM_BUILD_ROOT
39     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
40     rm -f %{name}-%{version}-filelist
41     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
42     --dir '/opt/moodle/moodledata' 'attr(755,www,www)' \
43     > %{name}-%{version}-filelist
44     # --dir '/opt/moodle/html' 'attr(755,www,www)' \
45     # --file '/opt/moodle/html/config.php' 'attr(660,www,www)' \
46     echo "%doc COPYING" >> %{name}-%{version}-filelist
47    
48     %clean
49     cd ..
50     rm -rf %{name}-%{version}
51    
52     %pre
53    
54     %preun
55     %post
56     %postun
57    
58     %files -f %{name}-%{version}-filelist
59     %defattr(-,root,root)
60    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed