generated from demus/basic-rpm-template
49 lines
1.0 KiB
RPMSpec
49 lines
1.0 KiB
RPMSpec
%global forgeurl https://gitlab.com/davical-project/awl
|
|
|
|
%define realname awl
|
|
Name: php-%{realname}
|
|
Summary: Andrew's Web Libraries - PHP Utility Libraries
|
|
Version: 0.65
|
|
%global tag r%{version}
|
|
Release: %autorelease
|
|
|
|
%forgemeta
|
|
|
|
Group: Development/Libraries
|
|
License: GPL
|
|
URL: %{forgeurl}
|
|
Source: %{forgesource}
|
|
BuildRequires: rpm_macro(forgemeta) rpm_macro(forgesetup) demus-packaging make doxygen
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
This package contains Andrew's Web Libraries. This is a set
|
|
of hopefully lightweight libraries for handling a variety of
|
|
useful things for web programming, including:
|
|
- Session management
|
|
- User management
|
|
- DB Records
|
|
- Simple reporting
|
|
- DB Schema Updating
|
|
- iCalendar parsing
|
|
|
|
%prep
|
|
%verify_source_checksum
|
|
%forgesetup
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
rm inc/AWLUtilities.php.in
|
|
mkdir -p %{buildroot}/%{_datadir}/php/%{realname}
|
|
cp -a dba inc %{buildroot}/%{_datadir}/php/%{realname}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/php/%{realname}
|
|
%doc README
|
|
|
|
%changelog
|
|
%autochangelog
|