CMF.spec 14.5 KB
Newer Older
Jean-Paul Smets's avatar
Jean-Paul Smets committed
1 2
Name:               CMF
Summary:            A Content Management System based on Zope
Sebastien Robin's avatar
Sebastien Robin committed
3 4
Version:            1.4.2
Release:            1mdk
Jean-Paul Smets's avatar
Jean-Paul Smets committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
Group:              Development/Python
Requires:           zope
License:            GPL
URL:                http://cmf.zope.org
Packager:           Sebastien Robin <seb@nexedi.com>
BuildRoot:          %{_tmppath}/%{name}-%{version}-rootdir
Buildarch:          noarch

Source: %{name}-%{version}.tar.bz2

#----------------------------------------------------------------------
%description
Zope CMF is a content management framework based on the Zope
application server. The Zope CMF rpm package contains a complete Zope
CMF distribution including CMFWiki (a CMF based Wiki) and DCWorkflow
(a CMF based worflow).

http://cmf.zope.org

#----------------------------------------------------------------------
%prep

rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
%setup -q

#----------------------------------------------------------------------
#%build

#----------------------------------------------------------------------
%install

#---------------------- CMF Calendar ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install CMFCalendar/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install CMFCalendar/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar
install CMFCalendar/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/Extensions
install CMFCalendar/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/Extensions

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/help
install CMFCalendar/help/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/help

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install CMFCalendar/skins/calendar/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install CMFCalendar/skins/calendar/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install CMFCalendar/skins/calendar/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/calendar
install CMFCalendar/skins/zpt_calendar/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install CMFCalendar/skins/zpt_calendar/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar
install CMFCalendar/skins/zpt_calendar/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/skins/zpt_calendar

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/tests
install CMFCalendar/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/tests

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/www
install CMFCalendar/www/*.zpt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCalendar/www

#---------------------- CMF Core ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install CMFCore/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install CMFCore/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore
install CMFCore/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/dtml
install CMFCore/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/dtml

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/images
install CMFCore/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/images

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/interfaces
install CMFCore/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/interfaces

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/tests
install CMFCore/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFCore/tests

#---------------------- CMF Default ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install CMFDefault/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install CMFDefault/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault
install CMFDefault/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/dtml
install CMFDefault/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/dtml

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/Extensions
install CMFDefault/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/Extensions

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/help
install CMFDefault/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/help

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/images
install CMFDefault/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/images

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/control
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/generic
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/Images
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/no_css
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/nouvelle
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_content
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_control
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/content/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install CMFDefault/skins/content/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install CMFDefault/skins/content/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/content
install CMFDefault/skins/control/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/control
install CMFDefault/skins/control/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/control
install CMFDefault/skins/generic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/generic
install CMFDefault/skins/generic/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/generic
install CMFDefault/skins/Images/*.jpg $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/Images
install CMFDefault/skins/Images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/Images
install CMFDefault/skins/no_css/*.props $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/no_css
install CMFDefault/skins/nouvelle/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/nouvelle
install CMFDefault/skins/nouvelle/*.props $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/nouvelle
install CMFDefault/skins/zpt_content/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_content
install CMFDefault/skins/zpt_content/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_content
install CMFDefault/skins/zpt_generic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_generic/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_generic/*.css $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_generic/*.html $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_generic
install CMFDefault/skins/zpt_control/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_control
install CMFDefault/skins/zpt_control/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/skins/zpt_control

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/scripts
install CMFDefault/scripts/*.pys $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/scripts

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/interfaces
install CMFDefault/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/interfaces

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/tests
install CMFDefault/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/tests
install CMFDefault/tests/*.jpg $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFDefault/tests

#---------------------- CMF Topic ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic
install CMFTopic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic
install CMFTopic/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/Extensions
install CMFTopic/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/Extensions

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/help
install CMFTopic/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/help

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/interfaces
install CMFTopic/interfaces/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/interfaces

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/zpt_topic
install CMFTopic/skins/topic/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install CMFTopic/skins/topic/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install CMFTopic/skins/topic/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/topic
install CMFTopic/skins/zpt_topic/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/skins/zpt_topic

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/tests
install CMFTopic/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFTopic/tests

#---------------------- CMF Wiki ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki
install CMFWiki/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki
install CMFWiki/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/default_wiki_content
install CMFWiki/default_wiki_content/*.wiki $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/default_wiki_content

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/Extensions
install CMFWiki/Extensions/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/Extensions

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/zpt_wiki
install CMFWiki/skins/wiki/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/wiki/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/wiki/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/wiki/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/wiki
install CMFWiki/skins/zpt_wiki/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/zpt_wiki
install CMFWiki/skins/zpt_wiki/*.pt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/skins/zpt_wiki

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/tests
install CMFWiki/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/CMFWiki/tests

#---------------------- DCWorkflow ----------------------
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow
install DCWorkflow/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow
install DCWorkflow/*.txt $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc/examples
install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc/examples/staging
install DCWorkflow/doc/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc
install DCWorkflow/doc/examples/staging/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/doc/examples/staging

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/dtml
install DCWorkflow/dtml/*.dtml $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/dtml

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/help
install DCWorkflow/help/*.stx $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/help

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/images
install DCWorkflow/images/*.gif $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/images

install -d $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/tests
install DCWorkflow/tests/*.py $RPM_BUILD_ROOT%{_libdir}/zope/lib/python/Products/DCWorkflow/tests

%clean
rm -rf $RPM_BUILD_ROOT

#----------------------------------------------------------------------
%files
%defattr(-,root,root,0755)
%doc README.txt INSTALL.txt LICENSE.txt

%{_libdir}/zope/lib/python/Products/CMFCalendar/
%{_libdir}/zope/lib/python/Products/CMFCore/
%{_libdir}/zope/lib/python/Products/CMFDefault/
%{_libdir}/zope/lib/python/Products/CMFTopic/
%{_libdir}/zope/lib/python/Products/CMFWiki/
%{_libdir}/zope/lib/python/Products/DCWorkflow/

#----------------------------------------------------------------------
%changelog
Sebastien Robin's avatar
Sebastien Robin committed
231 232
* Mon Nov 03 2003 Sebastien Robin <seb@nexedi.com> 1.4.2-1mdk
- Updated to CMF 1.4.2