Группа :: Система/Библиотеки
Пакет: wcslib
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define sover 6
%define libwcs libwcs%sover
Name: wcslib
Version: 6.4
Release: alt1
Group: System/Libraries
Summary: An implementation of the FITS World Coordinate System standard
Url: http://www.atnf.csiro.au/people/mcalabre/WCS/
License: LGPLv3+ / GPLv3+
Source: %name-%version.tar
# Automatically added by buildreq on Mon Nov 11 2013 (-bi)
# optimized out: elfutils gnu-config pkg-config python-base python3 python3-base ruby ruby-stdlibs
#BuildRequires: flex libcfitsio-devel rpm-build-python3 rpm-build-ruby
BuildRequires: flex libcfitsio-devel zlib-devel
%description
WCSLIB is a library that implements the "World Coordinate System" (WCS)
convention in FITS (Flexible Image Transport System)
%package -n %libwcs
Group: System/Libraries
Summary: An implementation of the FITS World Coordinate System standard
License: LGPLv3+
%description -n %libwcs
WCSLIB is a library that implements the "World Coordinate System" (WCS)
convention in FITS (Flexible Image Transport System)
%package devel
Group: Development/C
Summary: Libraries, includes, etc. used to develop an application with %name
License: LGPLv3+
%description devel
These are the files needed to develop an application using %name.
%package utils
Summary: Utility programs provided by %name
Group: Development/Other
License: GPLv3+
%description utils
Utils provided with %name
%prep
%setup
%autoreconf
%build
%add_optflags %optflags_shared
%configure \
--disable-fortran \
--disable-static \
#
%make -C C
%make_build
%install
%make install DESTDIR=%buildroot
# cleanup
rm -rf %buildroot/%_libdir/*.a
rm -rf %buildroot/%_docdir/wcslib-*
%files -n %libwcs
%doc README
%_libdir/libwcs.so.%sover
%_libdir/libwcs.so.%sover.*
%files devel
%doc html wcslib.pdf README
%_libdir/*.so
%_libdir/pkgconfig/wcslib.pc
%_includedir/wcslib
%_includedir/wcslib-%version
%files utils
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define sover 6
%define libwcs libwcs%sover
Name: wcslib
Version: 6.4
Release: alt1
Group: System/Libraries
Summary: An implementation of the FITS World Coordinate System standard
Url: http://www.atnf.csiro.au/people/mcalabre/WCS/
License: LGPLv3+ / GPLv3+
Source: %name-%version.tar
# Automatically added by buildreq on Mon Nov 11 2013 (-bi)
# optimized out: elfutils gnu-config pkg-config python-base python3 python3-base ruby ruby-stdlibs
#BuildRequires: flex libcfitsio-devel rpm-build-python3 rpm-build-ruby
BuildRequires: flex libcfitsio-devel zlib-devel
%description
WCSLIB is a library that implements the "World Coordinate System" (WCS)
convention in FITS (Flexible Image Transport System)
%package -n %libwcs
Group: System/Libraries
Summary: An implementation of the FITS World Coordinate System standard
License: LGPLv3+
%description -n %libwcs
WCSLIB is a library that implements the "World Coordinate System" (WCS)
convention in FITS (Flexible Image Transport System)
%package devel
Group: Development/C
Summary: Libraries, includes, etc. used to develop an application with %name
License: LGPLv3+
%description devel
These are the files needed to develop an application using %name.
%package utils
Summary: Utility programs provided by %name
Group: Development/Other
License: GPLv3+
%description utils
Utils provided with %name
%prep
%setup
%autoreconf
%build
%add_optflags %optflags_shared
%configure \
--disable-fortran \
--disable-static \
#
%make -C C
%make_build
%install
%make install DESTDIR=%buildroot
# cleanup
rm -rf %buildroot/%_libdir/*.a
rm -rf %buildroot/%_docdir/wcslib-*
%files -n %libwcs
%doc README
%_libdir/libwcs.so.%sover
%_libdir/libwcs.so.%sover.*
%files devel
%doc html wcslib.pdf README
%_libdir/*.so
%_libdir/pkgconfig/wcslib.pc
%_includedir/wcslib
%_includedir/wcslib-%version
%files utils
%_bindir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь