2009-01-05 07:10:11 +00:00
|
|
|
Name: tinyows
|
2010-06-07 20:31:11 +00:00
|
|
|
Version: 0.8.0
|
2010-03-18 05:36:22 +00:00
|
|
|
Release: 1%{?dist}
|
2009-01-05 07:10:11 +00:00
|
|
|
Summary: WFS-T and FE implementation server
|
|
|
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.tinyows.org
|
2010-06-07 20:31:11 +00:00
|
|
|
Source0: http://tinyows.org/tracdocs/release/%{name}-%{version}.tar.bz2
|
2009-01-05 07:10:11 +00:00
|
|
|
Source1: no_date_footer.html
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: httpd
|
|
|
|
|
|
|
|
BuildRequires: ctags indent doxygen valgrind
|
|
|
|
BuildRequires: libxml2-devel postgresql-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
TinyOWS server implements latest WFS-T standard versions,
|
|
|
|
as well as related standards such as Filter Encoding (FE).
|
|
|
|
|
|
|
|
%prep
|
2010-06-07 20:31:11 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2009-01-05 07:10:11 +00:00
|
|
|
|
|
|
|
# clean SVN
|
|
|
|
find . -type d -name .svn -exec rm -rf '{}' +
|
|
|
|
|
|
|
|
%build
|
2010-06-07 20:31:11 +00:00
|
|
|
autoconf
|
|
|
|
%configure
|
2009-01-05 07:10:11 +00:00
|
|
|
|
|
|
|
# fix datadir lookup path
|
|
|
|
sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h
|
2010-03-18 05:36:22 +00:00
|
|
|
# fix DSO lookup
|
|
|
|
sed -i -e 's|-lpq|-lpq -lm|' Makefile
|
|
|
|
|
2009-01-05 07:10:11 +00:00
|
|
|
|
|
|
|
# WARNING
|
|
|
|
# disable %{?_smp_mflags}
|
|
|
|
# it breaks compile
|
|
|
|
make
|
|
|
|
|
|
|
|
# disable timestamp inside docs
|
|
|
|
sed -i -e 's|HTML_FOOTER|HTML_FOOTER=no_date_footer.html\n\#|g' doc/Doxyfile
|
|
|
|
make doxygen
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
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}
|
2010-06-07 20:31:11 +00:00
|
|
|
install -p -m 0644 demo/config.xml %{buildroot}%{_sysconfdir}/%{name}
|
2009-01-05 07:10:11 +00:00
|
|
|
pushd %{buildroot}%{_datadir}/%{name}/
|
|
|
|
ln -s ../../../%{_sysconfdir}/%{name}/config.xml config.xml
|
|
|
|
popd
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
make %{?_smp_mflags} valgrind || true
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE README VERSION
|
|
|
|
%doc doc/doxygen
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/config.xml
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|
2010-06-07 20:31:11 +00:00
|
|
|
* Mon Jun 07 2010 Balint Cristian <cristian.balint@gmail.com> - 0.8.0-1
|
|
|
|
- new upstream
|
|
|
|
|
2010-03-18 05:36:22 +00:00
|
|
|
* Thu Mar 18 2010 Balint Cristian <rezso@rdsor.ro> - 0.7.0-1
|
|
|
|
- new upstream
|
|
|
|
|
2009-07-27 05:59:17 +00:00
|
|
|
* 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
|
|
|
|
|
2009-02-25 20:50:35 +00:00
|
|
|
* 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
|
|
|
|
|
2009-01-05 07:10:11 +00:00
|
|
|
* 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
|