Handle htmlspecialchars() differences between PHP < 5.4 vs >= 5.4
[awl.git] / php-awl.spec
bloba911a7fbc28192806f73dddf6ace4bbc85edfb3f
1 %define snapshot 0
2 %define gitrev 0
3 %if %{snapshot}
4 %define snapshotversionstring .%{gitrev}git
5 %define snapshotpackagestring -git%{gitrev}
6 %endif
8 %define realname awl
9 Name: php-%{realname}
10 Summary: Andrew's Web Libraries - PHP Utility Libraries
11 Version: 0.54
12 Release: 9%{?snapshotversionstring}%{?dist}
13 Group: Development/Libraries
14 License: GPL
15 Source: http://debian.mcmillan.net.nz/packages/awl/awl-%{version}%{?snapshotpackagestring}.tar.gz
16 URL: http://andrew.mcmillan.net.nz/projects/awl
17 BuildArch: noarch
19 %description
20 This package contains Andrew's Web Libraries. This is a set
21 of hopefully lightweight libraries for handling a variety of
22 useful things for web programming, including:
23 - Session management
24 - User management
25 - DB Records
26 - Simple reporting
27 - DB Schema Updating
28 - iCalendar parsing
30 %prep
31 %setup -q -n "%{realname}-%{version}%{?snapshotpackagestring}"
33 %build
34 make
36 %install
37 rm inc/AWLUtilities.php.in
38 mkdir -p %{buildroot}/%{_datadir}/php/%{realname}
39 cp -a dba inc %{buildroot}/%{_datadir}/php/%{realname}
41 %files
42 %defattr(-,root,root)
43 %{_datadir}/php/%{realname}
44 %doc README
46 %changelog
47 * Tue Feb 22 2011 Felix Möller <mail@felixmoeller.de> - 0.46
48 - Initial version of AWL package