Changeset 610 in ProjectBuilder for projects/fossology
- Timestamp:
- Nov 20, 2008, 2:39:00 PM (16 years ago)
- Location:
- projects/fossology/pbconf/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
projects/fossology/pbconf/trunk/fossology/rpm/fossology.spec
r606 r610 15 15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n) 16 16 Requires: postgresql php php-pear php-pgsql libxml2 binutils bzip2 cpio mkisofs poppler-utils rpm tar unzip gzip httpd PBDEP 17 BuildRequires: postgresql-devel libxml2 gcc make perl libmagic-develPBBUILDDEP17 BuildRequires: postgresql-devel libxml2 gcc make perl PBBUILDDEP 18 18 Summary: FOSSology is a licenses exploration tool 19 19 Summary(fr): FOSSology est un outil d'exploration de licenses … … 46 46 %install 47 47 %{__rm} -rf $RPM_BUILD_ROOT 48 make DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_usr} SYSCONFDIR=%{_sysconfdir} LOCALSTATEDIR=%{_var} install48 make DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_usr} SYSCONFDIR=%{_sysconfdir} LOCALSTATEDIR=%{_var} LIBDIR=%{_libdir} install 49 49 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d 50 50 cat > $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/PBPROJ.conf << EOF … … 71 71 %dir %{_datadir}/* 72 72 %dir %{_localstatedir}/PBPROJ 73 %dir %{_ usr}/lib/PBPROJ73 %dir %{_libdir}/PBPROJ 74 74 %dir %{_sysconfdir}/PBPROJ 75 75 %dir %{_datadir}/PBPROJ … … 86 86 %files devel 87 87 %{_includedir}/* 88 %{_lib execdir}/*.a88 %{_libdir}/*.a 89 89 90 90 %post … … 115 115 116 116 # Adjust PHP config (described in detail in section 2.1.5) 117 # /etc/php5/php.ini 118 # 291 max_execution_time = 90 119 # 292 memory_limit = 128M 120 # 293 error_reporting = E_ALL & E_STRICT 121 # 294 display_startup_errors = On 122 # 295 log_errors = On 123 # 296 log_errors_max_len = 0 124 # 297 error_log = /var/log/php5.log 125 # 298 post_max_size = 700M 126 # 299 upload_max_filesize = 701M 127 # 300 In the "[soap]" section add 128 # 301 extension=pgsql.so 129 # 303 You should also edit /etc/php5/cli/php.ini to include the fossology directory 130 # 304 in the php command line interface path: 131 # 305 include_path = ".:/usr/local/share/fossology/php:/usr/local/share/fossology/www" 117 grep -qw memory_limit PBPHPINI 118 if [ $? -eq 0 ]; then 119 perl -pi -e "s/memory_limit.*=.*/memory_limit = 702M/" PBPHPINI 120 else 121 echo "memory_limit = 702M" >> PBPHPINI 122 fi 123 grep -qw post_max_size PBPHPINI 124 if [ $? -eq 0 ]; then 125 perl -pi -e "s/post_max_size.*=.*/post_max_size = 702M/" PBPHPINI 126 else 127 echo "post_max_size = 702M" >> PBPHPINI 128 fi 129 grep -qw upload_max_filesize PBPHPINI 130 if [ $? -eq 0 ]; then 131 perl -pi -e "s/upload_max_filesize.*=.*/upload_max_filesize = 702M/" PBPHPINI 132 else 133 echo "upload_max_filesize = 702M" >> PBPHPINI 134 fi 132 135 133 136 # Add apache config for fossology (described in detail in section 2.1.6) - done in install -
projects/fossology/pbconf/trunk/pbfilter/fedora.pbf
r603 r610 17 17 18 18 # PBBUILDDEP is replaced by the list of build dependencies 19 filter PBBUILDDEP = libextractor-devel file-libs 19 filter PBBUILDDEP = libextractor-devel file-libs file-devel 20 20 21 21 # PBSUF is replaced by the package suffix ($pbsuf'} in code) -
projects/fossology/pbconf/trunk/pbfilter/md.pbf
r603 r610 11 11 12 12 # PBBUILDDEP is replaced by the list of build dependencies 13 filter PBBUILDDEP = perl-Text-Template subversion libextractor-devel 13 filter PBBUILDDEP = perl-Text-Template subversion libextractor-devel libmagic-devel 14 14 15 PBPHPINI = /etc/php.ini -
projects/fossology/pbconf/trunk/pbfilter/rhel.pbf
r603 r610 17 17 18 18 # PBBUILDDEP is replaced by the list of build dependencies 19 filter PBBUILDDEP = perl-Text-Template subversion file-libs 19 filter PBBUILDDEP = perl-Text-Template subversion file-libs file 20 20 21 21 # PBSUF is replaced by the package suffix ($pbsuf'} in code) -
projects/fossology/pbconf/trunk/pbfilter/rpm.pbf
r602 r610 15 15 16 16 # PBBUILDDEP is replaced by the list of build dependencies 17 filter PBBUILDDEP = postgresql-devel file-libs libxml217 filter PBBUILDDEP = 18 18 19 19 # PBSUF is replaced by the package suffix ($pb->{'suf'} in code) … … 23 23 #filter PBOBS = 24 24 25 PBPHPINI = /etc/php.ini
Note:
See TracChangeset
for help on using the changeset viewer.