From 3dc162b41a6798f3dd88ec0c005a9cfdc7beb2b4 Mon Sep 17 00:00:00 2001 From: Daniel Demus Date: Sat, 25 Jul 2026 01:22:50 +0200 Subject: [PATCH] Initial spec file --- .gitignore | 4 ++++ php-awl.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+) create mode 100644 php-awl.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index 1a000a8..ae82de5 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,7 @@ msbuild.wrn # Visual Studio 2015 .vs/ + +RPMS/ +BUILD/ +SRPMS/ diff --git a/php-awl.spec b/php-awl.spec new file mode 100644 index 0000000..8295c38 --- /dev/null +++ b/php-awl.spec @@ -0,0 +1,49 @@ +%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: 9%{?dist} + +%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 +* Tue Feb 22 2011 Felix Möller - 0.46 +- Initial version of AWL package diff --git a/sources b/sources new file mode 100644 index 0000000..920e0f8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (awl-r0.65.tar.bz2) = e8a518258a1b2d47678014a608e2eb3ac607a0389c847e6109f4298e993cc92a05269c2294e7b98877b22c46ac0de730a409fa5c6cda3e9240b2beef493fe010