Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afb8f6fca4 | ||
|
|
405061d707 | ||
| 36d79d0a19 | |||
|
|
42da28787c |
5 changed files with 68 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
vifir-0.4.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: vifir
|
||||
# $Id$
|
||||
NAME := vifir
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
60349b5fe5305abe99a6fad80d08359f vifir-0.4.tar.gz
|
||||
66
vifir.spec
Normal file
66
vifir.spec
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
Name: vifir
|
||||
Version: 0.4
|
||||
Release: 1%{?dist}
|
||||
Summary: A viewer for electronic aviation charts
|
||||
|
||||
Group: Applications/Communications
|
||||
License: GPLv3
|
||||
URL: http://vifir.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gtkmm24-devel
|
||||
BuildRequires: gpsd-devel
|
||||
BuildRequires: libgeotiff-devel
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: proj-devel
|
||||
BuildRequires: poppler-devel
|
||||
BuildRequires: poppler-glib-devel
|
||||
BuildRequires: libxml++-devel
|
||||
BuildRequires: libglademm24-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
Vifir processes and displays electronic aviation charts (currenty VFR
|
||||
Sectional Charts) produced by the U.S. National Aeronautical Charting
|
||||
Office in a similar way to an Electronic Flight Bag.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||
desktop-file-install \
|
||||
--delete-original \
|
||||
--add-category="Graphics;2DGraphics" \
|
||||
--dir=%{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING DEVELOPERS README THANKS TODO
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/*.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 26 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4-1
|
||||
- Initial package for Fedora
|
||||
Loading…
Add table
Add a link
Reference in a new issue