Subversion Repositories php-qbpwcf

Rev

Rev 348 | Rev 355 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 liveuser 1
Name:           php-qbpwcf
2
 
3
#版本號不能含有"-"的符號
353 liveuser 4
Version:        alpha.v20260614.2
3 liveuser 5
 
6
#發行版次。初始值一般都應該是 1o/o{?dist}。每次新發行同版本軟體的軟體包就遞增一個數字。若上游發行新的版本,就對應修改 Version 標籤,然後把 Release 發行版次重設回 1 
7
Release:        1%{?dist}
8
Summary:        PHP libary for quick build php website based on Fedora Linux(a.k.a. ,Low code platform library).
9
 
10
License:        GPL-3.0-or-later
11
 
12
#專案的網站
13
URL:            https://sourceforge.net/projects/qbpwc
14
 
15
#原始碼檔案的下載位置
16
Source0:        https://lib.qbpwcf.org/%{name}-%{version}.tar.zst 
17
 
18
#編譯該程式需要有哪些套件有安裝
47 liveuser 19
BuildRequires:  php,php-cli,php-json,php-soap,php-xml,uuid,net-tools,php-tcpdf,php-gd,php-process,nmap,httpd,mod_ssl,faad2-libs,libkadm5,php-pear,php-pear-Auth-SASL,php-pear-Net-SMTP,php-pear-Net-Socket,php-pecl-krb5
3 liveuser 20
 
21
#安裝該軟體需要有哪些套件 
243 liveuser 22
Requires:       php,php-cli,php-json,php-soap,php-xml,uuid,net-tools,php-tcpdf,php-gd,php-process,nmap,httpd,mod_ssl,faad2-libs,libkadm5,php-pear,php-pear-Auth-SASL,php-pear-Net-SMTP,php-pear-Net-Socket,php-pecl-krb5,mariadb,mariadb-server,phpMyAdmin,NetworkManager,liberation-mono-fonts
3 liveuser 23
 
24
#don't generate debug files
25
%global _enable_debug_package 0
26
%global debug_package %{nil}
27
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
28
 
29
%description
323 liveuser 30
PHP libary for quick build php not only web-based application on Fedora Linux(a.k.a. ,Low code platform library).
3 liveuser 31
 
32
#prep contains a shell script for preparing the sources for building.
33
#It is often just the single macro autosetup, which, in this case, simply extracts the source.
34
%prep
35
%autosetup
36
 
37
%build
38
%configure
39
 
40
#不需要編譯,所以不用 marco make_build
41
#make_buid
42
 
43
%install
44
 
45
#don't generate debug files
46
export DONT_STRIP=1
47
 
48
#makefile 中的 install 規則,要可以接收 "DESTDIR=" 跟 "INSTALL=" 開頭的參數.
49
%make_install
50
 
51
%files
52
 
134 liveuser 53
#files will place to /usr/lib/
54
%{_libdir}/*
113 liveuser 55
 
3 liveuser 56
#files will place to /usr/bin/
57
%{_bindir}/*
58
 
95 liveuser 59
#files will place to /usr/share/
60
%{_datadir}/*
61
 
3 liveuser 62
#file will place to /etc/
63
%{_sysconfdir}/*
64
 
65
#file will place to /var/
66
%{_localstatedir}/*
212 liveuser 67
 
68
#fix permission and owner of qbpwcf home path
216 liveuser 69
%attr(771, qbpwcf, qbpwcf) %{_localstatedir}/qbpwcf/home
70
%attr(771, qbpwcf, qbpwcf) %{_localstatedir}/qbpwcf/home/php
71
%attr(771, qbpwcf, qbpwcf) %{_localstatedir}/qbpwcf/home/php/session
212 liveuser 72
 
3 liveuser 73
%doc Release_Note
74
 
75
%changelog
76
%autochangelog
77
 
78
%readme
79
README
80
 
81
%licese
212 liveuser 82
License
83