diff options
Diffstat (limited to 'unfinished/gpstk.spec.autotools')
-rw-r--r-- | unfinished/gpstk.spec.autotools | 106 |
1 files changed, 106 insertions, 0 deletions
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 |