summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-22 15:47:26 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-22 15:47:26 +0100
commit83e6c70237328982fd9765593df8d567ed57cdf8 (patch)
tree9ba636a78a6857f8bcb25a2828afb1c7beb0de30
parentfa266635c6e6ad4ee9e82951c24e57c02a213e0b (diff)
add rpm spec file
-rw-r--r--NEWS4
-rw-r--r--gipfel.spec39
2 files changed, 43 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e7e0949..147e3e4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,10 @@
gipfel ChangeLog
=================
+gipfel-0.2.9
+* Add rpm spec file.
+* fsync() temporary file before rename().
+
gipfel-0.2.8
* Fix issue with image saving on some platforms (reported by David Mitchell).
* Fix crash in stitching mode.
diff --git a/gipfel.spec b/gipfel.spec
new file mode 100644
index 0000000..35404f3
--- /dev/null
+++ b/gipfel.spec
@@ -0,0 +1,39 @@
+Name: gipfel
+Summary: gipfel - Photogrammetry For Mountain Images
+Version: 0.2.8
+Release: 1
+URL: http://www.ecademix.com/JohannesHofmann/gipfel.html
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Source0: %{name}-%{version}.tar.gz
+License: GPL
+Group: Productivity/Scientific/Other
+
+BuildRequires: binutils gcc gcc-c++ libstdc++-devel gsl-devel fltk-devel libjpeg-devel libtiff-devel libpng-devel xorg-x11-libXext-devel
+
+Requires: jpeg exif
+
+%description
+gipfel helps to find the names of mountains or points of interest
+on a picture.
+It uses a database containing names and GPS data. With the given viewpoint
+(the point from which the picture was taken) and two known mountains
+on the picture, gipfel can compute all parameters needed to compute the
+positions of other mountains on the picture.
+gipfel can also be used to play around with the parameters manually.
+%prep
+%setup -q
+%build
+./configure --prefix=%{_prefix} --docdir=%{_defaultdocdir}/%{name} || cat config.log
+make
+%install
+make DESTDIR=$RPM_BUILD_ROOT install-strip
+%files
+%defattr(-, root, root)
+%doc NEWS README
+%{_bindir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/gipfel.dat
+
+%changelog
+* Sun Mar 22 2009 Johannes Hofmann <Johannes.Hofmann@gmx.de>
+- initial revision