dolibarr/build/rpm
Laurent Destailleur 8d206fdfb0 Prepare move to other licence. For the moment all answers for licence
upgrade were not yet received. So we prepare for GPL by uniformizing
licence text keys to GPL-3+. Will move later to AGPL if all answers are
positive.
2013-01-16 15:36:08 +01:00
..
conf.php Qual: Fix a ton of CheckStyle errors 2012-03-18 19:23:01 +01:00
dolibarr_fedora.spec Prepare move to other licence. For the moment all answers for licence 2013-01-16 15:36:08 +01:00
dolibarr_generic.spec Prepare move to other licence. For the moment all answers for licence 2013-01-16 15:36:08 +01:00
dolibarr_mandriva.spec Prepare move to other licence. For the moment all answers for licence 2013-01-16 15:36:08 +01:00
dolibarr_opensuse.spec Prepare move to other licence. For the moment all answers for licence 2013-01-16 15:36:08 +01:00
dolibarr-forrpm.patch Beautify instal pg. 2012-10-07 20:04:07 +02:00
dolibarr.desktop Fix: Some fix to removed refused controls by distrib package build 2012-10-22 13:08:55 +02:00
file_contexts.dolibarr New: Show param to overwite lib path 2011-09-07 14:50:18 +00:00
httpd-dolibarr.conf Work on rpm package 2011-08-03 21:45:47 +00:00
install.forced.php.fedora Work on deb/rpm package 2012-02-18 15:21:59 +01:00
install.forced.php.generic Work on rpm packages 2011-08-14 19:40:28 +00:00
install.forced.php.mandriva Work on deb/rpm package 2012-02-18 15:21:59 +01:00
install.forced.php.opensuse Fix: Some bug into rpm and debian packaging. 2012-04-14 15:41:34 +02:00
README Update spec 2012-10-22 20:34:02 +02:00

README (English)
##################################################
RPM Package tools
##################################################

This directory contains files used by makepack-dolibarr.pl
script to build a package, ready to be distributed,
with format RPM (for Redhat, OpenSuse, Mandriva, ...).


# This is standard command to work on RPM packaging:
#
# To install all packagers tools:
# Fedora: yum -y install rpmlint fedora-packager mock koji hunspell-en hunspell-es hunspell-fr hunspell-it
# OpenSuse: yast --install update-desktop-files
#
# rpmlint file.rpm				    Test a package
# mock -r fedora-15-i386 --rebuild ../SRPMS/hello-2.7-1.fc15.src.rpm
#
# On Fedora
# rpm -i --test dolibarr-...rpm     To list dependencies of RPM   
# yum install dolibarr-...rpm       To install package and dependencies   
# yum erase dolibarr                To remove package
# chcon -R -h -t httpd_sys_script_rw_t /file					To add temporary context rw for httpd on /file    
# semanage fcontext -a -t httpd_sys_script_rw_t "/dir/(.*)?" 	To add persistent context rw for httpd on /dir (this add file_contexts.local)
# restorecon -R -v /file			Restore values into files (cancel chcon, validate semanage)    
#
# On OpenSuse
# yast --install dolibarr-...rpm    To install package and dependencies
# yast --remove  dolibarr           To remove package
#
# On Mageia (after su - root)
# urpmi dolibarr-...rpm             To install package and dependencies
# urpme dolibarr                    To remove package
#
# More on rpm on page http://www.trustonme.net/didactels/273.html


To submit a package to Fedora:
- Create account on bugzilla.redhat.com
- Create account on fedoraproject.org
- Create SRPMS package.
- Upload package onf http://fedorapeople.org
- Create a bug with form https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&format=fedora-review
This is example of content of review field (used for Bug 723326 - https://bugzilla.redhat.com/show_bug.cgi?id=723326):
SRPMS URL: http://www.dolibarr.org/files/fedora/dolibarr-x.y.z-xxx.src.rpm
Description:  Dolibarr ERP & CRM is an easy to use open source/free software
for small and medium companies, foundations or freelances. It includes
different features for Enterprise Resource Planning (ERP) and Customer
Relationship Management (CRM) but also for different other activities.
I am author of other already packaged OpenSources packages (awstats) but this
is my first package to maintain myself. So i'm seeking a sponsor.
- Edit field "Block" and add FE-NEEDSPONSOR
- Check bug is into database by searching with id on https://bugzilla.redhat.com/
- Install fedora packager tools: yum install fedora-packager
- Setup fedora packagers tools: fedora-packager-setup
- Send your package: koji build --scratch f16 path_to_source_RPM
- Check if package is available: http://koji.fedoraproject.org/koji/