diff options
author | Volker Fröhlich <volker27@gmx.at> | 2011-04-15 10:21:37 +0200 |
---|---|---|
committer | Volker Fröhlich <volker27@gmx.at> | 2011-04-15 10:21:37 +0200 |
commit | c18304aa6f38ddb3ed14ae0c2033ff511b73c249 (patch) | |
tree | 7dcf5c34a15ee2d9a570aa68b406a2f3031e3292 /unfinished | |
download | repo-c18304aa6f38ddb3ed14ae0c2033ff511b73c249.tar.gz repo-c18304aa6f38ddb3ed14ae0c2033ff511b73c249.tar.xz repo-c18304aa6f38ddb3ed14ae0c2033ff511b73c249.zip |
Diffstat (limited to 'unfinished')
32 files changed, 3009 insertions, 0 deletions
diff --git a/unfinished/dispcalgui.spec b/unfinished/dispcalgui.spec new file mode 100644 index 0000000..3af0601 --- /dev/null +++ b/unfinished/dispcalgui.spec @@ -0,0 +1,76 @@ +%global capname dispcalGUI + +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + +Name: dispcalgui +Version: 0.6.6.7 +Release: 1%{?dist} +Summary: Graphical frontend for Argyll CMS + +Group: Applications/Desktop +License: GPLv3 +URL: http://dispcalgui.hoech.net/ +#Source falsch +Source0: http://dispcalgui.hoech.net/%{capname}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +#BuildArch: noarch +BuildRequires: python + +%description +DispcalGUI is a graphical frontend for several utilities from the open source +color management system Argyll CMS by Graeme W. Gill, specifically dispcal, +dispread, colprof and dispwin, which when used together allow you to calibrate +and profile your display using a measurement device + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development package for %{name} + +%prep +%setup -q -n %{capname}-%{version} + + +%build +%{__python} setup.py build + + +%install +%{__python} setup.py install --root %{buildroot} +pushd %{buildroot} +rm -rf home +popd + + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt README.html +%{_bindir}/* +%{_mandir}/man1/* +%{_datadir}/%{capname} +%{_datadir}/icons/* +%{_defaultdocdir}/%{capname}-%{version} +%{python_sitearch}/* +%{_sysconfdir}/* +%{_desktopdir}/* + +%files devel +%defattr(-,root,root,-) + +%changelog + +* Thu Dec 23 2010 Volker Fröhlich <volker27@gmx.at> - 0.6.6.7-1 +- Initial packaging diff --git a/unfinished/gdal-grass.spec b/unfinished/gdal-grass.spec new file mode 100644 index 0000000..eae5fa6 --- /dev/null +++ b/unfinished/gdal-grass.spec @@ -0,0 +1,92 @@ +%define grasspath %{_libdir}/grass-6.3.0 + +Name: gdal-grass +Version: 1.4.3 +Release: 3%{?dist} +Summary: Standalone GRASS 6 Drivers for GDAL and OGR + +Group: Applications/Engineering +License: MIT +URL: http://www.gdal.org/ +Source0: http://download.osgeo.org/gdal/%{name}-%{version}.tar.gz +#Patch0: gdal-grass-1.4.3-ldflags.patch +#Patch1: gdal-grass-1.4.3-prefix.patch +Patch2: gdal-grass-1.4.3-ln.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: grass +BuildRequires: grass-devel +BuildRequires: proj-devel +BuildRequires: zlib-devel +BuildRequires: gdal-devel + +%description +This package contains standalone drivers for GRASS raster and vector +files that can be built after GDAL has been built and installed as an +"autoload" driver. + +This is particularly useful in resolving problems with GRASS depending +on GDAL, but GDAL with GRASS support depending on GRASS. With this +package you can configure and install GDAL normally (--without-grass), then +build and install GRASS normally and finally build and install this driver. + +%prep +%setup -q +#%patch0 -p0 -b .ldflags +#%patch1 -p0 -b .prefix +%patch2 -p1 -b .ln + +%build +%configure \ + --enable-shared \ + --with-grass=%{grasspath} \ + --with-autoload=%{_libdir}/%{name}/plugins \ + --with-gdal=%{_bindir}/gdal-config-64 + #TODO: Achtung 64 + +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +# make plugin available on system +install -d %{buildroot}/etc/ld.so.conf.d +install -d %{buildroot}/etc/profile.d +echo "%{_libdir}/gdal-grass/plugins" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/gdal-grass.conf +echo "export GDAL_DRIVER_PATH=%{_libdir}/gdal-grass/plugins" > %{buildroot}/%{_sysconfdir}/profile.d/gdal-grass.sh + +%clean +rm -rf %{buildroot} + +%post +/sbin/ldconfig +echo -e "\e[0;34mPlease \e[0;31mlogout and login \e[0;34magain or \ +run \e[0;31mexport GDAL_DRIVER_PATH=%{_libdir}/gdal-grass/plugins \ +\e[0;34mto set the plugin path. To verify the installation run \ +\e[0;31mgdal_translate --formats | grep -i grass. \e[0;34mThis should \ +return something similar to \e[0;31mGRASS (ro): GRASS Database Rasters \ +(5.7+)\e[0m" + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/%{name} +%{_sysconfdir}/ld.so.conf.d/gdal-grass.conf +%{_sysconfdir}/profile.d/gdal-grass.sh + +%changelog +* Thu Mar 31 2011 Volker Fröhlich <volker27@gmx.at> - 1.4.3-3 +- Removed implicit BRs and Rs +- Use symlinks instead of copying files from GRASS + +* Sat Dec 04 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.4.3-2 +- Updated the description +- Dropped unwanted BRs +- Removed %%doc, no specific documentation available +- Used macros instead of some static paths +- Used Wiledcard syntax to avoid version conflicts + +* Wed Nov 24 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.4.3-1 +-Initial Build diff --git a/unfinished/gdal-grass.spec.alt b/unfinished/gdal-grass.spec.alt new file mode 100644 index 0000000..ed62db5 --- /dev/null +++ b/unfinished/gdal-grass.spec.alt @@ -0,0 +1,104 @@ +%define grasspath %{_libdir}/grass-6.4.0 + +Name: gdal-grass +Version: 1.4.3 +Release: 1%{?dist} +Summary: Standalone GRASS 6 Drivers for GDAL and OGR + +Group: Applications/Engineering +License: MIT +URL: http://www.gdal.org/ +Source0: http://download.osgeo.org/gdal/%{name}-%{version}.tar.gz +Patch0: gdal-grass-1.4.3-ldflags.patch +Patch1: gdal-grass-1.7.3-prefix.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: grass >= 6.3.0 +Requires: grass-libs >= 6.3.0 +Requires: proj >= 4.5.0 +Requires: zlib >= 1.2.3 +Requires: gdal >= 1.6.0 +BuildRequires: grass >= 6.3 +BuildRequires: grass-libs >= 6.3 +BuildRequires: grass-devel >= 6.3 +BuildRequires: proj-devel >= 4.5.0 +BuildRequires: zlib-devel >= 1.2.3 +BuildRequires: gdal-devel >= 1.6.0 + +%description +This package contains standalone drivers for GRASS raster and vector +files that can be built after GDAL has been built and installed as an +"autoload" driver. + +This is particularly useful in resolving problems with GRASS depending +on GDAL, but GDAL with GRASS support depending on GRASS. With this +package you can configure and install GDAL normally (--without-grass), then +build and install GRASS normally and finally build and install this driver. + +To build this driver it is necessary for it to find GDAL and GRASS support +files. + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p0 -b .ldflags +%patch1 -p0 -b .prefix + +%build +%configure \ + --enable-shared \ + --with-grass=%{grasspath} \ + --with-autoload=%{_libdir}/gdal-grass/plugins \ + --with-gdal=/usr/bin/gdal-config + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# make plugin available on system +install -d %{buildroot}/etc/ld.so.conf.d +install -d %{buildroot}/etc/profile.d +echo "%{_libdir}/gdal-grass/plugins" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/gdal-grass.conf +echo "export GDAL_DRIVER_PATH=%{_libdir}/gdal-grass/plugins" > %{buildroot}/%{_sysconfdir}/profile.d/gdal-grass.sh + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig +if [ -d %{_libdir}/grass-*/driver/db ] ; then + cp -a %{_libdir}/grass-*/driver/db %{_libdir}/gdal-grass/driver/ +fi +if [ -f %{_libdir}/grass-*/etc/ellipse.table ]; then + cp -p %{_libdir}/grass-*/etc/ellipse.table %{_libdir}/gdal-grass/etc/ +fi +if [ -f %{_libdir}/grass-*/etc/datum.table ]; then + cp -p %{_libdir}/grass-*/etc/datum.table %{_libdir}/gdal-grass/etc/ +fi +if [ -f %{_libdir}/grass-*/etc/datumtransform.table ]; then + cp -p %{_libdir}/grass-*/etc/datumtransform.table %{_libdir}/gdal-grass/etc/ +fi +echo -e "\e[0;34mPlease \e[0;31mlogout and login \e[0;34magain or \ +run \e[0;31mexport GDAL_DRIVER_PATH=%{_libdir}/gdal-grass/plugins \ +\e[0;34mto set the plugin path. To verify the installation run \ +\e[0;31mgdal_translate --formats | grep -i grass. \e[0;34mThis should \ +return something similar to \e[0;31mGRASS (ro): GRASS Database Rasters \ +(5.7+)\e[0m" + +%postun +rm -rf %{_libdir}/gdal-grass +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/gdal-grass/plugins/*.so +%{_libdir}/gdal-grass/etc/ +%{_libdir}/gdal-grass/driver/ +%{_sysconfdir}/ld.so.conf.d/gdal-grass.conf +%{_sysconfdir}/profile.d/gdal-grass.sh +%doc README + +%changelog +* Wed Nov 24 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.4.3-1 +-Initial Build diff --git a/unfinished/gdal-grass.volker.spec b/unfinished/gdal-grass.volker.spec new file mode 100644 index 0000000..ed62db5 --- /dev/null +++ b/unfinished/gdal-grass.volker.spec @@ -0,0 +1,104 @@ +%define grasspath %{_libdir}/grass-6.4.0 + +Name: gdal-grass +Version: 1.4.3 +Release: 1%{?dist} +Summary: Standalone GRASS 6 Drivers for GDAL and OGR + +Group: Applications/Engineering +License: MIT +URL: http://www.gdal.org/ +Source0: http://download.osgeo.org/gdal/%{name}-%{version}.tar.gz +Patch0: gdal-grass-1.4.3-ldflags.patch +Patch1: gdal-grass-1.7.3-prefix.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: grass >= 6.3.0 +Requires: grass-libs >= 6.3.0 +Requires: proj >= 4.5.0 +Requires: zlib >= 1.2.3 +Requires: gdal >= 1.6.0 +BuildRequires: grass >= 6.3 +BuildRequires: grass-libs >= 6.3 +BuildRequires: grass-devel >= 6.3 +BuildRequires: proj-devel >= 4.5.0 +BuildRequires: zlib-devel >= 1.2.3 +BuildRequires: gdal-devel >= 1.6.0 + +%description +This package contains standalone drivers for GRASS raster and vector +files that can be built after GDAL has been built and installed as an +"autoload" driver. + +This is particularly useful in resolving problems with GRASS depending +on GDAL, but GDAL with GRASS support depending on GRASS. With this +package you can configure and install GDAL normally (--without-grass), then +build and install GRASS normally and finally build and install this driver. + +To build this driver it is necessary for it to find GDAL and GRASS support +files. + +%prep +%setup -q -n %{name}-%{version} +%patch0 -p0 -b .ldflags +%patch1 -p0 -b .prefix + +%build +%configure \ + --enable-shared \ + --with-grass=%{grasspath} \ + --with-autoload=%{_libdir}/gdal-grass/plugins \ + --with-gdal=/usr/bin/gdal-config + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +# make plugin available on system +install -d %{buildroot}/etc/ld.so.conf.d +install -d %{buildroot}/etc/profile.d +echo "%{_libdir}/gdal-grass/plugins" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/gdal-grass.conf +echo "export GDAL_DRIVER_PATH=%{_libdir}/gdal-grass/plugins" > %{buildroot}/%{_sysconfdir}/profile.d/gdal-grass.sh + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig +if [ -d %{_libdir}/grass-*/driver/db ] ; then + cp -a %{_libdir}/grass-*/driver/db %{_libdir}/gdal-grass/driver/ +fi +if [ -f %{_libdir}/grass-*/etc/ellipse.table ]; then + cp -p %{_libdir}/grass-*/etc/ellipse.table %{_libdir}/gdal-grass/etc/ +fi +if [ -f %{_libdir}/grass-*/etc/datum.table ]; then + cp -p %{_libdir}/grass-*/etc/datum.table %{_libdir}/gdal-grass/etc/ +fi +if [ -f %{_libdir}/grass-*/etc/datumtransform.table ]; then + cp -p %{_libdir}/grass-*/etc/datumtransform.table %{_libdir}/gdal-grass/etc/ +fi +echo -e "\e[0;34mPlease \e[0;31mlogout and login \e[0;34magain or \ +run \e[0;31mexport GDAL_DRIVER_PATH=%{_libdir}/gdal-grass/plugins \ +\e[0;34mto set the plugin path. To verify the installation run \ +\e[0;31mgdal_translate --formats | grep -i grass. \e[0;34mThis should \ +return something similar to \e[0;31mGRASS (ro): GRASS Database Rasters \ +(5.7+)\e[0m" + +%postun +rm -rf %{_libdir}/gdal-grass +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/gdal-grass/plugins/*.so +%{_libdir}/gdal-grass/etc/ +%{_libdir}/gdal-grass/driver/ +%{_sysconfdir}/ld.so.conf.d/gdal-grass.conf +%{_sysconfdir}/profile.d/gdal-grass.sh +%doc README + +%changelog +* Wed Nov 24 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.4.3-1 +-Initial Build diff --git a/unfinished/gpstk.spec b/unfinished/gpstk.spec new file mode 100644 index 0000000..991a36b --- /dev/null +++ b/unfinished/gpstk.spec @@ -0,0 +1,113 @@ +Name: gpstk +Version: 1.7 +Release: 0.1.RC%{?dist} +Summary: The GPS Toolkit + +Group: Applications/Engineering +License: LGPLv2+ +URL: http://www.gpstk.org/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-RC.src.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: jam +BuildRequires: libtool +BuildRequires: doxygen +#BuildRequires: gtkmm24-devel +#BuildRequires: libglademm24-devel +#BuildRequires: gconfmm26-devel +BuildRequires: zlib-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: ncurses-devel + + +%description +Algorithms and frameworks supporting the development of processing +and analysis applications in navigation and global positioning. + +%package devel +Summary: Development files for GPSTk +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development files for the GPS Toolkit. + + +%package docs +Summary: Documentation for GPSTk +Group: Documentation + +%description docs +This package contains the HTML documentation files for the GPS Toolkit. + + +%prep +%setup -q -n %{name}-%{version}-RC + + +%build +./autogen.sh +%configure --prefix=%{_prefix} + +#doxygen +jam -j %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +jam -s PREFIX=%{buildroot}%{_prefix} install + +# Jam installs everything in /lib, but 64-bit libraries should be in /lib64 +%if "%{_lib}" == "lib64" +mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} +%endif + +# Remove libtool archives +rm %{buildroot}/%{_libdir}/*.a + +# ldconfig in post is not enough for some reason +pushd %{buildroot}%{_libdir} + find . -name '*.so.17.0' -print 2>/dev/null -exec chmod 755 {} \; + ldconfig -n . +popd + +# TODO: Tests? + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_bindir}/* +%{_libdir}/* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/ + +%files docs +%defattr(-,root,root,-) +#%doc doc/html + + +%changelog +* Fri Dec 18 2009 Volker Fröhlich <volker27@gmx.at> - 1.7-0.1.RC +- Updated to 1.7 RC + +* Mon Oct 05 2009 Fabian Affolter <fabian@bernewireless.net> - 1.6-1 +- Updated to new upstream version 1.6 + +* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.5-1 +- Initial package for Fedora diff --git a/unfinished/gpstk.spec.1.6 b/unfinished/gpstk.spec.1.6 new file mode 100644 index 0000000..a234488 --- /dev/null +++ b/unfinished/gpstk.spec.1.6 @@ -0,0 +1,116 @@ +Name: gpstk +Version: 1.6 +Release: 1%{?dist} +Summary: The GPS Toolkit + +Group: Applications/Engineering +License: LGPLv2+ +URL: http://www.gpstk.org/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: jam +BuildRequires: doxygen +#BuildRequires: gtkmm24-devel +#BuildRequires: libglademm24-devel +#BuildRequires: gconfmm26-devel +BuildRequires: zlib-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: ncurses-devel + + +%description +Algorithms and frameworks supporting the development of processing +and analysis applications in navigation and global positioning. + +%package devel +Summary: Development files for GPSTk +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development files for the GPS Toolkit. + + +%package docs +Summary: Documentation for GPSTk +Group: Documentation + +%description docs +This package contains the HTML documentation files for the GPS Toolkit. + + +%prep +%setup -q -n %{name}-%{version}.src + +find . -name '*.cpp' -exec chmod -x {} ';' +find . -name '*.hpp' -exec chmod -x {} ';' + +%build +#Alternative approach with Autotools +#./autogen.sh +# Libtool must be symlinked or something in order to work +#%configure \ +# --prefix=%{_prefix} +#make %{?_smp_mflags} CFLAGS="%{optflags}" + #--disable-static \ + +#doxygen +jam -j %{?_smp_mflags} + +%install +rm -rf %{buildroot} +jam -s PREFIX=%{buildroot}%{_prefix} install +#Alternative approach with Autotools +#make install DESTDIR=%{buildroot} INSTALL="install -p" + +# jam installs everything in /lib, but 64-bit libraries should be in /lib64 +[ "%{buildroot}%{_prefix}/lib" != "%{buildroot}%{_libdir}" ] && mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} +# Remove rpath from files +chrpath --delete %{buildroot}%{_libdir}/*.so.* + +# Remove libtool archives +rm %{buildroot}/%{_libdir}/*.a + +pushd %{buildroot}%{_libdir} + find . -name '*.so.16.0' -print 2>/dev/null -exec chmod 755 {} \; + ldconfig -n . \; + #find . -name '*.so.16.0' -print 2>/dev/null -exec mv {} {}.0 \; + #find . -name '*.so.16.0.0' -print 2>/dev/null | while read sofile + #do ln -s "$sofile" "${sofile%.*.*}" + #done +popd + +# TODO: Tests? + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +# -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_bindir}/* +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/ + +%files docs +%defattr(-,root,root,-) +#%doc doc/html + + +%changelog +* Mon Oct 05 2009 Fabian Affolter <fabian@bernewireless.net> - 1.6-1 +- Updated to new upstream version 1.6 + +* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.5-1 +- Initial package for Fedora diff --git a/unfinished/gpstk.spec.autotools b/unfinished/gpstk.spec.autotools new file mode 100644 index 0000000..43b5998 --- /dev/null +++ b/unfinished/gpstk.spec.autotools @@ -0,0 +1,106 @@ +Name: gpstk +Version: 1.6 +Release: 1%{?dist} +Summary: The GPS Toolkit + +Group: Applications/Engineering +License: LGPLv2+ +URL: http://www.gpstk.org/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz +#Patch0: gpstk-1.5-fixheaders.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: jam +BuildRequires: doxygen +BuildRequires: gtkmm24-devel +BuildRequires: libglademm24-devel +BuildRequires: gconfmm26-devel +BuildRequires: zlib-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel + + +%description +Algorithms and frameworks supporting the development of processing +and analysis applications in navigation and global positioning. + +%package devel +Summary: Development files for GPSTk +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development files for the GPS Toolkit. + + +%package docs +Summary: Documentation for GPSTk +Group: Documentation/HTML + +%description docs +This package contains the HTML documentation files for the GPS Toolkit. + + +%prep +%setup -q -n %{name}-%{version}.src +#%patch0 -p1 -b .header + +find . -name '*.cpp' -exec chmod -x {} ';' +find . -name '*.hpp' -exec chmod -x {} ';' + +%build +#./autogen.sh +%configure \ + --disable-static \ + --prefix=%{_prefix} +make %{?_smp_mflags} CFLAGS="%{optflags}" +#jam +#doxygen + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} INSTALL="install -p" +find %{buildroot} -name '*.la' -exec rm -f {} ';' + +# Remove rpath from files +chrpath --delete \ + %{buildroot}%{_bindir}/* \ + #%{buildroot}%{_libdir}/%{name}/*.so \ + + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +# -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +#%{_mandir}/man*/%{name}.* +%{_bindir}/* +%{_libdir}/*.so.* +#%{_datadir}/%{name}/ + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/ +%{_libdir}/*.so + + +%files docs +%defattr(-,root,root,-) +#%doc doc/html + + +%changelog +* Mon Oct 05 2009 Fabian Affolter <fabian@bernewireless.net> - 1.6-1 +- Updated to new upstream version 1.6 + +* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.5-1 +- Initial package for Fedora diff --git a/unfinished/gpstk.spec.orig b/unfinished/gpstk.spec.orig new file mode 100644 index 0000000..e9bf28e --- /dev/null +++ b/unfinished/gpstk.spec.orig @@ -0,0 +1,92 @@ +Name: gpstk +Version: 1.6 +Release: 1%{?dist} +Summary: The GPS Toolkit + +Group: Applications/Engineering +License: LGPLv2+ +URL: http://www.gpstk.org/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.src.tar.gz +Patch0: gpstk-1.5-fixheaders.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: jam +BuildRequires: doxygen +BuildRequires: gtkmm24-devel +BuildRequires: libglademm24-devel +BuildRequires: gconfmm26-devel +BuildRequires: zlib-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel + + +%description +Algorithms and frameworks supporting the development of processing +and analysis applications in navigation and global positioning. + +%package devel +Summary: Development files for GPSTk +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the development files for the GPS Toolkit. + + +%package docs +Summary: Documentation for GPSTk +Group: Documentation/HTML + +%description docs +This package contains the HTML documentation files for the GPS Toolkit. + + +%prep +%setup -q -n %{name}-%{version}.src +%patch0 -p1 -b .header + +%build +#./autogen.sh +#%configure +#make %{?_smp_mflags} CFLAGS="%{optflags}" +jam +doxygen + + +%install +rm -rf %{buildroot} +make install INSTDIR=%{buildroot} INSTALL="install -p" +find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf %{buildroot} + + +%files +# -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +#%{_mandir}/man*/%{name}.* +%{_bindir}/%{name} +#%{_libdir}/%{name}/ +#%{_datadir}/%{name}/ + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name}/ + + +%files docs +%defattr(-,root,root,-) +%doc doc/html + + +%changelog +* Mon Oct 05 2009 Fabian Affolter <fabian@bernewireless.net> - 1.6-1 +- Updated to new upstream version 1.6 + +* Sat Jan 24 2009 Fabian Affolter <fabian@bernewireless.net> - 1.5-1 +- Initial package for Fedora + diff --git a/unfinished/libLAS.spec b/unfinished/libLAS.spec new file mode 100644 index 0000000..0fadf7c --- /dev/null +++ b/unfinished/libLAS.spec @@ -0,0 +1,199 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +# Can be removed after EOL of F12 (at least for Fedora) + +Name: libLAS +Version: 1.6.0 +Release: 13%{?dist} +Summary: Library and tools for the LAS LiDAR format + +Group: System Environment/Libraries +License: BSD style and Boost +URL: http://liblas.org/ +# +# The next release will be similar to: +# http://download.osgeo.org/liblas/libLAS-1.6.0b3.tar.gz +# +# For now, we use a snapshot generated on: +# Wed Jan 12 12:49:27 EST 2011 +# using: +# hg clone http://hg.liblas.org/main libLAS +# cd libLAS +# hg archive ../libLAS-2738:e3efe5548e3b.tar.gz +# +# and the above was done to obtain shared-library versioning. +# +Source0: libLAS-2738:e3efe5548e3b.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: boost-devel, cmake +BuildRequires: libxml2-devel, libgeotiff-devel +# Requires: + +%description +libLAS is a C/C++ library for reading and writing the very common LAS LiDAR +format. The ASPRS LAS format is a sequential binary format used to store data +from LiDAR sensors and by LiDAR processing software for data interchange and +archival storage. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +# +# TODO : This may be needed for EPEL packages once _libdir/pkgconfig/liblas.pc +# files are created. +# +# Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%package python +Summary: Python files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description python +The %{name}-python package contains python module for using %{name}. + +%prep +%setup -q -n 'libLAS-2738:e3efe5548e3b' + + +%build +# +# Note: -DWITH_GDAL:BOOL=ON is currently disabled since +# libLAS requires a not-yet-released GDAL 1.8.x version. +# +export LDFLAGS='-Wl,--as-needed' +%cmake \ + -DLIBLAS_LIB_SUBDIR:PATH="%{_libdir}" \ + -DWITH_LIBXML2:BOOL=ON \ + -DWITH_GEOTIFF:BOOL=ON \ + -DGEOTIFF_INCLUDE_DIR:PATH="/usr/include/libgeotiff" \ + -DWITH_GDAL:BOOL=OFF \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DWITH_PKGCONFIG:BOOL=ON \ + . +make %{?_smp_mflags} + +%{__python} python/setup.py build +%{__python} python/setup.py tests + +%check +# +# The following fails with the message: +# +# ---> group: liblas::Header, test: test<12> +# problem: assertion failed +# failed assertion: `Values are not equal: expected `` actual `+to_meter=1.0000000000`` +# tests summary: failures:1 ok:84 +# +# and this is being investigated so the test is off for now. +# +#make test + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%{__python} setup.py install --skip-build --root %{buildroot} + +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +# By default, libLAS installs the files: +# +# AUTHORS COPYING LICENSE.txt README.txt +# +# in /usr/share but this is more clearly handled (IMHO) by +# the doc macro in the files section below. +# +rm -rf $RPM_BUILD_ROOT/usr/share +# chmod 755 $RPM_BUILD_ROOT/usr/bin/* + +# Please see multilib comment below: +# +rm -f $RPM_BUILD_ROOT/usr/bin/liblas-config + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING LICENSE.txt README.txt +%{_bindir}/las2las +%{_bindir}/las2las-old +%{_bindir}/las2txt +%{_bindir}/las2txt-old +%{_bindir}/lasblock +%{_bindir}/lasinfo +%{_bindir}/lasinfo-old +%{_bindir}/lasmerge +%{_bindir}/ts2las +%{_bindir}/txt2las +%{_libdir}/*.so.* +%{python_sitelib}/liblas +%{python_sitelib}/libLAS.egg-info + +%files devel +%defattr(-,root,root,-) +# doc is commented out for now +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/liblas.pc + + +%changelog +* Wed Jan 12 2011 Ed Hill <ed@eh3.com> - 1.6.0-12 +- add the as-needed linker flag + +* Wed Jan 12 2011 Ed Hill <ed@eh3.com> - 1.6.0-11 +- turn on pkgconfig + +* Wed Jan 12 2011 Ed Hill <ed@eh3.com> - 1.6.0-10 +- remove macro-in-comment rpmlint warnings + +* Wed Jan 12 2011 Ed Hill <ed@eh3.com> - 1.6.0-9 +- new snapshot + +* Wed Jan 12 2011 Ed Hill <ed@eh3.com> - 1.6.0-8 +- add comments and the check section + +* Thu Dec 30 2010 Ed Hill <ed@eh3.com> - 1.6.0-7 +- use LIBLAS_LIB_SUBDIR and add TODO concerning multilib + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0-6 +- put liblas-config in the -devel package, fix permissions, and + add RelWithDebInfo + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0-5 +- use a snapshot with soversion changes and add comments + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0b3-4 +- add SONAME patch + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0b3-3 +- fix license tag + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0b3-2 +- add comment about WITH_GDAL build errors + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0b3-1 +- shared libraries are unversioned so put in main package for now + +* Wed Dec 29 2010 Ed Hill <ed@eh3.com> - 1.6.0b3-0 +- initial package creation + diff --git a/unfinished/libepsilon.spec b/unfinished/libepsilon.spec new file mode 100644 index 0000000..b95aa4f --- /dev/null +++ b/unfinished/libepsilon.spec @@ -0,0 +1,178 @@ +# Define a macro for calling ../configure instead of ./configure +%global dconfigure %(printf %%s '%configure' | sed 's!\./configure!../configure!g') + +%global short_name epsilon + +Name: libepsilon +Version: 0.8.1 +Release: 3%{?dist} +Summary: Powerful wavelet image compressor +Group: System Environment/Libraries +License: GPLv2 +URL: http://sourceforge.net/projects/%{short_name}-project +Source0: http://downloads.sourceforge.net/%{short_name}-project/%{short_name}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +Requires: %{name}-common = %{version}-%{release} +BuildRequires: popt-devel +#BuildRequires: glibc-devel.i686 + +%description +EPSILON is a powerful OpenSource wavelet image compressor. +Wavelet-driven compressors are know to be much more effective +than traditional DCT-based ones (like JPEG). At the moment, +the program supports 30+ different wavelet filters, runs +in parallel in multi-threaded and MPI environments, can +process HUGE images and much more. + +%package common +Summary: Common Powerful wavelet image compressor +%description common +EPSILON is a powerful OpenSource wavelet image compressor. + +%package openmpi +Summary: MPI-Powerful wavelet image compressor +BuildRequires: openmpi-devel +# Require explicitly for dir ownership and to guarantee the pickup of the right runtime +Requires: openmpi +Requires: %{name}-common = %{version}-%{release} +%description openmpi +EPSILON is a powerful OpenSource wavelet image compressor. + +%package mpich2 +Summary: MPICH2-Powerful wavelet image compressor +BuildRequires: mpich2-devel +# Require explicitly for dir ownership and to guarantee the pickup of the right runtime +Requires: mpich2 +Requires: %{name}-common = %{version}-%{release} +%description mpich2 +EPSILON is a powerful OpenSource wavelet image compressor. + +%package devel +Summary: Development Libraries for libepsilon +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Contains libraries and header files for +developing applications that use libepsilon. + + +%prep +%setup -q -n %{short_name}-%{version} +#sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + + +%build + +#MPI scheint zu funktionieren, mpich2 fliegt raus + +# To avoid replicated code define a build macro +%define dobuild() \ +mkdir $MPI_COMPILER; \ +cd $MPI_COMPILER; \ +%dconfigure --enable-pthreads --enable-cluster --disable-static --program-suffix=$MPI_SUFFIX ;\ +make %{?_smp_mflags} ; \ +cd .. + +# Build serial version, dummy arguments +MPI_COMPILER=serial MPI_SUFFIX= %dobuild + +# Build parallel versions: set compiler variables to MPI wrappers +#export CC=mpicc +export CXX=mpicxx +#export FC=mpif90 +export F77=mpif77 + +# Build OpenMPI version +%{_openmpi_load} +%dobuild +%{_openmpi_unload} + +# Build mpich2 version +%{_mpich2_load} +%dobuild +%{_mpich2_unload} + + +#%configure \ +# CPPFLAGS="-I/usr/include/openmpi-x86_64/" LDFLAGS="-lmpi"\ +# --prefix=%{_prefix} \ +# --enable-pthreads \ +# --enable-cluster \ +# --disable-static \ +# --enable-mpi + +%install +rm -rf %{buildroot} + +# Install serial version +make -C serial install DESTDIR=%{buildroot} INSTALL="install -p" CPPROG="cp -p" + +# Install OpenMPI version +%{_openmpi_load} +make -C $MPI_COMPILER install DESTDIR=%{buildroot} INSTALL="install -p" CPPROG="cp -p" +%{_openmpi_unload} + +# Install MPICH2 version +%{_mpich2_load} +make -C $MPI_COMPILER install DESTDIR=%{buildroot} INSTALL="install -p" CPPROG="cp -p" +%{_mpich2_unload} + + +# Remove libtool archive +rm -f %{buildroot}/%{_libdir}/%{name}.la +rm -f %{buildroot}/%{_libdir}/%{name}.a +# Das sollte eigentlich auch von selbst gehen. + +%clean +rm -rf %{buildroot} + + +# Single-Variante auch anbieten +# Wenn möglich, Versionen für jeden MPI-Compiler in Fedora. openmpi (f, rh), mpich (rh), mpich2 (f) , mvapich und mvapich2(rh), lam (rh) +# Spezifische Dateien müssen in $MPI_BIN, $MPI_LIB und so +# Binaries brauchen ein Suffix +# Keine ldconfig zulässig! +# Gemeinsames Zeug in -common-Paket das alle benötigen +# Eigene Header-Pakete und Devel-Pakete +#TODO: Options, Doxygen? + +#Die Perl-Skripts und man-Pages sind genau gleich. Bins scheinen sich zu unterscheiden. Was ist mit der Bib? Die wird nur einmal gemacht. + +%files +%defattr(-,root,root,-) +%{_bindir}/%{short_name} + + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.so +%{_includedir}/* + +%files common +%defattr(-,root,root,-) +%doc README AUTHORS ChangeLog TODO COPYING +%{_bindir}/start_%{short_name}_nodes.pl +%{_bindir}/stop_%{short_name}_nodes.pl +%{_libdir}/*.so.* +%{_mandir}/man1/* + +%files openmpi +%defattr(-,root,root,-) +%{_bindir}/epsilon_openmpi + +%files mpich2 +%defattr(-,root,root,-) +%{_bindir}/epsilon_mpich2 + +%changelog +* Wed Dec 8 2010 Volker Fröhlich <volker27@gmx.at> 0.8.1-3 +- Added MPI support + +* Mon Dec 5 2010 Volker Fröhlich <volker27@gmx.at> 0.8.1-2 +- Included license +- Enable cluster and pthreads + +* Sun Dec 5 2010 Volker Fröhlich <volker27@gmx.at> 0.8.1-1 +- Initial packaging for Fedora diff --git a/unfinished/libgaiagraphics.spec b/unfinished/libgaiagraphics.spec new file mode 100644 index 0000000..f3c045b --- /dev/null +++ b/unfinished/libgaiagraphics.spec @@ -0,0 +1,95 @@ +Name: libgaiagraphics +Version: 0.4 +Release: 2%{?dist} +Summary: Graphics canvas for GIS rendering + +Group: System Environment/Libraries +#TODO: Stimmt angeblich nicht +License: GPLv3+ +URL: http://www.gaia-gis.it/spatialite-2.4.0-4 +Source0: http://www.gaia-gis.it/spatialite-2.4.0-4/libgaiagraphics-%{version}.tar.gz + +# Fedora's libgeotiff ships with pkgconfig. +# Since that is not standard, informing upstream is not useful. +Patch0: libgaiagraphics_libgeotiff.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libgeotiff-devel +BuildRequires: libjpeg-devel libpng-devel +#Not linked but checked for +BuildRequires: zlib-devel +BuildRequires: proj-devel +BuildRequires: cairo-devel +BuildRequires: autoconf +Requires: pkgconfig + +%description +Libgaiagraphics wraps raster- and vector graphics, to implement a reasonably +abstract and platform independent graphics canvas for GIS rendering. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + +#TODO: Warning autoconf +%patch0 -p1 -b .libgeotiff + +%build +# configure.ac and Makefile.ini are patched, hence the need to run autoconf. +autoconf +%configure --disable-static + +# Remove links to unused libraries +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool + + +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +# Delete libtool archives, because we don't ship them. +find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_libdir}/%{name}.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/gaiagraphics.h +%{_libdir}/%{name}*.so +%{_libdir}/pkgconfig/gaiagraphics.pc + +%changelog +* Fri Feb 18 2011 Volker Fröhlich <volker27@gmx.at> - 0.4-2 +- Corrected spelling of the name in description +- More specific file list +- Added Requires for pkgconfig (EPEL 5) +- Switched to version macro in source url + +* Tue Jan 18 2011 Volker Fröhlich <volker27@gmx.at> - 0.4-1 +- Initial packaging diff --git a/unfinished/librasterlite.spec b/unfinished/librasterlite.spec new file mode 100644 index 0000000..af4bf57 --- /dev/null +++ b/unfinished/librasterlite.spec @@ -0,0 +1,80 @@ +Name: librasterlite +Version: 1.0 +Release: 1%{?dist} +Summary: Support Raster Data Sources within a SpatiaLite DB +Group: System Environment/Libraries +License: GPLv3 +URL: http://www.gaia-gis.it/spatialite +Source0: http://www.gaia-gis.it/spatialite/librasterlite-1.0.tar.gz + +BuildRequires: proj-devel geos-devel sqlite-devel +BuildRequires: libtiff-devel +BuildRequires: libgeotiff-devel +BuildRequires: libjpeg-devel +BuildRequires: zlib-devel +BuildRequires: libpng-devel +BuildRequires: libepsilon-devel +BuildRequires: libspatialite-devel +#BuildRequires: proj-devel + + +%description +A library supporting Raster Data Sources within a SpatiaLite DB +and any releated CLI management tool. + +%package devel +#Quatsch +Summary: Development Libraries for the SpatiaLite extension +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The RasterLite library provides support for spatial data in SQLite. +#Quatsch + +%prep +%setup -q + +rm -rf epsilon +rm -f Makefile-static* +sed -i 's/epsilon//g' Makefile.in +sed -i 's/epsilon\/Makefile//g' configure +sed -i 's/spatialite\/sqlite3.h/sqlite3.h/g' lib/*.c +sed -i 's/spatialite\/sqlite3.h/sqlite3.h/g' src/*.c + + +%build +%configure --prefix=%{_prefix} \ + LDFLAGS="-Lepsilon" \ + CPPFLAGS="%{_includedir}/libgeotiff" + +make %{?_smp_mflags} +i#C_INCLUDE_PATH=%{_includedir}/libgeotiff + + +%install +rm -rf %{buildroot} + +make install DESTDIR=%{buildroot} + + +%clean +rm -rf %{buildroot} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING AUTHORS + +%files devel +%defattr(-,root,root,-) + + +%changelog +* Sun Nov 28 2010 Volker Fröhlich <volker27@gmx.at> 1.0-1 +- Initial packaging for Fedora diff --git a/unfinished/libspatialindex.spec b/unfinished/libspatialindex.spec new file mode 100644 index 0000000..520e245 --- /dev/null +++ b/unfinished/libspatialindex.spec @@ -0,0 +1,77 @@ +%global shortname spatialindex +Name: libspatialindex +Version: 1.6.1 +Release: 1%{?dist} +Summary: Spatial index library +Group: System Environment/Libraries +License: LGPL +URL: http://trac.gispython.org/spatialindex +Source0: http://download.osgeo.org/libspatialindex/%{shortname}-src-%{version}.tar.bz2 + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: chrpath + +%description +Spatialindex provides a general framework for developing spatial indices. +Currently it defines generic interfaces, provides simple main memory and +disk based storage managers and a robust implementation of an R*-tree, +an MVR-tree and a TPR-tree. + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development files for %{name}. + +%prep +%setup -qn %{shortname}-src-%{version} + +%build + +%configure +# --enable-doxygen-man=NO + +## WARNING +## disable %{?_smp_mflags} +## it breaks compile + +# Can't prove that true. +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make install DESTDIR=%{buildroot} + +chrpath --delete %{buildroot}%{_libdir}/%{name}_c.so.1.0.0 + +# Delete libtool archives, because we don't ship them. +pushd %{buildroot}%{_libdir} + rm -f *.a *.la +popd + +#Tests? + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{_libdir}/%{name}*.so +%{_libdir}/%{name}*.so.1 + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{shortname} +%{_libdir}/%{name}*.so.1.* + +%changelog +* Sun Feb 06 2011 Volker Fröhlich <volker27@gmx.at> - 1.6.1-1 +- Initial packaging diff --git a/unfinished/mod_geocache.spec b/unfinished/mod_geocache.spec new file mode 100644 index 0000000..db5d095 --- /dev/null +++ b/unfinished/mod_geocache.spec @@ -0,0 +1,58 @@ +Name: mod_geocache +Version: 0.2.1 +Release: 1%{?dist} +Summary: Tile caching module for the Apache HTTP Server + +Group: Development/Tools +License: ASL 2.0 +#Sonderbehandlung +Source0: http://mod-geocache.googlecode.com/files/mod-geocache-%{version}.tar.gz +URL: http://code.google.com/p/mod-geocache/ +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: httpd-devel +BuildRequires: libcurl-devel +BuildRequires: libxml2-devel +BuildRequires: libpng-devel +BuildRequires: libjpeg-devel +BuildRequires: apr-devel +BuildRequires: gdal-devel + +%description +mod-geocache aims to implement a subset of the features offered by existing +tile caching solutions. The primary objectives are to be fast and easily +deployable, while offering the essential features expected from a +tile caching solution. + +#Eventuell Teilung in base fcgi und mod + +%prep +%setup -q -n mod-geocache-%{version} + + +%build +%configure --with-fastcgi=%{_prefix} +make %{?_smp_mflags} +#Das Modul aktiviert sich selbst. Ist das OK? +%install +rm -rf %{buildroot} +install -Dpm 755 src/.libs/mod_geocache.so %{buildroot}/%{_libdir}/httpd/modules/mod_geocache.so +#Flags? in Makefile.inc sind die +#Installationspfade statisch? +#make install-module +#make install-fcgi +#doxygen + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{_libdir}/httpd/modules/mod_geocache.so + +%changelog +* Sat Jan 22 2011 Volker Fröhlich <volker27@gmx.at> - 0.2.1-1 +- Inital packaging diff --git a/unfinished/openmodeller-desktop.spec b/unfinished/openmodeller-desktop.spec new file mode 100644 index 0000000..53472e3 --- /dev/null +++ b/unfinished/openmodeller-desktop.spec @@ -0,0 +1,93 @@ +Name: openmodeller-desktop +Version: 1.1.0 +Release: 1.20110127svn%{?dist} +Summary: Desktop application for openmodeller + +Group: Desktop +License: GPLv2+ +URL: http://openmodeller.sourceforge.net +#Gehört noch bearbeitet +#Source0: http://sourceforge.net/projects/openmodeller/files/openModeller%20Desktop/1.1.0/openModellerDesktop-src-%{version}.tar.bz2 +Source0: openmodeller-desktop-svn5259.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: openssl-devel + +#Requires: + +%description +Bla. + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development packages for %{name}. + + +%prep +%setup -qn %{name}-svn5259 + + +%build + +%cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ + -DQGIS_PLUGIN_DIR:PATH=/usr/share/qgis/python/plugins \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DGDAL_LIBRARY:PATH=%{_libdir}/libgdal.so \ + -DOM_LIBRARY:PATH=%{_libdir}/libopenmodeller.so \ + -DOM_LIB_DIR:PATH=%{_libdir}/libopenmodeller \ + -DOM_INCLUDE_DIR:STRING=%{_includedir}/openmodeller \ + -DQWT_INCLUDE_DIR:PATH=%{_includedir}/qwt \ + -DWITH_DESIGNER:BOOL=ON + #-DWITH_QGIS:BOOL=OFF + + +#make %{?_smp_mflags} +make + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%find_lang OpenModellerDesktop --with-qt --all-name +#//preferred path to GDAL (gdal-config) +#GDAL_CONFIG_PREFER_PATH:STRING=/bin +#Om-Library-Pfad wird falsch erkannt +#qgis_plugin_dir +#LIB_SUFFIX +#qgis-bibpfade auch in lib +#svn-marker +#with_designer +#Doxygen +#qwt und gdal, python, ossim -- was ist webcatalogue und experimental? +#Tests +#Desktop file +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +#%files -f %{name}.lang +%files +%defattr(-,root,root,-) +%doc LICENSE.txt TODO CODING_GUIDE.txt +#contributors wahrscheinlich unnötig; changelog.html auch +%{_bindir}/* +#%{_libdir}/libomg* +#%{_libdir}/openModellerDesktop + + +%files devel +%defattr(-,root,root,-) +#%{_includedir}/OpenModellerDesktop + +%changelog + +* Thu Jan 27 2011 Volker Fröhlich <volker27@gmx.at> - 1.1.0-1.20110127svn +- Initial package diff --git a/unfinished/openmodeller.spec b/unfinished/openmodeller.spec new file mode 100644 index 0000000..b762b39 --- /dev/null +++ b/unfinished/openmodeller.spec @@ -0,0 +1,169 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif + +Name: openmodeller +Version: 1.1.0 +Release: 1%{?dist} +Summary: Fundamental niche modeling library + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://openmodeller.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/lib%{name}-src-%{version}.tar.bz2 +#Cmake and Python script taken from QGIS +Source1: FindPythonLibs.cmake +Source2: FindLibPython.py + +#Taken from http://wush.net/trac/sehenley/browser/simulator/trunk/vendor/cmake/Modules/FindSWIG.cmake?rev=1306 +Source3: FindSWIG.cmake + +#Allow the find Cmake find script to find OpenMPI +#Patch0: %{name}_mpi.patch +Patch1: %{name}-python-sitedir.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gdal-devel +BuildRequires: swig +BuildRequires: sqlite-devel +BuildRequires: proj-devel +BuildRequires: expat-devel +BuildRequires: cmake + +BuildRequires: libcurl-devel +BuildRequires: gsl-devel +BuildRequires: libX11-devel +BuildRequires: cxxtest + +# We don't want to provide private python extension libs +%{?filter_setup: +%filter_provides_in %{python_sitearch}/.*\.so$ +%filter_setup +} + +%description +OpenModeller is an open source C++ library to determine potential +distribution in environment and geographic space. Models are generated +by algorithms that receive as input a set of occurrence points +(latitude/longitude/abundance) and a set of raster files with environment +data. Models can then be projected to generate distribution maps. +Available algorithms include Bioclim, GARP Best Subsets, Support Vector +Machines, Climate Space Model, Environmental Distance, AquaMaps and +Maximum Entropy. The library uses GDAL to read different raster formats +and proj4 to convert between different coordinate systems and projections. + + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development package for %{name} including header files. + +%package python +Summary: Python bindings for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description python +Python bindings for %{name}. + +#Im test-Verzeichnis sind kompatible Lizenzen, womöglich aber ein Bundle und falsche FSF-Adressen + +%prep +%setup -q -n lib%{name}-src-%{version} + +#SOAP? +#%patch0 -p1 -b .mpi +%patch1 -p1 -b .python-sitedir + +install -pm 644 %{SOURCE1} cmake +install -pm 644 %{SOURCE2} cmake +install -pm 644 %{SOURCE3} cmake + +# Delete invalid first lines in man pages +pushd src/console/man + for file in *; do + sed -i '1d' $file + done +popd + + +#Correct path for 64 bit libraries +#Da sollte man eher prefix schreiben +if [ "%{_libdir}" = "/usr/lib64" ] ; then + sed -i 's/\lib/\/lib64/g' CMakeLists.txt + sed -i 's/LIBRARY DESTINATION lib/LIBRARY DESTINATION lib64/g' src/%{name}/CMakeLists.txt +fi +#Correct installation directory for man pages +sed -i 's/\(man\/man1\)/share\/\1/g' src/console/CMakeLists.txt +#-Werror cancels compilation +#sed -i '/ADD_DEFINITIONS( -Wall -Werror )/d' CMakeLists.txt +#OM_CTEST + +#Correct permissions of source files +chmod 644 src/%{name}/*.cpp src/algorithms/enfa/*.cpp src/algorithms/enfa/*.hh + +#Change encoding to UTF-8 +iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && mv AUTHORS.conv AUTHORS +pushd src/console/man + iconv -f iso8859-1 -t utf-8 om_niche.1 > om_niche.1.conv && mv om_niche.1.conv om_niche.1 + iconv -f iso8859-1 -t utf-8 om_console.1 > om_console.1.conv && mv om_console.1.conv om_console.1 +popd +%build +# Upstream turns off pedantic as well in their RPM +# MPI support is not ready upstream +%cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ + -DCMAKE_SKIP_RPATH:BOOL=ON \ + -DPEDANTIC:BOOL=OFF \ + -DOM_BUILD_SERVICE:BOOL=ON \ + -DOM_CTEST:BOOL=ON \ + -DOM_BUILD_BINDINGS:BOOL=ON \ + -DGDAL_LIBRARY:PATH=%{_libdir}/libgdal.so + +make %{?_smp_mflags} +# Pluginpfad ist schlecht +#Doxygen + #-DLIBRARY_OUTPUT_PATH=%{_libdir}/%{name} \ -- Wird nicht perfekt verwendet + #-DOM_CTEST:BOOL=ON \ +#Bei Algorithms könnte ein Problem sein +#Installationspfad +#Beispieldaten +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +%check +#TEST + +%clean +rm -rf %{buildroot} + +#pkg-config? +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING.txt ChangeLog README.txt +%config(noreplace) %{_sysconfdir}/%{name} +%{_bindir}/* +%{_libdir}/%{name} +%{_libdir}/lib%{name}.so +%{_mandir}/man1/* +%{_datadir}/%{name} + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name} + +%files python +%defattr(-,root,root,-) +%{python_sitearch}/om.py* +%{python_sitearch}/_om.so + +%changelog +* Sun Jan 23 2011 Volker Fröhlich <volker27@gmx.at> 1.1.0-1 +- Initial packaging for Fedora diff --git a/unfinished/opticks.spec b/unfinished/opticks.spec new file mode 100644 index 0000000..4092112 --- /dev/null +++ b/unfinished/opticks.spec @@ -0,0 +1,63 @@ +Name: opticks +Version: 4.5.0 +Release: 1%{?dist} +Summary: Opticks is an expandable remote sensing and imagery analysis software platform + +Group: Applications/Scientific +License: LGPLv2.1 +URL: http://www.opticks.org +# No tarballs available -- 4.5 = r11733 +# http://opticks.svn.sourceforge.net/viewvc/opticks/trunk/4.5.0/Code/?view=tar +# http://opticks.svn.sourceforge.net/viewvc/opticks/trunk/4.5.0/Release/?view=tar +Source0: + +BuildRequires: scons +BuildRequires: raptor +BuildRequires: expat +BuildRequires: doxygen graphviz +BuildRequires: curl +BuildRequires: ffmpeg +BuildRequires: gdal proj shapelib +#libgeotiff -- Sollte von gdal her da sein -- Bzw. macht das xqilla, das auch pthreads haben dürfte +# xqilla und shapelib sind ev. nur unter Windows nötig +BuildRequires: xqilla +BuildRequires: zlib +BuildRequires: glew +BuildRequires: ossim +BuildRequires: minizip +BuildRequires: yaml-cpp +BuildRequires: pcre +# Dieses cg-Zeug ist von NVIDIA +# GDAL mit Xerces? Könnte bei EL vielleicht interessant sein +# Von EHS scheinen sie eine Fork zu haben. http://xaxxon.slackworks.com/ehs/ -- Jedenfalls ist das Zeug offensichtlich tot. Oh, gar nicht: http://ehs.fritz-elfert.de/ +# Warum benötigt GDAL 1.7.3. nicht das Paket xerces? +Requires: Qt + +%description + + +%prep +%setup -q + + +%build +python build.py --build-doxygen=all +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc + + + +%changelog diff --git a/unfinished/orfeo.spec b/unfinished/orfeo.spec new file mode 100644 index 0000000..e491113 --- /dev/null +++ b/unfinished/orfeo.spec @@ -0,0 +1,78 @@ +Name: orfeo +Version: 3.8.0 +Release: 1%{?dist} +Summary: Library of image processing algorithms + +Group: Applications/Engineering +#prüfen +License: CeCILL +URL: http://www.orfeo-toolbox.org/otb/ +#korrigieren +Source0: http://sourceforge.net/projects/orfeo-toolbox/files/orfeo-toolbox/OTB-3.8/OrfeoToolbox-3.8.0.tgz +#epel +#/download + +#ming +BuildRequires: gdal-devel +BuildRequires: fltk +BuildRequires: automake + +%description +ORFEO Toolbox is a library of image processing algorithms. OTB is based on the +medical image processing library ITK and offers particular functionalities for +remote sensing image processing in general and for high spatial resolution +images in particular. + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development package for %{name} +%prep +%setup -qn OrfeoToolbox-%{version} + + +mkdir sau + +%build +#lib ist noch +cd sau +%cmake \ + -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ + -DOTB_USE_EXTERNAL_FLTK:BOOL=ON \ + .. +#Internes Fltk, Jpeg2000, ITK, liblas, boost, tinyxml, openmp +#Bei GDAL werden die Rasterformate nicht erkannt. An sich sollen die Tests aber laufen. Aus irgendeinem Grund sind auch die INCLUDE_DIRECTORIES manchmale auskommentiert -- was auch immer das bringt! OpenGL-Tand findet er auch nicht +#Mapnik, pqxx inaktiv + +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +cd sau +make install DESTDIR=%{buildroot} + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc RELEASE_NOTES.txt +#Keine Lizenz dabei! + +%{_libdir}/otb +%{_bindir} + +%files devel +%defattr(-,root,root,-) +%{_includedir}/otb + +%changelog +* Thu Feb 03 2011 Volker Fröhlich <volker27@gmx.at> - 3.8.0-1 +- Initial packaging diff --git a/unfinished/osg_kaputt b/unfinished/osg_kaputt Binary files differnew file mode 100644 index 0000000..adc0565 --- /dev/null +++ b/unfinished/osg_kaputt diff --git a/unfinished/osgearth.spec b/unfinished/osgearth.spec new file mode 100644 index 0000000..44bd975 --- /dev/null +++ b/unfinished/osgearth.spec @@ -0,0 +1,123 @@ +%global capname osgEarth + +#TODO: libosg? + +Name: osgearth +Version: 2.0 +Release: 1%{?dist} +Summary: Terrain rendering toolkit for OpenSceneGraph + +Group: Applications/Engineering +License: LGPLv2+ +URL: http://www.osgearth.org/ +Source0: gwaldron-%{name}-%{name}_%{version}_T2011-02-24-0-g53b997c.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + + +BuildRequires: cmake +BuildRequires: curl-devel +BuildRequires: expat-devel +BuildRequires: gdal-devel +BuildRequires: geos-devel +BuildRequires: libzip-devel +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: OpenSceneGraph OpenSceneGraph-devel +BuildRequires: OpenThreads-devel +BuildRequires: sqlite-devel +BuildRequires: zlib-devel + +# Replaces hard-coded fonts +Requires: liberation-sans-fonts + +%description +OsgEarth is a terrain rendering toolkit for OpenSceneGraph. Just create a +simple XML file, point it at your imagery, elevation, and vector data, load +it into your favorite OSG application, and go! osgEarth supports all kinds of +data and comes with lots of examples to help you get up and running quickly +and easily. + +%package devel +Summary: Development Libraries for OsgEarth +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development package for osgearth including the C header files. + +%package examples +Summary: Functionality tests and sample data for OsgEarth +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description examples +Functionality tests and according sample data. + +%prep +%setup -q -n gwaldron-%{name}-dbaa285 + +#TODO: LICENSE.txt hat auch was +#sed -i 's/\r//' README.txt +iconv -f iso8859-1 -t utf-8 LICENSE.txt > LICENSE.txt.conv && mv LICENSE.txt.conv LICENSE.txt + +# Hier hat Corsepius nix geändert, glaub ich, daher klappt es nicht. +# Replace hard coded Arial fonts +sed -i -e 's!\(fonts/\)\?arial\.ttf!liberation/LiberationSans-Regular.ttf!g' \ + src/applications/osgearth_symbology/osgearth_symbology.cpp \ + src/osgEarthSymbology/Text.cpp \ + src/osgEarthUtil/Graticule.cpp \ + src/osgEarthUtil/Controls.cpp \ + src/osgEarthFeatures/BuildTextOperator.cpp \ + src/osgEarthFeatures/BuildGeometryFilter.cpp \ + tests/feature_labels.earth + +sed -i -e 's!arialbd\.ttf!liberation/LiberationSans-Bold.ttf!g' \ + src/applications/osgearth_controls/osgearth_controls.cpp + +#http://git.debian.org/?p=pkg-grass/osgearth.git;a=blob_plain;f=debian/rules;hb=af9134ed336850d2773fd30a6e8480ce32b5d5dc +#Daten für die Tests auch dabei? Tests überhaupt? Wenn nicht, kann ich mir die Binarys wahrscheinlich auch gleich schenken; zumindest _tests, _clouds, _simple +%build +#Build_Type? CMake-install-prefix? +%cmake +make %{?_smp_mflags} +#Tests händisch verschieben? + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc LICENSE.txt README.txt +%{_libdir}/lib%{capname}*.so.* +%{_libdir}/osgPlugins-* + +#Alle bins in examples +#Warning: font file "liberation/LiberationSans-Regular.ttf" not found. (ocean) + +#data und tests in eigenes Paket namens data +#Andere Variante ist ein libosgearth zusätzlich +# Kriegt er dann mit, wenn das noarch ist? + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{capname}* +%{_libdir}/lib%{capname}*.so + +%files examples +%defattr(-,root,root,-) +%{_bindir}/%{name}* +#data und tests auch installieren! + + +%changelog +* Tue Mar 01 2011 Volker Fröhlich <volker27@gmx.at> - 2.0-1 +- Initial package diff --git a/unfinished/pgRouting.spec b/unfinished/pgRouting.spec new file mode 100644 index 0000000..65503d6 --- /dev/null +++ b/unfinished/pgRouting.spec @@ -0,0 +1,96 @@ +Name: pgRouting +Version: 1.05 +Release: 1%{?dist} +Summary: Provides routing functionality to PostGIS/PostgreSQL + +Group: Applications/Databases +# shooting_star* are under the latter license +License: GPLv2+ and Boost +URL: http://pgrouting.org/ +Source0: http://download.osgeo.org/pgrouting/source/pgrouting-%{version}.tar.gz +# Removes the preset CFLAGS and CXXFLAGS +Patch2: pgrouting-1.05-flags.patch + +BuildRequires: boost-devel +BuildRequires: CGAL-devel +BuildRequires: cmake +BuildRequires: geos-devel +BuildRequires: postgresql-devel +BuildRequires: proj-devel + +Requires: postgis +Requires: postgresql + +%description +The main objective is to provide routing functionality to PostGIS/ PostgreSQL. +pgRouting is part of PostLBS, which provides core tools for Location Based +Services (LBS) as Open Source Software (OSS). Its tools are similar to those +found on proprietary software. + +%prep +%setup -qn pgrouting-%{version} + +%patch2 -p1 -b .flags +# fixing boost property_map files path +sed -i "s|boost/vector_property_map.hpp|boost/property_map/vector_property_map.hpp|" core/src/shooting_star_boost_wrapper.cpp +sed -i "s|boost/property_map.hpp|boost/property_map/property_map.hpp|" core/src/shooting_star_relax.hpp +sed -i "s|boost/property_map.hpp|boost/property_map/property_map.hpp|" core/src/edge_visitors.hpp +# fix to avoid deprecated "boost/graph/detail/is_same.hpp" file +sed -i "s|boost/graph/detail/is_same.hpp|boost/type_traits/is_same.hpp|" core/src/edge_visitors.hpp +# fixing CMakeList issue +cd cmake; ln -s CMakeList.txt CMakeLists.txt; cd - + +%build + +install -d build +cd build + +# TSP requires libgaul http://sourceforge.net/projects/gaul +# Last update there was in 2009 +%cmake .. \ + -DWITH_TSP=OFF \ + -DWITH_DD=ON + +make VERBOSE=1 %{?_smp_mflags} + +%install +make -C build install DESTDIR=%{buildroot} + +%files +%defattr(-,root,root,-) +%doc README.routing COPYING authors.txt BOOST_LICENSE_1_0.txt RELEASE_NOTES +%{_libdir}/pgsql/*.so +%{_datadir}/postlbs + +%changelog +* Tue Mar 08 2011 Volker Fröhlich <volker27@gmx.at> - 1.05-1 +- Updated to 1.05 +- Updated URL +- Retired patch0 +- Updated flags patch: optflags work now +- Replaced make macros with the command +- Dropped rm for buildroot before install +- Dropped ldconfig, because libs are in sub-directory +- Dropped version requirements in BRs and Requires. + All shiped versions are new enough in Fedora +- Enabled DD option and added BR CGAL-devel +- Simplified attr and dropped defattr in files section + +* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Nov 14 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.03-3 +- Fixed patch naming conventions. +- Added backup option for files being patched with suffix. +- Changed the package name from postgresql-pgrouting to pgRouting + +* Sun Nov 14 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.03-2 +- Changed the license to GPLv2+ and Boost. +- Removed the override of CMAKE_INSTALL_PREFIX. +- Removed test for %%{?_lib}. +- Added VERBOSE=1 and %%{?_smp_mflags} for make. +- Patch for removing the preset CFLAGS. +- Removed gcc-c++ from BuildRequires. + +* Thu Nov 11 2010 Viji Nair <viji [AT] fedoraproject DOT org> - 1.03-1 +- Initial import. diff --git a/unfinished/pgtap.spec b/unfinished/pgtap.spec new file mode 100644 index 0000000..e032eb5 --- /dev/null +++ b/unfinished/pgtap.spec @@ -0,0 +1,89 @@ +%global postgresver %(pg_config --version|awk '{print $2}'| cut -d. -f1,2) + +Name: pgtap +Version: 0.25.0 +Release: 1%{?dist} +Summary: Unit testing suite for PostgreSQL + +Group: Applications/Databases +License: BSD +URL: http://pgtap.org +Source: http://pgfoundry.org/frs/download.php/2937/%{name}-%{version}.tar.bz2 + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: postgresql-devel +#Auch entfernt einsetzbar +#Aber für 8.3 und kleiner braucht man die .so auf dem Server; if? +#Requires: postgresql-server +#Eventuell perl-TAP-Harness in EPEL +#Eigentlich wollen wir aber http://search.cpan.org/dist/TAP-Parser-SourceHandler-pgTAP/lib/TAP/Parser/SourceHandler/pgTAP.pm +#Gibt es unter dem Namen nur in F +#Perl braucht man sicher, aber ob man das wirklich braucht? + +# Test Harness is a replacement for TAP Harness +#%if %{?fedora} +# Requires: perl-Test-Harness +#%else +# Requires: perl-TAP-Harness +#%endif + +# PG 8.4 and up have the necessary functions inside the core +%if "%{postgresver}" >= "8.4" +BuildArch: noarch +%endif + +%description +pgTAP is a unit testing suite for PostgreSQL written in PL/pgSQL and +PL/SQL. It includes a comprehensive collection of TAP-emitting assertion +functions, as well as the ability to integrate with other TAP-emitting +test frameworks. It can also be used in the xUnit testing style. + + +%prep +%setup -q + + +%build +make USE_PGXS=1 TAPSCHEMA=tap + + +%install +rm -rf %{buildroot} +make install USE_PGXS=1 DESTDIR=%{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc +%if "%{postgresver}" < "8.4" +%{_libdir}/pgsql/pgtap.so +%endif +%{_datadir}/pgsql/contrib/* +%{_docdir}/pgsql/contrib/%{name}.md + + +%changelog +* Thu Feb 24 2011 Volker Fröhlich <vokler27@gmx.at> 0.25.0-1 +- Adapted for Fedora + +* Tue Feb 01 2011 David Wheeler <david@kineticode.com> 0.25.0 +- Removed pg_prove and pg_tapgen, which are now distributed via CPAN. + +* Sun Mar 01 2010 Darrell Fuhriman <darrell@renewfund.com> 0.24-2 +- Make install work where the pgtap.so library is needed. + +* Sun Dec 27 2009 David Wheeler <david@kineticode.com> 0.24-1 +- Updated Source URL to a more predictable format. + +* Mon Aug 24 2009 David Fetter <david.fetter@pgexperts.com> 0.23-1 +- Got corrected .spec from Devrim GUNDUZ <devrim@gunduz.org> +- Bumped version to 0.23. + +* Wed Aug 19 2009 Darrell Fuhriman <darrell@projectdx.com> 0.22-1 +- initial RPM + diff --git a/unfinished/pyspatialite.spec b/unfinished/pyspatialite.spec new file mode 100644 index 0000000..061422c --- /dev/null +++ b/unfinished/pyspatialite.spec @@ -0,0 +1,57 @@ +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +# Can be removed after EOL of F12 + +Name: pyspatialite +Version: 2.6.1 +Release: 1%{?dist} +Summary: Wos was i + +Group: Development/Libraries +License: zlib +URL: http://trac.gispython.org/lab/wiki/Shapely +#http://code.google.com/p/pyspatialite/downloads/detail?name=pyspatialite-2.6.1.tar.gz&can=2&q= +Source0: %{name}-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python-devel python-setuptools-devel + +%description +bla. + +%prep +%setup -q +#Probleme mit integriertem Sqlite +#Downloading amalgation -- aber von Spatialite scheinbar. +#Da wird auch wirklich was von Sqlite (!) kompiliert. + +%build +%{__python} setup.py build + + +%check +#%{__python} setup.py test + + +%install +rm -rf %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc LICENSE +%doc PKG-INFO doc +%{python_sitelib}/%{name} +%{python_sitelib}/%{name}-%{version}-py*.egg-info + + +%changelog +* Tue Jan 18 2011 Volker Fröhlich <volker27@gmx.at> - 2.6.1-1 +- Initial package for Fedora diff --git a/unfinished/python-networkx.spec b/unfinished/python-networkx.spec new file mode 100644 index 0000000..88d7b9f --- /dev/null +++ b/unfinished/python-networkx.spec @@ -0,0 +1,62 @@ +%define short_name networkx + +%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5) +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} +%endif +# Can be removed after EOL of F12 + +Name: python-networkx +Version: 1.4 +Release: 1%{?dist} +Summary: Create, manipulate and study complex networks + +Group: Development/Libraries +License: BSD +URL: http://networkx.lanl.gov/index.html +Source0: http://pypi.python.org/packages/source/%{short_name}/%{short_name}-%{version}.tar.gz +#Source0: http://networkx.lanl.gov/download/%{short_name}/%{short_name}-%{version}rc1.tar.gz + +#BuildArch: noarch +BuildRequires: python-devel python-setuptools-devel + +#Es geht auch was mit numpy, scipy, matplotlib, graphviz, pyparsing, pyyaml + +%description +NetworkX is a Python package for the creation, manipulation, +and study of the structure, dynamics, and functions of complex networks. + +%prep +%setup -q -n %{short_name}-%{version} + + +%build +%{__python} setup.py build + + +%check +#%{__python} setup.py test + + +%install +%{__python} setup.py install --skip-build --root %{buildroot} +#Installiert unerwünschterweise die Dokumentation selbst + +rm -rf %{buildroot}/%{_datadir} + +%clean + + +%files +%defattr(-,root,root,-) +%doc README.txt LICENSE.txt +%doc PKG-INFO examples doc +%{python_sitelib}/%{short_name} +%{python_sitelib}/%{short_name}-%{version}-py*.egg-info +# These two scripts are also in the examples directory, have no shebang +# and seem to serve no purpose otherwise. + + +%changelog +* Mon Jan 17 2011 Volker Fröhlich <volker27@gmx.at> - 1.4-1 +- Initial packaging diff --git a/unfinished/qextserialport.spec b/unfinished/qextserialport.spec new file mode 100644 index 0000000..35358dc --- /dev/null +++ b/unfinished/qextserialport.spec @@ -0,0 +1,82 @@ +Name: qextserialport +Version: 1.2.0 +#Stimmt nicht ganz +Release: 1%{?dist} +Summary: Qt interface class for old fashioned serial ports +Group: System Environment/Libraries +License: BSD +URL: http://code.google.com/p/qextserialport/ +Source0: %{name}-%{version}.tar.gz + +# Introduces placeholders in Qmake's .pri and .pro file to be substituted later +#Patch0: %{name}_path.diff + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +#BuildRequires: qt4-devel + +%description +QextSerialPort provides an interface to old fashioned serial ports for +Qt-based applications. It currently supports Mac OS X, Windows, Linux, FreeBSD. + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the files necessary +to develop applications using Qextserialport. + +%prep +%setup -qn %{name} + +# Encode Changelog to utf-8 +iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv ChangeLog.conv ChangeLog + +#%patch0 -p1 -b .path + +# Set include an lib paths; path for documentation +#sed -i "s\LIBPATH\ %{buildroot}/%{_libdir}\1" qwtpolar.pri +#sed -i "s\HEADERPATH\ %{buildroot}/%{_includedir}/%{name}\1" qwtpolar.pri +#sed -i "s\DOCPATH\ %{buildroot}/%{_docdir}/%{name}-%{version}\1" qwtpolar.pri +#sed -i "s|/path/to/qwt-5.2/include|%{_includedir}/qwt|" qwtpolar.pri +#sed -i "s|/path/to/qwt-5.2/lib|%{_libdir}|" qwtpolar.pri + +# Add buildroot to installation path for Designer plug-in +#sed -i "s|BUILDROOT|%{buildroot}|" designer/designer.pro + + +%build + +qmake-qt4 +make %{?_smp_mflags} + +%install +#rm -rf %{buildroot} + +#Das tut gar nix +make install DESTDIR=%{buildroot} + +# +#mv %{buildroot}%{_docdir}/%{name}/man/man3/* %{buildroot}/%{_mandir}/man3/%{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc ChangeLog +#%{_libdir}/lib%{name}.so.* + +%files devel +%defattr(-,root,root,-) +#%{_includedir}/%{name} + +%changelog +* Sun Feb 20 2011 Volker Fröhlich <volker27@gmx.at> 1.2.0-1 +- Initial packaging for Fedora diff --git a/unfinished/qwtpolar.spec b/unfinished/qwtpolar.spec new file mode 100644 index 0000000..9f95210 --- /dev/null +++ b/unfinished/qwtpolar.spec @@ -0,0 +1,88 @@ +Name: qwtpolar +Version: 0.1.0 +Release: 1%{?dist} +Summary: Display values on a polar coordinate system +Group: System Environment/Libraries +License: LGPLv2 with exceptions +URL: http://qwtpolar.sourceforge.net/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 + +# Introduces placeholders in Qmake's .pri and .pro file to be substituted later +Patch0: %{name}_path.diff + +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: qt4-devel +BuildRequires: qwt-devel + +%description +The QwtPolar library contains classes for displaying values on a polar +coordinate system. It is an add-on package for to the Qwt Library. + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains the files necessary +to develop applications using QwtPolar. + +%prep +%setup -q + +%patch0 -p1 -b .path + +# Verbose Makefile, set include- and lib paths as well as path for documentation +sed -i "/silent/d" qwtpolar.pri +sed -i "s\LIBPATH\ %{buildroot}/%{_libdir}\1" qwtpolar.pri +sed -i "s\HEADERPATH\ %{buildroot}/%{_includedir}/%{name}\1" qwtpolar.pri +sed -i "s\DOCPATH\ %{buildroot}/%{_docdir}/%{name}-%{version}\1" qwtpolar.pri +sed -i "s|/path/to/qwt-5.2/include|%{_includedir}/qwt|" qwtpolar.pri +sed -i "s|/path/to/qwt-5.2/lib|%{_libdir}|" qwtpolar.pri +# Add buildroot to installation path for Designer plug-in +sed -i "s|BUILDROOT|%{buildroot}|" designer/designer.pro +#sed -i "s|qwtpolar\\$\\$|\\$\\$|" designer/designer.pro +#sed -i "/qwtpolar\\$\\$/d" designer/designer.pro + +chmod 644 COPYING + +%build + +qmake-qt4 +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make install DESTDIR=%{buildroot} +install -d %{buildroot}/%{_mandir}/man3/%{name} + +# +#mv %{buildroot}%{_docdir}/%{name}/man/man3/* %{buildroot}/%{_mandir}/man3/%{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING CHANGES +%{_libdir}/lib%{name}.so.* +%{_libdir}/qt4/plugins/designer/libqwt_polar_designer_plugin.so +%exclude %{_libdir}/lib%{name}.so +%exclude %{_includedir}/%{name} + +%files devel +%defattr(-,root,root,-) +%{_mandir}/man3/%{name} +#%{_docdir}/%{name}-%{version} +%{_includedir}/%{name} +%{_libdir}/lib%{name}.so + +%changelog +* Tue Feb 01 2011 Volker Fröhlich <volker27@gmx.at> 0.1.0-1 +- Initial packaging for Fedora diff --git a/unfinished/rasdaman.spec b/unfinished/rasdaman.spec new file mode 100644 index 0000000..2d43953 --- /dev/null +++ b/unfinished/rasdaman.spec @@ -0,0 +1,90 @@ +Name: rasdaman +#Unfug +Version: 8.0.0 +Release: 1%{?dist} +Summary: Weiss nicht + +Group: System Environment/Libraries +License: GPLv3+ +URL: http://www.rasdaman.org +Source0: %{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: hdf-devel hdf-static +BuildRequires: netpbm-devel +BuildRequires: libtiff-devel +# Ist die jetzt aktuell? +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +# Java 8.3.0 bis 8.3.6 gehen nicht +BuildRequires: postgresql-devel +#Java shit +BuildRequires: openssl-devel +Requires: hdf +Requires(pre): /usr/sbin/useradd + +%description +Dies und das + +%package devel +Summary: Development Libraries for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Provides: %{name}-static = %{version}-%{release} + +%description devel +Development package for %{name} including header files. + + +%prep +%setup -q + +#Syntax error +#sed -i 's| -fPIC|\" -fPIC\"|' configure + +#GCC-4.5-Problem +#sed -i 's|^QtONCStream::QtONCStream\*$|QtONCStream\*|' qlparser/qtdelete.cc + +%build + +export CPPFLAGS="$CPPFLAGS -I%{_includedir}/netpbm" +export LDFLAGS="$LDFLAGS -L%{_libdir}/hdf" + +# Some header names are just to generic to let them go directly into /usr/include +%configure \ + --with-logdir=%{_var}/log/%{name} \ + --includedir=%{_includedir}/%{name} + +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +%pre +# Add "rasdaman" user +/usr/sbin/useradd -c "rasdaman" #-u? und mehr + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc COPYING +%config(noreplace)%{_sysconfdir}/rasmgr.conf +%{_bindir}/* +%{_datadir}/%{name} +%{_var}/log/%{name} + + +%files devel +%defattr(-,root,root,-) +%{_includedir}/%{name} +%{_libdir}/* + +%changelog +* Tue Mar 01 2011 Volker Fröhlich <volker27@gmx.at> - 8.0.0-1 +- Initial packaging + diff --git a/unfinished/saga.spec b/unfinished/saga.spec new file mode 100644 index 0000000..4d07ee7 --- /dev/null +++ b/unfinished/saga.spec @@ -0,0 +1,69 @@ +Name: saga +Version: 2.0.6 +Release: 1%{?dist} +Summary: Geographic information system with an API for processing geodata + +Group: Applications/Engineering +# Überall steht V2, bei manchen Modulen aber auch V2 or later; V3 steht nirgends, Adresse falsch; Teile sind absichtlich LPGL (Zumindest AUCH 2.1) +License: GPLv3 +URL: http://www.saga-gis.org +Source0: http://downloads.sourceforge.net/%{name}/%{name}_%{version}.tar.gz +#/download + +BuildRequires: wxGTK-devel +BuildRequires: proj-devel +BuildRequires: gdal-devel +BuildRequires: jasper-devel +BuildRequires: libtiff-devel +BuildRequires: unixODBC-devel +BuildRequires: libharu-devel +BuildRequires: vigra-devel +# Das gehört letztlich zu libpng bzw. jasper +BuildRequires: g2clib-devel +BuildRequires: libtool automake autoconf + +%description +SAGA is a geographic information system (GIS), with a special +'Application Programming Interface' (API) for geographic data processing. +This API makes it easy to implement new algorithms. The SAGA API supports +grid data, vector data, and tables. + +%prep +%setup -q +chmod -x src/modules_io/grid/io_grid_grib2/g2clib-1.0.4/* + +sed -i 's/\r//' AUTHORS + +%build +autoreconf -i +%configure --enable-unicode --disable-static +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +# Drop libtool archives +rm -f %{buildroot}/%{_libdir}/saga/lib*.la %{buildroot}/%{_libdir}/saga/libsaga_*.la +# TODO: Unused dependencies +# TODO: Desktop-File und so +# Ist da mit Python was? +# Beispieldaten-Tarball gäbe es +# G2CLIB ist dabei! Die haben wir eh. Lizenz OK? +# Esri-Schmarren ist sauber? + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc COPYING AUTHORS ChangeLog +%{_libdir}/saga +%{_bindir}/saga* +%{_libdir}/libsaga_* +%{_mandir}/man1/saga_* + +%changelog +* Fri Nov 26 2010 Volker Fröhlich <volker27@gmx.at> - 2.0.6-1 +- Initial packaging diff --git a/unfinished/spatialite-gui.spec b/unfinished/spatialite-gui.spec new file mode 100644 index 0000000..9e6bf55 --- /dev/null +++ b/unfinished/spatialite-gui.spec @@ -0,0 +1,57 @@ +Name: spatialite-gui +Version: 1.4.0 +Release: 1%{?dist} +Summary: GUI to manage Spatialite databases + +Group: Applications/Databases +License: GPLv3 +URL: http://www.gaia-gis.it/spatialite-2.4.0-4 +Source0: http://www.gaia-gis.it/spatialite-2.4.0-4/spatialite_gui-1.4.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libspatialite-devel +#BuildRequires: libgaigraphics-devel kommt mir halt vor, obwohl ich jetzt keinen Beleg sehe +BuildRequires: wxGTK-devel +BuildRequires: sqlite-devel +BuildRequires: geos-devel +BuildRequires: proj-devel + +#Baut bisher nur in Rawhide erfolgreich (getestet mit Mock); dürfte an der Sqlite-Version liegen. + +%description +GUI to manage Spatialite databases. + +%prep +%setup -q -n spatialite_gui-%{version} +rm -f Makefile-static* +sed -i 's/LIBS = @LIBS@/LIBS = -lproj -lgeos_c @LIBS@/' Makefile.in +#Pfuscherei + +%build + +%configure LDFLAGS=-lproj \ + --disable-static +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_bindir}/* + + +%changelog +* Wed Dec 8 2010 Volker Fröhlich <volker27@gmx.at> 1.4.0-1 +- Initial packaging diff --git a/unfinished/tinyows-323svn.spec b/unfinished/tinyows-323svn.spec new file mode 100644 index 0000000..255dbdd --- /dev/null +++ b/unfinished/tinyows-323svn.spec @@ -0,0 +1,101 @@ +Name: tinyows +Version: 323svn +Release: 1%{?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}-%{version}.tar.bz2 +#Source1: no_date_footer.html +#Requires: httpd # Nicht zwangsläufig den +Requires: postgis >= 1.5 + +BuildRequires: ctags valgrind indent +BuildRequires: graphviz doxygen +BuildRequires: libxml2-devel postgresql-devel fcgi-devel + +%description +TinyOWS server implements latest WFS-T standard versions, +as well as related standards such as Filter Encoding (FE). + +%prep +%setup -q + +%build +autoconf +%configure \ + --with-fastcgi \ + --with-pg_config + #--prefix=%{_prefix} +# Ungültig + + +# fix datadir lookup path +sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h +sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' test/config.xml +#Womöglich nöt +# fix DSO lookup +#sed -i -e 's|-lpq|-lpq -lm|' Makefile + +# WARNING +# disable %{?_smp_mflags} +# it breaks compile +make %{?_smp_mflags} + +# 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} + +make install PREFIX=%{buildroot}%{_datadir} +#make install-test +install -d %{buildroot}%{_bindir} +install -p -m 0755 tinyows %{buildroot}%{_bindir}/ +install -d %{buildroot}%{_sysconfdir}/%{name} +install -p -m 0644 test/config.xml %{buildroot}%{_sysconfdir}/%{name} +pushd %{buildroot}%{_datadir}/%{name}/ + ln -s ../../..%{_sysconfdir}/%{name}/config.xml config.xml +popd + +%clean +rm -rf %{buildroot} + +%check + +# Im Moment fliegt man da komplett raus (Mem leak) +#make %{?_smp_mflags} test-valgrind +#|| true + +%files +%defattr(-,root,root,-) +%doc LICENSE README VERSION +#%doc doc/doxygen +%{_bindir}/%{name} +%{_datadir}/%{name} +%dir %{_sysconfdir}/%{name} +%attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/config.xml + +%changelog +* Sat Sep 11 2010 Volker Fröhlich <volker27@gmx.at> - 0.9.0-1 +- bla + +* 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 diff --git a/unfinished/tinyows.spec b/unfinished/tinyows.spec new file mode 100644 index 0000000..8e9c499 --- /dev/null +++ b/unfinished/tinyows.spec @@ -0,0 +1,110 @@ +Name: tinyows +Version: 0.9.0 +Release: 1%{?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}-%{version}.tar.bz2 +#Source1: no_date_footer.html +#Requires: httpd # Nicht zwangsläufig den + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: postgis >= 1.5 + +BuildRequires: ctags valgrind indent +BuildRequires: graphviz doxygen +BuildRequires: libxml2-devel postgresql-devel fcgi-devel + +%description +TinyOWS server implements latest WFS-T standard versions, +as well as related standards such as Filter Encoding (FE). + +%prep +%setup -q + +%build +# autoconf? +%configure \ + #Ob das hier nicht _bindir sein sollte, weil da kommt die Binary hin + --prefix=%{_prefix} + --with-fastcgi \ + --with-pg_config +# Was machen pg_config und _xml2_config? +# Ungültig +#configure hat ac_default_prefix=/usr/local + +# fix datadir lookup path +sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' src/ows_define.h +sed -i -e 's|/usr/tinyows/|%{_datadir}/%{name}/|' test/config.xml +#Womöglich nöt +# fix DSO lookup +#sed -i -e 's|-lpq|-lpq -lm|' Makefile + +# WARNING +# disable %{?_smp_mflags} +# it breaks compile +# Übernimmt cflags nicht richtig! +make %{?_smp_mflags} + +# 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} + +#Geht destdir nicht? + +make install PREFIX=%{buildroot}%{_datadir} +make install-test +install -d %{buildroot}%{_bindir} +install -p -m 0755 tinyows %{buildroot}%{_bindir}/ +install -d %{buildroot}%{_sysconfdir}/%{name} +install -p -m 0644 test/config.xml %{buildroot}%{_sysconfdir}/%{name} +#Was ist DAS für ein Konstrukt? +pushd %{buildroot}%{_datadir}/%{name}/ + ln -s ../../..%{_sysconfdir}/%{name}/config.xml config.xml +popd + +%clean +rm -rf %{buildroot} + +%check +#Demo? + +# Im Moment fliegt man da komplett raus (Mem leak) +#make %{?_smp_mflags} test-valgrind +#|| true + +%files +%defattr(-,root,root,-) +%doc LICENSE README NEWS +#%doc doc/doxygen +%{_bindir}/%{name} +%{_datadir}/%{name} +%dir %{_sysconfdir}/%{name} +%attr(644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/config.xml + +%changelog +* Sat Sep 11 2010 Volker Fröhlich <volker27@gmx.at> - 0.9.0-1 +- bla + +* 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 diff --git a/unfinished/tinyows.spec.alt b/unfinished/tinyows.spec.alt new file mode 100644 index 0000000..e9caf0c --- /dev/null +++ b/unfinished/tinyows.spec.alt @@ -0,0 +1,92 @@ +Name: tinyows +Version: 0.7.0 +Release: 1%{?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 +# fix DSO lookup +sed -i -e 's|-lpq|-lpq -lm|' Makefile + + +# 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 +* 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 |