mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Add rpm files to build Fedora/CentOS/RHEL packages
This commit is contained in:
parent
c0090d8cfe
commit
e12601ef7f
5
rpm/.gitignore
vendored
Normal file
5
rpm/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
result
|
||||
*.tar.gz
|
||||
local.cfg
|
||||
version.cfg
|
||||
qgis.spec
|
142
rpm/buildrpms.sh
Executable file
142
rpm/buildrpms.sh
Executable file
@ -0,0 +1,142 @@
|
||||
#!/bin/bash
|
||||
function print_info
|
||||
{
|
||||
echo -e "\e[0;32m$1\033[0m"
|
||||
}
|
||||
|
||||
function print_error
|
||||
{
|
||||
echo -e "\033[0;31m$1\033[0m"
|
||||
}
|
||||
|
||||
function print_help
|
||||
{
|
||||
echo '
|
||||
Creates RPM packages.
|
||||
|
||||
Usage:
|
||||
-s only create srpm, nothing will be compiled
|
||||
-b build last srpm, the package release number will not be increased
|
||||
-h show help
|
||||
'
|
||||
}
|
||||
|
||||
build_only=0
|
||||
srpm_only=0
|
||||
|
||||
while getopts "shb" opt; do
|
||||
case ${opt} in
|
||||
s)
|
||||
srpm_only=1
|
||||
;;
|
||||
[\?|h])
|
||||
print_help
|
||||
exit 0
|
||||
;;
|
||||
b)
|
||||
build_only=1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Load default config
|
||||
source default.cfg
|
||||
# Load local config file
|
||||
if [ -f local.cfg ]
|
||||
then
|
||||
source local.cfg
|
||||
fi
|
||||
|
||||
# Get next release version number and increment after
|
||||
if [ ! -f version.cfg ]
|
||||
then
|
||||
echo "RELVER=1" > version.cfg
|
||||
fi
|
||||
source version.cfg
|
||||
if [ "$build_only" -ne "1" ]
|
||||
then
|
||||
let RELVER+=1
|
||||
echo "RELVER=$RELVER" > version.cfg
|
||||
fi
|
||||
|
||||
# Clean logfiles
|
||||
if [ -f $OUTDIR/build.log ]
|
||||
then
|
||||
print_info "Cleaning log file"
|
||||
rm $OUTDIR/build.log
|
||||
fi
|
||||
|
||||
# Get the version string
|
||||
major=$(grep -e 'SET(CPACK_PACKAGE_VERSION_MAJOR' ../CMakeLists.txt |
|
||||
sed 's/.*\([0-9]\).*/\1/')
|
||||
minor=$(grep -e 'SET(CPACK_PACKAGE_VERSION_MINOR' ../CMakeLists.txt |
|
||||
sed 's/.*\([0-9]\).*/\1/')
|
||||
patch=$(grep -e 'SET(CPACK_PACKAGE_VERSION_PATCH' ../CMakeLists.txt |
|
||||
sed 's/.*\([0-9]\).*/\1/')
|
||||
|
||||
version=$(echo $major.$minor.$patch)
|
||||
|
||||
print_info "Building version $version-$RELVER"
|
||||
|
||||
if [ "$build_only" -ne "1" ]
|
||||
then
|
||||
# Current git branch name
|
||||
branch=$(git branch --no-color 2> /dev/null |
|
||||
sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
|
||||
|
||||
print_info "Creating source tarball"
|
||||
# Create source tarball
|
||||
git -C .. archive --format=tar --prefix=qgis-$version/ $BRANCH | bzip2 > sources/qgis-$version.tar.gz
|
||||
|
||||
print_info "Creating source package"
|
||||
# Create spec file
|
||||
cat qgis.spec.template | sed -e s/%{_version}/$version/g \
|
||||
| sed -e s/%{_relver}/$RELVER/g \
|
||||
| tee qgis.spec 1>/dev/null
|
||||
# Build source package
|
||||
mock --buildsrpm --spec qgis.spec --sources ./sources --define "_relver $RELVER" --define "_version $version" --resultdir=$OUTDIR
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
print_error "Creating source package failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
srpm=$(grep -e 'Wrote: .*\.src\.rpm' $OUTDIR/build.log |
|
||||
sed 's_Wrote: /builddir/build/SRPMS/\(.*\)_\1_')
|
||||
|
||||
print_info "Source package created: $srpm"
|
||||
fi
|
||||
|
||||
if [ "$srpm_only" -eq "1" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Create packages for every ARCH defined in the config file
|
||||
for arch in "${ARCHS[@]}"
|
||||
do :
|
||||
print_info "Building packages for $arch"
|
||||
if [ -f $OUTDIR/$arch/build.log ]
|
||||
then
|
||||
print_info "Cleaning log file"
|
||||
rm $OUTDIR/$arch/build.log
|
||||
fi
|
||||
mkdir $OUTDIR/$arch
|
||||
mock -r $arch --rebuild $OUTDIR/$srpm --define "_relver $RELVER" --define "_version $version" --resultdir=$OUTDIR/$arch
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
# Add to package list
|
||||
packages="$packages $(ls $OUTDIR/$arch/*-$version-$RELVER.*.rpm)"
|
||||
else
|
||||
print_error "Package creation for $arch failed. Abort"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
if $NOSIGN
|
||||
then
|
||||
print_info "Signing packages"
|
||||
rpm --resign $packages
|
||||
fi
|
||||
|
||||
print_info "Done"
|
22
rpm/default.cfg
Normal file
22
rpm/default.cfg
Normal file
@ -0,0 +1,22 @@
|
||||
# Do not edit this file!
|
||||
#
|
||||
# Create a file local.cfg instead and redefine any options in your local.cfg.
|
||||
#
|
||||
# This file conatins a default configuration and will be overwritten by the
|
||||
# maintainer.
|
||||
|
||||
# Where should the results go
|
||||
OUTDIR="result/"
|
||||
|
||||
# Which arches to build for. Check /etc/mock for possible options
|
||||
ARCHS=( "fedora-20-i386"
|
||||
"fedora-20-x86_64"
|
||||
"fedora-21-i386"
|
||||
"fedora-21-x86_64"
|
||||
)
|
||||
|
||||
# Which git branch to export. Normally take the current
|
||||
BRANCH="HEAD"
|
||||
|
||||
# If set to true: don't sign the packages
|
||||
NOSIGN=false
|
923
rpm/qgis.spec.template
Normal file
923
rpm/qgis.spec.template
Normal file
@ -0,0 +1,923 @@
|
||||
# WARNING: Rebuild QGIS whenever a new version of GRASS is shipped! Even though the soname might stay the same, it won't work anymore.
|
||||
#http://hub.qgis.org/issues/5274
|
||||
|
||||
# libspatialite is present for PPC and PPC64 from F19 on
|
||||
%ifarch ppc ppc64
|
||||
%if ! (0%{?fedora} < 19 || 0%{?rhel})
|
||||
%global configure_with_spatialite -D WITH_QSPATIALITE:BOOL=TRUE -D WITH_INTERNAL_SPATIALITE:BOOL=FALSE
|
||||
%endif
|
||||
%else
|
||||
%global configure_with_spatialite -D WITH_QSPATIALITE:BOOL=TRUE -D WITH_INTERNAL_SPATIALITE:BOOL=FALSE
|
||||
%endif
|
||||
|
||||
#WITH_GLOBE -- requires osgearth, which is still not packaged
|
||||
#TODO: Run test suite (see debian/rules)
|
||||
|
||||
Name: qgis
|
||||
Version: %{_version}
|
||||
Release: %{_relver}%{?dist}
|
||||
Summary: A user friendly Open Source Geographic Information System
|
||||
Group: Applications/Engineering
|
||||
|
||||
# http://hub.qgis.org/issues/3789
|
||||
License: GPLv3+ with exceptions
|
||||
URL: http://www.qgis.org
|
||||
Source0: http://qgis.org/downloads/%{name}-%{version}.tar.gz
|
||||
# The used sources were released as a tarball, the below is only for work in progress
|
||||
#git archive --format=tar --prefix=qgis-1.8.0/ master | bzip2 >../qgis-1.8.0.tar.gz
|
||||
|
||||
# Sample configuration files for QGIS server
|
||||
Source2: %{name}-server-httpd.conf
|
||||
Source4: %{name}-server-README.fedora
|
||||
|
||||
# MIME definitions
|
||||
# Based on debian/qgis.xml but excluding already defined or proprietary types
|
||||
Source5: %{name}-mime.xml
|
||||
|
||||
# Some plug-ins need Pyspatialite (bundled)
|
||||
# The license is not totally clear, see:
|
||||
# http://code.google.com/p/pyspatialite/issues/detail?id=3
|
||||
# It also is sort of a fork of pysqlite, which is not elegant.
|
||||
#
|
||||
# F20 and up instead allow for loadable sqlite extensions in Python:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1066708
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: fcgi-devel
|
||||
BuildRequires: flex bison
|
||||
BuildRequires: gdal-devel
|
||||
BuildRequires: geos-devel
|
||||
BuildRequires: grass-devel
|
||||
BuildRequires: gsl-devel
|
||||
|
||||
%ifarch ppc ppc64
|
||||
%if (0%{?fedora} || 0%{?rhel} > 6)
|
||||
BuildRequires: libspatialite-devel
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: libspatialite-devel
|
||||
%endif
|
||||
|
||||
BuildRequires: postgresql-devel
|
||||
BuildRequires: proj-devel
|
||||
BuildRequires: PyQt4-devel
|
||||
BuildRequires: PyQwt-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: qextserialport-devel
|
||||
BuildRequires: qscintilla-devel
|
||||
BuildRequires: qscintilla-python-devel
|
||||
BuildRequires: qt4-devel
|
||||
|
||||
# Fails to build with QT_MOBILITY
|
||||
#http://hub.qgis.org/issues/7753
|
||||
#BuildRequires: qt-mobility-devel
|
||||
|
||||
BuildRequires: qt4-webkit-devel
|
||||
BuildRequires: qwt-devel
|
||||
|
||||
BuildRequires: qextserialport-devel
|
||||
BuildRequires: qwtpolar-devel
|
||||
BuildRequires: sip-devel > 4.7
|
||||
BuildRequires: spatialindex-devel
|
||||
BuildRequires: sqlite-devel
|
||||
|
||||
# Fails to build with QT_MOBILITY
|
||||
#http://hub.qgis.org/issues/7753
|
||||
#BuildRequires: qt-mobility-devel
|
||||
|
||||
# Enable for tests
|
||||
#BuildRequires: xorg-x11-server-Xvfb
|
||||
|
||||
Requires: gpsbabel
|
||||
|
||||
# We don't want to provide private Python extension libs
|
||||
%if (0%{?fedora} || 0%{?rhel} > 6)
|
||||
%global __provides_exclude_from ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$
|
||||
%global __requires_exclude_from ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} == 6
|
||||
%{?filter_setup:
|
||||
%filter_provides_in ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$
|
||||
%filter_requires_in ^(%{python_sitearch}|%{_libdir}/%{name}/plugins)/.*\.so(\.%{version})?$
|
||||
%filter_setup
|
||||
}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Geographic Information System (GIS) manages, analyzes, and displays
|
||||
databases of geographic information. QGIS supports shape file
|
||||
viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection
|
||||
on-the-fly, map composition, and a number of other features via a plugin
|
||||
interface. QGIS also supports display of various geo-referenced raster and
|
||||
Digital Elevation Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid,
|
||||
and USGS ASCII DEM.
|
||||
|
||||
%package devel
|
||||
Summary: Development Libraries for the QGIS
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development packages for QGIS including the C header files.
|
||||
|
||||
%package grass
|
||||
Summary: GRASS Support Libraries for QGIS
|
||||
Group: Applications/Engineering
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
# The plug-in requires more than just the grass-libs.
|
||||
# This questions the sense of the libs package is questionable
|
||||
|
||||
# WARNING: Rebuild QGIS whenever a new version of GRASS is shipped! Even though
|
||||
# the soname might stay the same, it won't work anymore.
|
||||
#http://hub.qgis.org/issues/5274
|
||||
Requires: grass = 6.4.4
|
||||
|
||||
%description grass
|
||||
GRASS plugin for QGIS required to interface with the GRASS system.
|
||||
|
||||
%package python
|
||||
Summary: Python integration and plug-ins for QGIS
|
||||
Group: Applications/Engineering
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: gdal-python
|
||||
Requires: PyQt4
|
||||
Requires: python-httplib2
|
||||
Requires: python-jinja2
|
||||
Requires: python-matplotlib
|
||||
Requires: python-OWSLib
|
||||
Requires: python-psycopg2
|
||||
Requires: python-pygments
|
||||
Requires: python-six
|
||||
Requires: qscintilla-python
|
||||
%{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
||||
|
||||
%description python
|
||||
Python integration and plug-ins for QGIS.
|
||||
|
||||
%package server
|
||||
Summary: FCGI-based OGC web map server
|
||||
Group: Applications/Engineering
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: mod_fcgid
|
||||
Provides: mapserver = %{version}-%{release}
|
||||
Obsoletes: mapserver < 2.8.1-1
|
||||
|
||||
%description server
|
||||
This FastCGI OGC web map server implements OGC WMS 1.3.0 and 1.1.1.
|
||||
The services are prepared as regular projects in QGIS. They're rendered using
|
||||
the QGIS libraries. The server also supports SLD (Styled Layer Descriptor)
|
||||
for styling. Sample configurations for Httpd and Lighttpd are included.
|
||||
|
||||
Please refer to %{name}-server-README.fedora for details!
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
# Remove executable permissions from source code files
|
||||
find . \( -name "*.cpp" -o -name "*.h" \) -type f -perm /111 -execdir chmod -x {} \+
|
||||
|
||||
# Readme file for QGIS server configuration and Lighttpd example
|
||||
install -pm0644 %{SOURCE4} .
|
||||
|
||||
# Delete bundled libs
|
||||
rm -rf src/core/spatialite/
|
||||
rm -rf src/core/gps/qwtpolar-{0.1,1.0}/
|
||||
rm -rf src/core/gps/qextserialport/
|
||||
rm -rf src/core/gps/qextserialport/
|
||||
rm -rf "python/ext-libs/!(CMakeLists.txt|tests)"
|
||||
|
||||
rm -rf src/plugins/dxf2shp_converter/
|
||||
sed -i '/dxf2shp_converter/d' src/plugins/CMakeLists.txt
|
||||
|
||||
gzip ChangeLog
|
||||
|
||||
|
||||
%build
|
||||
|
||||
# Necessary for the test suite
|
||||
#export LD_LIBRARY_PATH=%{_builddir}%{name}-%{version}/output/%{_lib}
|
||||
|
||||
#Info: TOUCH needs Qt >= 4.5
|
||||
%cmake \
|
||||
%{_cmake_skip_rpath} \
|
||||
-D QGIS_LIB_SUBDIR=%{_lib} \
|
||||
-D QGIS_MANUAL_SUBDIR=/share/man \
|
||||
-D QGIS_CGIBIN_SUBDIR=%{_libexecdir}/%{name} \
|
||||
-D WITH_BINDINGS:BOOL=TRUE \
|
||||
-D MAPSERVER_SKIP_ECW=TRUE \
|
||||
-D GRASS_PREFIX=%{_libdir}/grass \
|
||||
-D WITH_MAPSERVER:BOOL=TRUE \
|
||||
-D WITH_CUSTOM_WIDGETS:BOOL=TRUE \
|
||||
-D BINDINGS_GLOBAL_INSTALL:BOOL=TRUE \
|
||||
-D ENABLE_TESTS:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_DATEUTIL:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_HTTPLIB2:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_JINJA2:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_MARKUPSAFE:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_OWSLIB:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_PYGMENTS:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_PYTZ:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_QEXTSERIALPORT:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_QWTPOLAR:BOOL=FALSE \
|
||||
-D WITH_INTERNAL_SIX:BOOL=FALSE \
|
||||
-D WITH_PYSPATIALITE:BOOL=FALSE \
|
||||
-D WITH_SERVER:BOOL=TRUE \
|
||||
-D WITH_TOUCH:BOOL=TRUE \
|
||||
%{configure_with_spatialite} \
|
||||
.
|
||||
#-D WITH_QTMOBILITY:BOOL=TRUE \
|
||||
# Doesn't build, see above!
|
||||
#-D WITH_GLOBE:BOOL=TRUE
|
||||
# Globe requires osgearth, which is still not packaged
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
# Necessary for the test suite
|
||||
#export LD_LIBRARY_PATH=%{_builddir}%{name}-%{version}/output/%{_lib}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# Install desktop file without connecting proprietary file types
|
||||
desktop-file-install \
|
||||
%if (0%{?rhel} && 0%{?rhel} < 7)
|
||||
--vendor="fedora" \
|
||||
%endif
|
||||
--remove-mime-type="application/x-raster-ecw" \
|
||||
--remove-mime-type="application/x-raster-mrsid" \
|
||||
--dir=%{buildroot}%{_datadir}/applications \
|
||||
debian/qgis.desktop
|
||||
|
||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications \
|
||||
debian/qbrowser.desktop
|
||||
|
||||
# Install MIME type definitions
|
||||
install -d %{buildroot}%{_datadir}/mime/packages
|
||||
install -pm0644 %{SOURCE5} \
|
||||
%{buildroot}%{_datadir}/mime/packages/%{name}.xml
|
||||
|
||||
# Install application and MIME icons
|
||||
install -pd %{buildroot}%{_datadir}/pixmaps
|
||||
install -pd %{buildroot}%{_datadir}/icons/hicolor/16x16/apps
|
||||
install -pd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
|
||||
install -pd %{buildroot}%{_datadir}/icons/hicolor/128x128/mimetypes
|
||||
install -pm0644 \
|
||||
%{buildroot}%{_datadir}/%{name}/images/icons/%{name}-icon.png \
|
||||
%{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
install -pm0644 \
|
||||
images/icons/%{name}-icon-16x16.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
||||
install -pm0644 \
|
||||
images/icons/%{name}_icon.svg \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
install -pm0644 \
|
||||
%{buildroot}%{_datadir}/%{name}/images/icons/%{name}-mime-icon.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-qgis-layer-settings.png
|
||||
install -pm0644 \
|
||||
%{buildroot}%{_datadir}/%{name}/images/icons/%{name}-mime-icon.png \
|
||||
%{buildroot}%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-qgis-project.png
|
||||
|
||||
# Install basic QGIS Mapserver configuration for Apache
|
||||
install -pd %{buildroot}%{_sysconfdir}/httpd/conf.d
|
||||
install -pm0644 %{SOURCE2} \
|
||||
%{buildroot}%{_sysconfdir}/httpd/conf.d/qgis-server.conf
|
||||
|
||||
# See qgis-server-README.fedora
|
||||
rm -f %{buildroot}%{_libexecdir}/%{name}/wms_metadata.xml
|
||||
rm -f %{buildroot}%{_libexecdir}/%{name}/admin.sld
|
||||
|
||||
# Remove install instructions
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/doc/INSTALL
|
||||
|
||||
# Name of locale is wrong
|
||||
#mv %{buildroot}/usr/share/qgis/i18n/qgis_sr_Latn.qm \
|
||||
#%{buildroot}/usr/share/qgis/i18n/qgis_sr@latin.qm
|
||||
|
||||
%find_lang %{name} --with-qt
|
||||
|
||||
|
||||
%check
|
||||
# All tests basically run fine, but one fails using mock, while a different one fails when building with rpmbuild alone
|
||||
#export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||
#xvfb-run -a -n 1 -s "-screen 0 1280x1024x24 -dpi 96" make Experimental
|
||||
#rm -f %{_bindir}%{name}_bench
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%post grass -p /sbin/ldconfig
|
||||
|
||||
%postun grass -p /sbin/ldconfig
|
||||
|
||||
%post python -p /sbin/ldconfig
|
||||
|
||||
%postun python -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc BUGS CODING NEWS Exception_to_GPL_for_Qt.txt ChangeLog.gz
|
||||
# QGIS shows the following files in the GUI, including the license text
|
||||
%doc %{_datadir}/%{name}/doc/
|
||||
%dir %{_datadir}/%{name}/i18n/
|
||||
%lang(zh-Hans) %{_datadir}/%{name}/i18n/%{name}_zh-Hans.qm
|
||||
%if 0%{?rhel}
|
||||
%lang(sr@latin) %{_datadir}/%{name}/i18n/%{name}_sr@latin.qm
|
||||
%endif
|
||||
%{_libdir}/lib%{name}_analysis.so.*
|
||||
%{_libdir}/lib%{name}_core.so.*
|
||||
%{_libdir}/lib%{name}_gui.so.*
|
||||
%{_libdir}/lib%{name}_networkanalysis.so.*
|
||||
%{_libdir}/lib%{name}_server.so.*
|
||||
%{_libdir}/%{name}/
|
||||
%{_qt4_prefix}/plugins/sqldrivers/libqsqlspatialite.so
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/qbrowser
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_mandir}/man1/qbrowser.1*
|
||||
%dir %{_datadir}/%{name}/
|
||||
%{_datadir}/mime/packages/qgis.xml
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-qgis-project.png
|
||||
%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-qgis-layer-settings.png
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_datadir}/applications/*%{name}.desktop
|
||||
%{_datadir}/applications/qbrowser.desktop
|
||||
%{_datadir}/%{name}/images/
|
||||
%{_datadir}/%{name}/resources/
|
||||
%{_datadir}/%{name}/svg/
|
||||
%exclude %{_libdir}/libqgisgrass6.so.*
|
||||
%exclude %{_libdir}/%{name}/plugins/libgrassprovider6.so
|
||||
%exclude %{_libdir}/%{name}/plugins/libgrassrasterprovider6.so
|
||||
%exclude %{_libdir}/%{name}/plugins/libgrassplugin6.so
|
||||
%exclude %{_libdir}/%{name}/grass/
|
||||
|
||||
%files devel
|
||||
%{_datadir}/%{name}/FindQGIS.cmake
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/lib%{name}*.so
|
||||
%{?_qt4_plugindir}/designer/libqgis_customwidgets.so*
|
||||
|
||||
%files grass
|
||||
%{_libdir}/lib%{name}grass6.so.*
|
||||
%{_libdir}/%{name}/plugins/libgrassprovider6.so
|
||||
%{_libdir}/%{name}/plugins/libgrassrasterprovider6.so
|
||||
%{_libdir}/%{name}/plugins/libgrassplugin6.so
|
||||
%{_libdir}/%{name}/grass/
|
||||
%{_datadir}/%{name}/grass/
|
||||
|
||||
%files python
|
||||
%{_libdir}/libqgispython.so.*
|
||||
%{_datadir}/%{name}/python/
|
||||
%{python_sitearch}/%{name}/
|
||||
%{python_sitearch}/PyQt4/uic/widget-plugins/
|
||||
|
||||
%files server
|
||||
%doc src/server/admin.sld src/server/wms_metadata.xml %{name}-server-README.fedora
|
||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}-server.conf
|
||||
%{_libexecdir}/%{name}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 1 2015 Matthias Kuhhn <matthias@opengis.ch>
|
||||
- Remove grass patch and apply it upstream
|
||||
- Add suffix 6 to grass libs
|
||||
|
||||
* Mon Mar 9 2015 Volker Fröhlich <volker27@gmx.at> - 2.8.1-2
|
||||
- Add upstream patch to fix the build on ARM
|
||||
|
||||
* Sun Mar 8 2015 Volker Fröhlich <volker27@gmx.at> - 2.8.1-1
|
||||
- New upstream release, remove included patch change
|
||||
- Rename mapserver sub-package to server
|
||||
- Add a new locale not found by find_lang
|
||||
- Partly solve the icon file naming issue (BZ#1166977)
|
||||
|
||||
* Thu Feb 19 2015 Dave Johansen <davejohansen@gmail.com> 2.6.1-2
|
||||
- Rebuild for gcc 5.0 C++ ABI change
|
||||
|
||||
* Fri Jan 2 2015 Dave Johansen <davejohansen@gmail.com> - 2.6.1-1
|
||||
- Update to 2.6.1
|
||||
|
||||
* Sun Nov 2 2014 Volker Fröhlich <volker27@gmx.at> - 2.6.0-2
|
||||
- Fix the build on ARMv7hl, thanks to Sandro Mani!
|
||||
- Updated the removing of executable permissions from source code files
|
||||
- Add qscintilla-python-devel as BR
|
||||
- Don't build the dxf converter plug-in
|
||||
- Remove the Python directory definitions that were necessary on EL5
|
||||
|
||||
* Sun Nov 2 2014 Volker Fröhlich <volker27@gmx.at> - 2.6.0-1
|
||||
- New upstream release, drop obsolete patch, update the sip patch
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Tue Aug 12 2014 Rex Dieter <rdieter@fedoraproject.org> 2.4.0-6
|
||||
- update mime scriptlet
|
||||
|
||||
* Sun Aug 10 2014 Devrim GÜNDÜZ <devrim@gunduz.org> - 2.4.0-5
|
||||
- Rebuild against new grass
|
||||
|
||||
* Sat Aug 9 2014 Volker Fröhlich <volker27@gmx.at> - 2.4.0-4
|
||||
- Rebuild for grass 6.4.4
|
||||
|
||||
* Mon Jul 28 2014 Volker Fröhlich <volker27@gmx.at> - 2.4.0-3
|
||||
- Restore ARM build (Thanks to Sandro Mani for the patch!)
|
||||
|
||||
* Fri Jul 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.0-2
|
||||
- rebuild (libspatialite)
|
||||
|
||||
* Sat Jun 28 2014 Volker Fröhlich <volker27@gmx.at> - 2.4.0-1
|
||||
- New upstream release, drop obsolete patches, update remaining
|
||||
- Remove references to "Quantum"
|
||||
- Add CODING and BUGS file
|
||||
- Add necessary direct Python module dependencies
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Fri Mar 28 2014 Volker Fröhlich <volker27@gmx.at> - 2.2.0-3
|
||||
- ARM build fix
|
||||
|
||||
* Sun Mar 16 2014 Rex Dieter <rdieter@fedoraproject.org> 2.2.0-2
|
||||
- rebuild (sip)
|
||||
|
||||
* Sat Feb 22 2014 Volker Fröhlich <volker27@gmx.at> - 2.2.0-1
|
||||
- New upstream release
|
||||
- Fix the issue of the license text not being shown in the GUI
|
||||
- Drop EL5 support leftovers
|
||||
- Remove private provides
|
||||
- Remove unnecessary explicit paths for GDAL
|
||||
- Simplify conditionals
|
||||
- Remove custom plugin directory setting
|
||||
- Delete bundled Pyspatialite
|
||||
- Compress changelog file
|
||||
- Simplify documentation labeling
|
||||
|
||||
* Fri Feb 07 2014 Volker Fröhlich <volker27@gmx.at> - 2.0.1-8
|
||||
- Rebuild for minor ABI breakage in spatialindex 1.8.1
|
||||
|
||||
* Wed Dec 25 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.1-7
|
||||
- Python sub-package must require psycopg2 for the Processing plug-in
|
||||
(BZ #1043683)
|
||||
|
||||
* Fri Nov 08 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.1-6
|
||||
- Rebuild for new qwt and qwtpolar
|
||||
|
||||
* Sat Oct 19 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.1-5
|
||||
- Patch QGIS #8507 -- QGIS trunk failed to compile with sip 4.15
|
||||
- Patch QGIS #8601 -- sip: QgsFieldValidator::fixup has versioned and
|
||||
unversioned overloads
|
||||
|
||||
* Wed Oct 16 2013 Rex Dieter <rdieter@fedoraproject.org> 2.0.1-4
|
||||
- rebuild (sip)
|
||||
|
||||
* Tue Oct 1 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.1-3
|
||||
- Fix Grass version to make breakage more visible
|
||||
|
||||
* Fri Sep 27 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.1-2
|
||||
- Remove import path for httplib2 module to use the system version
|
||||
- Use upstream desktop files
|
||||
|
||||
* Wed Sep 25 2013 Volker Fröhlich <volker27@gmx.at> - 2.0.1-1
|
||||
- New upstream release
|
||||
- Exclude ARM for now, due to build issues
|
||||
|
||||
* Sat Sep 14 2013 Volker Fröhlich <volker27@gmx.at> - 1.8.0-17
|
||||
- Rebuild for grass 6.4.3
|
||||
|
||||
* Tue Aug 27 2013 Orion Poplawski <orion@cora.nwra.com> - 1.8.0-16
|
||||
- Rebuild for gdal 1.10.0
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Mon Jun 17 2013 Rex Dieter <rdieter@fedoraproject.org> 1.8.0-14
|
||||
- rebuild (sip)
|
||||
|
||||
* Fri Feb 22 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.8.0-13
|
||||
- Remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Dec 15 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-11
|
||||
- Rebuild for spatialindex soname bump
|
||||
|
||||
* Sun Dec 2 2012 Bruno Wolff III <bruno@wolff.to> - 1.8.0-10
|
||||
- Rebuild for libspatialite soname bump
|
||||
|
||||
* Thu Nov 8 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-9
|
||||
- Build with system version of qextserialport
|
||||
- Update config file to fit httpd 2.4 (BZ#871471)
|
||||
|
||||
* Wed Oct 03 2012 Rex Dieter <rdieter@fedoraproject.org> 1.8.0-8
|
||||
- rebuild (sip)
|
||||
|
||||
* Thu Aug 9 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-7
|
||||
- Append ppc to ppc64 conditionals
|
||||
|
||||
* Wed Jul 18 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-6
|
||||
- Add patch for QGIS bug #5809
|
||||
|
||||
* Sat Jul 7 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-5
|
||||
- Rebuilt too quick
|
||||
|
||||
* Sat Jul 7 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-4
|
||||
- One more rebuild, due to a broken GDAL
|
||||
|
||||
* Fri Jul 6 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-3
|
||||
- Rebuild for Spatialite 3
|
||||
|
||||
* Thu Jul 5 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-2
|
||||
- Correct locale if clause
|
||||
- Apply patch for older versions of SIP
|
||||
|
||||
* Fri Jun 29 2012 Volker Fröhlich <volker27@gmx.at> - 1.8.0-1
|
||||
- New upstream release
|
||||
- Correct provides-filtering as of https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Usage
|
||||
- Drop obsolete spatialindex patch
|
||||
- FSF addresses are now correct
|
||||
- Explicitly set PYSPATIALITE to false
|
||||
- Don't ship the 4 MB changelog
|
||||
- Use wildcard for soname versions
|
||||
|
||||
* Tue Apr 10 2012 Volker Fröhlich <volker27@gmx.at> - 1.7.4-4
|
||||
- Been to quick with rebuilding, proper spatialindex build wasn't used yet
|
||||
|
||||
* Mon Apr 9 2012 Volker Fröhlich <volker27@gmx.at> - 1.7.4-3
|
||||
- Apply patch for Spatialindex 1.7's include dir
|
||||
- Rebuild for Spatialindex 1.7.1
|
||||
|
||||
* Fri Mar 23 2012 Volker Fröhlich <volker27@gmx.at> - 1.7.4-2
|
||||
- Rebuild for GRASS 6.4.2
|
||||
|
||||
* Sun Feb 19 2012 Volker Fröhlich <volker27@gmx.at> - 1.7.4-1
|
||||
- Update for new release
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sat Dec 10 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.3-1
|
||||
- Update for new release
|
||||
- Is also the rebuild for BZ#761147
|
||||
- Arch-specifically require the base package
|
||||
|
||||
* Tue Nov 15 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.2-1
|
||||
- Updated for new release
|
||||
- No more themes directory
|
||||
- Remove dispensable geo-referencing patch
|
||||
|
||||
* Sun Oct 16 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.1-2
|
||||
- Findlang doesn't recognize sr@latin in Fedora 14 and older
|
||||
- Build with system-wide spatialindex
|
||||
- Remove if structures intended for EPEL package
|
||||
Due to the rapid development in QGIS and the libraries it uses,
|
||||
QGIS will not go to EPEL now; ELGIS provides rebuilds with more
|
||||
current versions: http://elgis.argeo.org/
|
||||
|
||||
* Sat Sep 24 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.1-1
|
||||
- Update for new release
|
||||
- Drop one patch that made it into the release
|
||||
- Correct permissions for two cpp files
|
||||
- Change spelling for changelog file
|
||||
- Findlang seems to find sr@latin now, so don't explicitly list it
|
||||
- Build with Qwtpolar
|
||||
- Remove grass as BR
|
||||
- Add GRASS_PREFIX again
|
||||
Cmake uses the first entry in FindGRASS.cmake,
|
||||
which is not fine for 64 bit systems
|
||||
|
||||
* Sun Jul 24 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.0-5
|
||||
- Extend histogram patch, see BZ 725161
|
||||
|
||||
* Wed Jul 06 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.0-4
|
||||
- Remove icon path macros, that don't work in EPEL
|
||||
- Avoid creating unnecessary directories there
|
||||
- Be explicit about the shared lib names in the files section
|
||||
- Put libqgispython.so.1.7.0 in Python sub-package
|
||||
- Correct FSF address
|
||||
|
||||
* Wed Jul 06 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.0-3
|
||||
- Withdraw immature Lighty configuration
|
||||
- Update README and provide a better sample configuration,
|
||||
that utilizes mod_rewrite
|
||||
|
||||
* Sun Jun 26 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.0-2
|
||||
- Add histogram patch
|
||||
- Add scriplets to refresh icon cache
|
||||
- Mention Fedora specific readme file in QGIS server description
|
||||
- Update the aforementioned file and the Apache configuration
|
||||
with rewrite rules
|
||||
|
||||
* Sun Jun 26 2011 Volker Fröhlich <volker27@gmx.at> - 1.7.0-1
|
||||
- Update for 1.7
|
||||
- License is now GPLv3+ (Sqlanyconnect)
|
||||
- Add server sub-package and require mod_fcgi
|
||||
- Use upstreams current description text
|
||||
- Drop now needless iconv
|
||||
- Rename new Serbian translations
|
||||
- Install MIME type definitions and icons
|
||||
- Add Readme file and sample configuration for server
|
||||
- Add patch to avoid segfault when geo-referencing
|
||||
- Add conditional for Spatialite and PPC64
|
||||
- Add conditional for GRASS and EPEL
|
||||
- Delete bundled libspatialite before building
|
||||
- Removed glob from /usr/bin/qgis in files section
|
||||
|
||||
* Thu Nov 11 2010 Volker Fröhlich <volker27@gmx.at> - 1.6.0-2
|
||||
- Disabled smp-flags again
|
||||
|
||||
* Thu Nov 11 2010 Volker Fröhlich <volker27@gmx.at> - 1.6.0-1
|
||||
- Avoid rpaths in the first place
|
||||
- Dropped superfluid QWT and SIP patches
|
||||
- Dropped test section
|
||||
- Added dependency for fcgi-devel
|
||||
- Abbreviated syntax for setup macro
|
||||
- Qt translations are no longer shipped
|
||||
|
||||
* Wed Sep 29 2010 jkeating - 1.5.0-6
|
||||
- Rebuilt for gcc bug 634757
|
||||
|
||||
* Mon Sep 13 2010 Volker Fröhlich <volker27@gmx.at> - 1.5.0-5
|
||||
- Added workaround patch for SIP 4.11, see http://trac.osgeo.org/qgis/ticket/2985
|
||||
|
||||
* Thu Sep 09 2010 Rex Dieter <rdieter@fedoraproject.org> 1.5.0-4
|
||||
- rebuild (sip)
|
||||
- BR: qt4-devel
|
||||
|
||||
* Fri Jul 30 2010 Volker Fröhlich <volker27@gmx.at> - 1.5.0-3
|
||||
- Added dependency for gdal-python to fulfill standard plugins' requirements
|
||||
|
||||
* Tue Jul 27 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.5.0-2.py27
|
||||
- one more time for python27, with feeling
|
||||
|
||||
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.5.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Sat Jul 17 2010 Volker Fröhlich <volker27@gmx.at> - 1.5.0-1
|
||||
- Updated for 1.5.0
|
||||
- Added support for qwt
|
||||
|
||||
* Wed Jul 14 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-9
|
||||
- Re-added missing dependency of PyQt4 and sip for python sub-package
|
||||
|
||||
* Fri Jul 09 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-8
|
||||
- Further completed qt47 patch
|
||||
|
||||
* Fri Jul 09 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-7
|
||||
- Further completed qt47 patch
|
||||
|
||||
* Fri Jul 09 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-6
|
||||
- Added patch to remove redundant ::QVariant in function-style cast
|
||||
|
||||
* Fri Jul 09 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-5
|
||||
- Removed smp_mflags because of race conditions
|
||||
- Simplified member initializer syntax in qt47 patch
|
||||
|
||||
* Wed Jul 07 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-4
|
||||
- Added preliminary patch for Qt 4.7 -- still won't build for Rawhide because of https://bugzilla.redhat.com/show_bug.cgi?id=587707
|
||||
- Put version variable in filelist for GRASS
|
||||
- Added qt-webkit as build require, removed gettext
|
||||
- Corrected erroneous dependency on GRASS subpackage
|
||||
|
||||
* Thu Jul 01 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-3
|
||||
- Changed license to reflect exception for Qt; packaged exception file
|
||||
- Added find_lang and excluded qt-translations
|
||||
- Added ownership for directory in share
|
||||
- Dropped docdir statement
|
||||
- Changed description for the subpackages python and grass
|
||||
|
||||
* Wed Jun 23 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-2
|
||||
- Grouped corresponding entries for description and package macro
|
||||
- Corrected swapped summaries for python- and grass-subpackage
|
||||
- Set theme subpackages as obsolete
|
||||
- Removed nonsensical build-requires statements from subpackages
|
||||
- Dropped redundant definition of GRASS_PREFIX
|
||||
- Removed verbose-option from make
|
||||
- Removed unnecessary chmod-command
|
||||
- Removed nonsensical ldconfig for devel-subpackage
|
||||
- Made the file list more elegant
|
||||
- Removed unnecessary call for chrpath
|
||||
|
||||
* Thu Jun 17 2010 Volker Fröhlich <volker27@gmx.at> - 1.4.0-1
|
||||
- Updated for 1.4.0
|
||||
- Dropped theme packages
|
||||
|
||||
* Wed Feb 10 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.0.2-6
|
||||
- rebuild for sip 4.10
|
||||
- fix sip version check so it works with sip 4.10 (#553713)
|
||||
|
||||
* Wed Jan 13 2010 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.0.2-5
|
||||
- Rebuild against new GEOS.
|
||||
|
||||
* Wed Dec 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-4
|
||||
- qgis rebuild for sip-4.9.x (#538119)
|
||||
|
||||
* Fri Dec 04 2009 Devrim GÜNDÜZ <devrim@gunduz.org> - 1.0.2-3
|
||||
- Rebuild for new Geos.
|
||||
|
||||
* Tue Nov 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0.2-2
|
||||
- -python: Requires: sip-api(%%_sip_api_major) >= %%_sip_api (#538119)
|
||||
|
||||
* Thu Oct 22 2009 Alex Lancaster <alexlan[AT] fedoraproject org> - 1.0.2-1.1
|
||||
- Rebuilt to fix python problem (#518121)
|
||||
|
||||
* Thu Jul 30 2009 Douglas E. Warner <silfreed@silfreed.net> 1.0.2-1
|
||||
- updating for 1.0.2
|
||||
- moving libqgispython.so to python subpackage for bug#507381
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Feb 18 2009 Douglas E. Warner <silfreed@silfreed.net> 1.0.1-1
|
||||
- updating for 1.0.1
|
||||
|
||||
* Mon Dec 22 2008 Douglas E. Warner <silfreed@silfreed.net> 1.0.0-1
|
||||
- updating for 1.0.0
|
||||
- added gis theme and quick print plugin
|
||||
- added requirement for gpsbabel
|
||||
|
||||
* Mon Dec 22 2008 Douglas E. Warner <silfreed@silfreed.net> - 0.11.0-8
|
||||
- cleaning up patch
|
||||
|
||||
* Mon Dec 22 2008 Douglas E. Warner <silfreed@silfreed.net> - 0.11.0-7
|
||||
- bump to add patch
|
||||
|
||||
* Thu Dec 18 2008 Douglas E. Warner <silfreed@silfreed.net> - 0.11.0-6
|
||||
- adding patch to fix typedef problems in python build
|
||||
|
||||
* Thu Dec 18 2008 Douglas E. Warner <silfreed@silfreed.net> - 0.11.0-5
|
||||
- Rebuild for Python 2.6
|
||||
|
||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.0-4
|
||||
- Rebuild for Python 2.6
|
||||
|
||||
* Sun Oct 19 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.11.0-3
|
||||
- Rebuild for new geos, fixes broken deps
|
||||
|
||||
* Mon Aug 11 2008 Douglas E. Warner <silfreed@silfreed.net> 0.11.0-2
|
||||
- building against blas and lapack instead of atlas and blas to fix missing
|
||||
library calls
|
||||
|
||||
* Wed Jul 16 2008 Douglas E. Warner <silfreed@silfreed.net> 0.11.0-1
|
||||
- update to metis 0.11.0
|
||||
- remove python patch
|
||||
- enabling python subpackage
|
||||
- fixed executable perms on new headers/source
|
||||
- stripping rpath with chrpath
|
||||
- making python libs executable to get files stripped
|
||||
|
||||
* Fri Mar 28 2008 Douglas E. Warner <silfreed@silfreed.net> 0.10.0-2
|
||||
- added patch to support cmake 2.6
|
||||
|
||||
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> - 0.10.0-1
|
||||
- upgraded to 0.10.0 release candidate
|
||||
- removed gcc 4.3 patches
|
||||
- adding devel package since libraries are now versioned
|
||||
|
||||
* Fri Mar 28 2008 Balint Cristian <rezso@rdsor.ro> - 0.9.1-5
|
||||
- fix build by adding more gcc43 patches
|
||||
- rebuild against grass63
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-4
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Mon Feb 18 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-4
|
||||
- adding gcc43-INT_MAX-qgis-0.9.1.patch
|
||||
- adding gcc43-duplicate_function_param-qgis-0.9.1.patch
|
||||
- adding gcc43-memcpy-qgis-0.9.1.patch
|
||||
- adding gcc43-memcpy-strtod-qgis-0.9.1.patch
|
||||
|
||||
* Mon Feb 18 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-3
|
||||
- adding Requires sip, PyQt4 for python bindings support
|
||||
|
||||
* Mon Jan 28 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-2
|
||||
- defining lib path in build
|
||||
- installing python bindings globally
|
||||
- adding patch to determine python site packages dir correctly
|
||||
|
||||
* Mon Dec 17 2007 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-1
|
||||
- update to 0.9.1
|
||||
- removing lib64 and man instal path patches (included upstream)
|
||||
- enabling python integration
|
||||
|
||||
* Fri Oct 05 2007 Douglas E. Warner <silfreed@silfreed.net> 0.9.0-2
|
||||
- enabling build for PPC64 (bug#247152)
|
||||
|
||||
* Wed Sep 26 2007 Douglas E. Warner <silfreed@silfreed.net> 0.9.0-1
|
||||
- update to 0.9.0
|
||||
- remove settings-include-workdir.patch
|
||||
- updated man-install-share.patch to man-install-share-0.9.0.patch
|
||||
- updated lib64-suffix.patch to lib64-suffix-0.9.0.patch
|
||||
- enabled python to support msexport tool
|
||||
- added Requires: grass to grass subpackage
|
||||
|
||||
* Tue Aug 28 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-13
|
||||
- bump for expat 2.0 rebuild bug#195888
|
||||
|
||||
* Thu Aug 02 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-12
|
||||
- updated License from GPL to GPLv2+
|
||||
|
||||
* Tue Jul 10 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-11
|
||||
- allowing docs to be installed by qgis so they can be referenced by internal
|
||||
help system (bug#241403)
|
||||
- updated lib64 patch (bug#247549) to try to get plugins found on x86_64
|
||||
|
||||
* Thu Jul 05 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-10
|
||||
- updated lib64 patch for core and grass libraries
|
||||
|
||||
* Thu Jul 05 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-9
|
||||
- updated lib64 patch
|
||||
|
||||
* Thu Jul 05 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-8
|
||||
- adding ExcludeArch: ppc64 for bug#247152 (lrelease segfault)
|
||||
|
||||
* Thu Jul 05 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-7
|
||||
- adding patch for lib64 support through lib_suffix
|
||||
|
||||
* Thu Jun 28 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-6
|
||||
- fixed date of changelog entry for 0.8.1-5 from Wed Jun 27 2007 to
|
||||
Thu Jun 28 2007
|
||||
- linking icon to included png instead of packaging it again
|
||||
|
||||
* Thu Jun 28 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-5
|
||||
- adding comment on why grass is required in addition to grass-devel for BR
|
||||
- fixing typo
|
||||
|
||||
* Wed Jun 27 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-4
|
||||
- adding contributors to doc
|
||||
- adding desktop file and icon
|
||||
|
||||
* Mon Jun 25 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-3
|
||||
- updating detection of grass libraries to not use RPM call
|
||||
- disabling building of -devel package due to shared libraries not being
|
||||
versioned and having no other packages that compile against qgis
|
||||
(see bug #241403)
|
||||
- removing chmod of test_export.py due to lack of python requirement
|
||||
- removing msexport and share/python directory due to removal of python
|
||||
|
||||
* Fri Jun 22 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-2
|
||||
- added BuildRequires: cmake
|
||||
- updated build to use cmake macro and make verbose
|
||||
|
||||
* Mon Jun 18 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.1-1
|
||||
- updating version
|
||||
- removed BuildRequires: python-devel due to lack of PyQt4 bindings
|
||||
- updated build for use of cmake instead of autotools
|
||||
- added patch for setting WORKDIR in settings.pro file
|
||||
- added patch for fixing install path of man pages
|
||||
- updated library names
|
||||
|
||||
* Tue May 29 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-6
|
||||
- adding BuildRequires bison, flex
|
||||
|
||||
* Tue May 29 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-5
|
||||
- fixing more directory owernship (themes, themes-default)
|
||||
- fixing qt4 hardcoded lib path
|
||||
- removing Requires ldconfig
|
||||
- adding BuildRequires sqlite-devel
|
||||
- adding patch for supporting python 2.5 in configure script
|
||||
|
||||
* Sat May 26 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-4
|
||||
- moving all BuildRequires to main section
|
||||
- dropping use of makeinstall macro
|
||||
- making sure directories are owned by this package
|
||||
- removing *.a and *.la files
|
||||
- disabled stripping of libraries and binaries to allow debuginfo package
|
||||
to be built
|
||||
- fixing macros in changelog
|
||||
- removing executable bits on source files
|
||||
|
||||
* Wed May 16 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-3
|
||||
- fixing Requires statements for sub-packages
|
||||
|
||||
* Tue May 15 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-2
|
||||
- added devel dependancy on qgis
|
||||
- moved qgis-config to devel package
|
||||
- moving doc directory
|
||||
- removed zero-length NEWS doc
|
||||
- added postin/postun ldconfig calls
|
||||
- split packages up to reduce package size and split out dependancies
|
||||
grass, theme-nkids
|
||||
|
||||
* Mon May 14 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.0-1
|
||||
- Initial RPM release.
|
||||
|
28
rpm/sources/qgis-mime.xml
Normal file
28
rpm/sources/qgis-mime.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0"?>
|
||||
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
|
||||
|
||||
<mime-type type="application/x-qgis-project">
|
||||
<comment>QGIS Project</comment>
|
||||
<comment xml:lang="de">QGIS-Projekt</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<alias type="application/x-qgis"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis projectname"/>
|
||||
</match>
|
||||
</magic>
|
||||
<glob pattern="*.qgs"/>
|
||||
</mime-type>
|
||||
|
||||
<mime-type type="application/x-qgis-layer-settings">
|
||||
<comment>QGIS layer settings</comment>
|
||||
<comment xml:lang="de">QGIS Layer Einstellungen</comment>
|
||||
<sub-class-of type="application/xml"/>
|
||||
<magic priority="50">
|
||||
<match type="string" offset="0" value="<!DOCTYPE qgis">
|
||||
<match type="string" offset="0:256" value="<qgis version"/>
|
||||
</match>
|
||||
</magic>
|
||||
<glob pattern="*.qml"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
61
rpm/sources/qgis-server-README.fedora
Normal file
61
rpm/sources/qgis-server-README.fedora
Normal file
@ -0,0 +1,61 @@
|
||||
==================================================
|
||||
QGIS server
|
||||
==================================================
|
||||
|
||||
QGIS server allows you to publish your QGIS projects as Web Map
|
||||
Services (WMS). Simply layout your map in QGIS. The WMS will look
|
||||
exactly the same, because QGIS server uses the same libraries for
|
||||
rendering, as the desktop application does.
|
||||
|
||||
A sample configuration file for Httpd is installed under
|
||||
/etc/httpd/conf.d/qgis-server.conf.
|
||||
|
||||
This configuration expects QGIS project files under /var/www/wms. To
|
||||
use it, reload the Httpd configuration and place the files you want to
|
||||
publish in this directory.
|
||||
|
||||
A getCapabilities request looks like this:
|
||||
|
||||
http://localhost/wms/my_qgis_project?SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0
|
||||
|
||||
QGIS project is "/var/www/wms/my_qgis_project.qgs". The sample
|
||||
configuration automatically adds the project file extension for you.
|
||||
|
||||
The actual data can stay where it is. Make sure QGIS server can
|
||||
access the project file and don't forget to let Httpd reload its
|
||||
configuration before sending your requests!
|
||||
|
||||
Please fill in the metadata tab for your QGIS project.
|
||||
|
||||
You can easily test your WMS by adding it as a WMS layer in QGIS.
|
||||
|
||||
==================================================
|
||||
|
||||
The traditional QGIS server configuration is less comfortable and
|
||||
I don't encourage it, unless you have a good reason to use it:
|
||||
|
||||
This approach only allows for a single map service.
|
||||
|
||||
It uses two configuration files, that must be located in the same
|
||||
directory as the FCGI binary:
|
||||
|
||||
- admin.sld
|
||||
- wms_metadata.xml
|
||||
|
||||
"admin.sld" uses extended SLD syntax (Style Layer Descriptor) to
|
||||
describe symbolization of data.
|
||||
|
||||
"wms_metadata.xml" supplies metadata for your WMS. You may also use this
|
||||
file with the kind of configuration mentioned on top. But if you want to
|
||||
serve different projects, and metadata varies between them, that file
|
||||
won't work for you. Please see above for how to define project specific
|
||||
metadata!
|
||||
|
||||
Both configuration files are included as documentation.
|
||||
|
||||
==================================================
|
||||
|
||||
Further information: http://karlinapp.ethz.ch/qgis_wms
|
||||
|
||||
Volker Fröhlich
|
||||
volker27@gmx.at
|
28
rpm/sources/qgis-server-httpd.conf
Normal file
28
rpm/sources/qgis-server-httpd.conf
Normal file
@ -0,0 +1,28 @@
|
||||
# This configuration is intended as an example.
|
||||
# It is not meant for productive use.
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule ^/wms/(.+)$ /qgis/qgis_mapserv.fcgi?map=/var/www/wms/$1.qgs [QSA,PT]
|
||||
|
||||
ScriptAlias /qgis/ "/usr/libexec/qgis/"
|
||||
|
||||
|
||||
<Directory "/usr/libexec/qgis/">
|
||||
|
||||
Options ExecCGI
|
||||
Options FollowSymLinks
|
||||
|
||||
<IfModule mod_authz_core.c>
|
||||
# Apache 2.4
|
||||
Require local
|
||||
</IfModule>
|
||||
|
||||
<IfModule !mod_authz_core.c>
|
||||
# Apache 2.2
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
Allow from ::1
|
||||
</IfModule>
|
||||
|
||||
</Directory>
|
Loading…
x
Reference in New Issue
Block a user