diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..42bcef4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +vifir-0.4.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 22bc93d..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/sources b/sources index e69de29..73d7a94 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +60349b5fe5305abe99a6fad80d08359f vifir-0.4.tar.gz diff --git a/vifir.spec b/vifir.spec new file mode 100644 index 0000000..0f03e58 --- /dev/null +++ b/vifir.spec @@ -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 - 0.4-1 +- Initial package for Fedora