packages: CodeIgniter/CodeIgniter.spec - doc subpackage - verbose file list...

uzsolt uzsolt at pld-linux.org
Fri Jul 15 14:34:26 CEST 2011


Author: uzsolt                       Date: Fri Jul 15 12:34:26 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- doc subpackage
- verbose file listing, maybe split to subpackage or create separate CI-* packages

---- Files affected:
packages/CodeIgniter:
   CodeIgniter.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/CodeIgniter/CodeIgniter.spec
diff -u packages/CodeIgniter/CodeIgniter.spec:1.4 packages/CodeIgniter/CodeIgniter.spec:1.5
--- packages/CodeIgniter/CodeIgniter.spec:1.4	Fri Apr 15 08:26:55 2011
+++ packages/CodeIgniter/CodeIgniter.spec	Fri Jul 15 14:34:21 2011
@@ -4,7 +4,7 @@
 Summary:	A powerful PHP framework with a very small footprint
 Name:		CodeIgniter
 Version:	2.0.2
-Release:	0.7
+Release:	0.9
 License:	other
 Group:		Development/Languages/PHP
 Source0:	http://www.codeigniter.com/download_files/reactor/%{name}_%{version}.zip
@@ -39,6 +39,13 @@
 if you're tired of ponderously large and thoroughly undocumented
 frameworks.
 
+%package doc
+Summary:	CodeIgniter documentation
+Group:		Development/Languages/PHP
+
+%description doc
+CodeIgniter documentation.
+
 %prep
 %setup -q -n %{name}_%{version}
 %{__sed} -i 's,\$application_folder.*=.*,$application_folder = "PLEASE SET TO CORRECT PATH";,' index.php
@@ -57,6 +64,10 @@
 install -d $RPM_BUILD_ROOT%{_bindir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
 
+find $RPM_BUILD_ROOT%{_datadir}/%{name} -name index.html -delete
+
+rm -rf $RPM_BUILD_ROOT%{_appdir}/application/{cache,core,helpers,hooks,libraries}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -67,9 +78,45 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_docdir}/%{name}-%{version}
 %attr(755,root,root) %{_bindir}/codeigniter-install
-%{_appdir}
+
+%dir %{_appdir}
+%dir %{_appdir}/application
+%dir %{_appdir}/application/config
+%dir %{_appdir}/application/controllers
+%dir %{_appdir}/application/errors
+%dir %{_appdir}/application/language
+%dir %{_appdir}/application/views
+%dir %{_appdir}/system
+%dir %{_appdir}/system/core
+%dir %{_appdir}/system/database
+%dir %{_appdir}/system/database/drivers
+%dir %{_appdir}/system/fonts
+%dir %{_appdir}/system/helpers
+%dir %{_appdir}/system/language
+%dir %{_appdir}/system/libraries
+
+%{_appdir}/index.php
+%{_appdir}/application/.htaccess
+%{_appdir}/system/.htaccess
+
+%{_appdir}/application/config/*
+%{_appdir}/application/controllers/*
+%{_appdir}/application/errors/*
+%{_appdir}/application/language/*
+%{_appdir}/application/views/*
+
+%{_appdir}/system/core/*
+%{_appdir}/system/database/DB*.php
+%{_appdir}/system/database/drivers/*
+%{_appdir}/system/fonts/*
+%{_appdir}/system/helpers/*
+%{_appdir}/system/language/*
+%{_appdir}/system/libraries/*
+
+%files doc
+%defattr(644,root,root,755)
+%doc %{_docdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -77,6 +124,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2011/07/15 12:34:21  uzsolt
+- doc subpackage
+- verbose file listing, maybe split to subpackage or create separate CI-* packages
+
 Revision 1.4  2011/04/15 06:26:55  uzsolt
 - change URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/CodeIgniter/CodeIgniter.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list