| 3 |
liveuser |
1 |
Name: php-qbpwcf
|
|
|
2 |
|
|
|
3 |
#版本號不能含有"-"的符號
|
| 299 |
liveuser |
4 |
Version: alpha.v20260312.1
|
| 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 |
#跟處理器架構無關
|
| 230 |
liveuser |
25 |
BuildArch: noarch
|
| 3 |
liveuser |
26 |
|
|
|
27 |
#x86_64 cpu required
|
| 230 |
liveuser |
28 |
#BuildArch: x86_64
|
| 3 |
liveuser |
29 |
|
|
|
30 |
#don't generate debug files
|
|
|
31 |
%global _enable_debug_package 0
|
|
|
32 |
%global debug_package %{nil}
|
|
|
33 |
%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
|
|
|
34 |
|
|
|
35 |
%description
|
|
|
36 |
PHP libary for quick build php website based on Fedora Linux(a.k.a. ,Low code platform library).
|
|
|
37 |
|
|
|
38 |
#prep contains a shell script for preparing the sources for building.
|
|
|
39 |
#It is often just the single macro autosetup, which, in this case, simply extracts the source.
|
|
|
40 |
%prep
|
|
|
41 |
%autosetup
|
|
|
42 |
|
|
|
43 |
%build
|
|
|
44 |
%configure
|
|
|
45 |
|
|
|
46 |
#不需要編譯,所以不用 marco make_build
|
|
|
47 |
#make_buid
|
|
|
48 |
|
|
|
49 |
%install
|
|
|
50 |
|
|
|
51 |
#don't generate debug files
|
|
|
52 |
export DONT_STRIP=1
|
|
|
53 |
|
|
|
54 |
#makefile 中的 install 規則,要可以接收 "DESTDIR=" 跟 "INSTALL=" 開頭的參數.
|
|
|
55 |
%make_install
|
|
|
56 |
|
|
|
57 |
%files
|
|
|
58 |
|
| 134 |
liveuser |
59 |
#files will place to /usr/lib/
|
|
|
60 |
%{_libdir}/*
|
| 113 |
liveuser |
61 |
|
|
|
62 |
#files will place to /usr/lib64/
|
| 134 |
liveuser |
63 |
/usr/lib64/*
|
| 3 |
liveuser |
64 |
|
|
|
65 |
#files will place to /usr/bin/
|
|
|
66 |
%{_bindir}/*
|
|
|
67 |
|
| 95 |
liveuser |
68 |
#files will place to /usr/share/
|
|
|
69 |
%{_datadir}/*
|
|
|
70 |
|
| 3 |
liveuser |
71 |
#file will place to /etc/
|
|
|
72 |
%{_sysconfdir}/*
|
|
|
73 |
|
|
|
74 |
#file will place to /var/
|
|
|
75 |
%{_localstatedir}/*
|
| 212 |
liveuser |
76 |
|
|
|
77 |
#fix permission and owner of qbpwcf home path
|
| 216 |
liveuser |
78 |
%attr(771, qbpwcf, qbpwcf) %{_localstatedir}/qbpwcf/home
|
|
|
79 |
%attr(771, qbpwcf, qbpwcf) %{_localstatedir}/qbpwcf/home/php
|
|
|
80 |
%attr(771, qbpwcf, qbpwcf) %{_localstatedir}/qbpwcf/home/php/session
|
| 212 |
liveuser |
81 |
|
| 3 |
liveuser |
82 |
%doc Release_Note
|
|
|
83 |
|
|
|
84 |
%changelog
|
|
|
85 |
%autochangelog
|
|
|
86 |
|
|
|
87 |
%readme
|
|
|
88 |
README
|
|
|
89 |
|
|
|
90 |
%licese
|
| 212 |
liveuser |
91 |
License
|
|
|
92 |
|