Compare commits
10 Commits
86c2d345aa
...
24d968384b
Author | SHA1 | Date | |
---|---|---|---|
24d968384b | |||
230a701111 | |||
|
9eb418b7fa | ||
|
e603e66d3c | ||
|
9d1d5e359a | ||
|
a36fb0d20d | ||
|
4caedb93ab | ||
|
d40f79fbdc | ||
|
d43802f2d9 | ||
|
d930a3f5da |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/tinyows-1.2.2.tar.gz
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: tinyows
|
|
||||||
# $Id$
|
|
||||||
NAME := tinyows
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
23
changelog
Normal file
23
changelog
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
* Tue Aug 20 2024 Neil Hanlon <neil@shrug.pw> - 1.2.2-1
|
||||||
|
- update to 1.2.2 for re-review
|
||||||
|
|
||||||
|
* Mon Jun 07 2010 Balint Cristian <cristian.balint@gmail.com> - 0.8.0-1
|
||||||
|
- new upstream
|
||||||
|
|
||||||
|
* Thu Mar 18 2010 Balint Cristian <rezso@rdsor.ro> - 0.7.0-1
|
||||||
|
- new upstream
|
||||||
|
|
||||||
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 05 2009 Balint Cristian <rezso@rdsor.ro> - 0.6.0-3
|
||||||
|
- initial import
|
||||||
|
|
||||||
|
* Thu Sep 25 2008 Balint Cristian <rezso@rdsor.ro> - 0.6.0-2
|
||||||
|
- shorter summary description
|
||||||
|
|
||||||
|
* Thu Sep 25 2008 Balint Cristian <rezso@rdsor.ro> - 0.6.0-1
|
||||||
|
- initial package for fedora
|
6
no_date_footer.html
Normal file
6
no_date_footer.html
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<hr size="1"><address style="text-align: right;"><small>
|
||||||
|
Generated for $projectname by <a href="http://www.doxygen.org/
|
||||||
|
index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
|
||||||
|
$doxygenversion</small></address>
|
||||||
|
</body>
|
||||||
|
</html>
|
1
sources
1
sources
@ -0,0 +1 @@
|
|||||||
|
SHA512 (tinyows-1.2.2.tar.gz) = 21982bf1b6ae937969f9023a6e10fa354d7e626eec05340c7fce6d0b6704d45472798385cf25301847f94a0842ea5455b0d0989d061f46a6052f2ef63b6e60e8
|
96
tinyows.spec
Normal file
96
tinyows.spec
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
%global project_owner MapServer
|
||||||
|
%global project_name tinyows
|
||||||
|
|
||||||
|
Name: tinyows
|
||||||
|
Version: 1.2.2
|
||||||
|
Release: %autorelease
|
||||||
|
Summary: WFS-T and FE implementation server
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://mapserver.org/tinyows/
|
||||||
|
|
||||||
|
Source0: https://github.com/%{project_owner}/%{project_name}/archive/v%{version}/%{project_name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
Source1: no_date_footer.html
|
||||||
|
|
||||||
|
Requires: httpd
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: ctags
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: indent
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: libfl-static
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: postgis
|
||||||
|
BuildRequires: postgis-client
|
||||||
|
BuildRequires: postgresql-devel
|
||||||
|
|
||||||
|
%ifarch %valgrind_arches
|
||||||
|
BuildRequires: valgrind-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
TinyOWS server implements latest WFS-T standard versions,
|
||||||
|
as well as related standards such as Filter Encoding (FE).
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation files for TinyOWS Server
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
TinyOWS server implements latest WFS-T standard versions,
|
||||||
|
as well as related standards such as Filter Encoding (FE).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
# clean SVN
|
||||||
|
find . -type d -name .svn -exec rm -rf '{}' +
|
||||||
|
|
||||||
|
# copy no_date_footer.html in
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoconf
|
||||||
|
%configure
|
||||||
|
|
||||||
|
# fix datadir lookup path
|
||||||
|
sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h
|
||||||
|
# fix DSO lookup
|
||||||
|
sed -i -e 's|-lpq|-lpq -lm|' Makefile
|
||||||
|
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
# disable timestamp inside docs
|
||||||
|
sed -i -e 's|HTML_FOOTER|HTML_FOOTER=no_date_footer.html\n\#|g' doc/Doxyfile
|
||||||
|
make doxygen
|
||||||
|
|
||||||
|
%install
|
||||||
|
|
||||||
|
install -d %{buildroot}%{_bindir}
|
||||||
|
install -p -m 0755 tinyows %{buildroot}%{_bindir}/
|
||||||
|
install -d %{buildroot}%{_datadir}/%{name}
|
||||||
|
cp -pR schema %{buildroot}%{_datadir}/%{name}/
|
||||||
|
install -d %{buildroot}%{_sysconfdir}/%{name}
|
||||||
|
install -p -m 0644 ms4w/apps/tinyows-svn/config.xml %{buildroot}%{_sysconfdir}/%{name}
|
||||||
|
|
||||||
|
ln -s --relative %{buildroot}%{_sysconfdir}/%{name}/config.xml %{buildroot}%{_datadir}/%{name}/
|
||||||
|
|
||||||
|
# NOTE(neil): 2024-08-25 tests require a postgres database running; unable to run in check
|
||||||
|
# https://github.com/MapServer/tinyows/blob/f1dc7bc86fc4d69faddd79ed2804d98c11802ba8/.github/workflows/linux.sh#L19-L22
|
||||||
|
%dnl %check
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE.md schema/LICENSE
|
||||||
|
%doc README.md VERSION.md
|
||||||
|
%doc doc/doxygen
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%dir %{_sysconfdir}/%{name}
|
||||||
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/config.xml
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
|
%autochangelog
|
Loading…
x
Reference in New Issue
Block a user