diff --git a/.cvsignore b/.cvsignore index e69de29..e858ef6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tinyows_0-6-0.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..d88c536 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +tinyows-0_6_0-3_fc11:HEAD:tinyows-0.6.0-3.fc11.src.rpm:1231139376 diff --git a/no_date_footer.html b/no_date_footer.html new file mode 100644 index 0000000..3d46190 --- /dev/null +++ b/no_date_footer.html @@ -0,0 +1,7 @@ +
+Generated for $projectname by doxygen +$doxygenversion
+ + + diff --git a/sources b/sources index e69de29..79f7894 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ad36de642d087e9881dadef585f9e440 tinyows_0-6-0.tar.bz2 diff --git a/tinyows.spec b/tinyows.spec new file mode 100644 index 0000000..1f69dcf --- /dev/null +++ b/tinyows.spec @@ -0,0 +1,80 @@ +Name: tinyows +Version: 0.6.0 +Release: 3%{?dist} +Summary: WFS-T and FE implementation server + +Group: Applications/Publishing +License: MIT +URL: http://www.tinyows.org +Source0: http://tinyows.org/tracdocs/release/%{name}_0-6-0.tar.bz2 +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 +%setup -q -n %{name} + +# clean SVN +find . -type d -name .svn -exec rm -rf '{}' + + +%build + +%configure --enable-api + +# fix datadir lookup path +sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h + +# 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} +install -p -m 0644 config.xml %{buildroot}%{_sysconfdir}/%{name} +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 +* Mon Jan 05 2009 Balint Cristian - 0.6.0-3 +- initial import + +* Thu Sep 25 2008 Balint Cristian - 0.6.0-2 +- shorter summary description + +* Thu Sep 25 2008 Balint Cristian - 0.6.0-1 +- initial package for fedora