commit 98b9e719286228cc27f30ccda4237249a7651116
Author: Jakub Bogusz <>
Date:   Fri Mar 2 22:26:22 2018 +0100

    - new

 gnuastro.spec | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 163 insertions(+)
diff --git a/gnuastro.spec b/gnuastro.spec
new file mode 100644
index 0000000..5354876
--- /dev/null
+++ b/gnuastro.spec
@@ -0,0 +1,163 @@
+# Conditional build:
+%bcond_without static_libs     # static library
+Summary:       GNU Astronomy Utilities
+Summary(pl.UTF-8):     Narzędzia astronomiczne GNU
+Name:          gnuastro
+Version:       0.5
+Release:       1
+License:       GPL v3+
+Group:         Applications/Science
+# Source0-md5: 2ed4ed0357a373c19291b1c67fd8bd8f
+BuildRequires: autoconf >= 2.69
+BuildRequires: automake
+BuildRequires: cfitsio-devel
+BuildRequires: curl-devel
+BuildRequires: ghostscript >= 9.10
+BuildRequires: gsl-devel
+BuildRequires: help2man
+BuildRequires: libgit2-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libtool >= 2:2
+BuildRequires: lzip
+BuildRequires: tar >= 1:1.22
+BuildRequires: wcslib-devel
+Suggests:      ghostscript >= 9.10
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+GNU Astronomy Utilities (Gnuastro) is an official GNU package of
+programs and a library functions for astronomical data manipulation
+and analysis. The programs are run on the operating system's
+command-line enabling easy and efficient operation combined with other
+installed programs in shell scripts or Makefiles. The libraries are
+also usable in C and C++ programs.
+%description -l pl.UTF-8
+GNU Astronomy Utilities (Gnuastro) to oficjalny pakiet GNU zawierający
+programy i funkcje biblioteczne do obróbki i analiz danych
+astronomicznych. Programy są uruchamiane z wiersza poleceń systemu
+operacyjnego, co pozwala na łatwe i wydajne operowanie w połączeniu z
+innymi zainstalowanymi programami lub z poziomu plików Makefile.
+Biblioteki mogą być używane w programach w C i C++.
+%package devel
+Summary:       Header files for Gnuastro library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Gnuastro
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      cfitsio-devel
+Requires:      gsl-devel
+Requires:      libgit2-devel
+Requires:      wcslib-devel
+%description devel
+Header files for Gnuastro library.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Gnuastro.
+%package static
+Summary:       Static Gnuastro library
+Summary(pl.UTF-8):     Statyczna biblioteka Gnuastro
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+%description static
+Static Gnuastro library.
+%description static -l pl.UTF-8
+Statyczna biblioteka Gnuastro.
+%setup -q
+# regenerate for as-needed to work
+%{__aclocal} -I bootstrapped/m4
+%configure \
+       --sysconfdir=%{_sysconfdir}/gnuastro \
+       %{!?with_static_libs:--disable-static}
+%{__make} install \
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/
+# packaged as %doc
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/gnuastro/README
+%post  -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+%postun        -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+%attr(755,root,root) %{_bindir}/astarithmetic
+%attr(755,root,root) %{_bindir}/astbuildprog
+%attr(755,root,root) %{_bindir}/astconvertt
+%attr(755,root,root) %{_bindir}/astconvolve
+%attr(755,root,root) %{_bindir}/astcosmiccal
+%attr(755,root,root) %{_bindir}/astcrop
+%attr(755,root,root) %{_bindir}/astfits
+%attr(755,root,root) %{_bindir}/astmatch
+%attr(755,root,root) %{_bindir}/astmkcatalog
+%attr(755,root,root) %{_bindir}/astmknoise
+%attr(755,root,root) %{_bindir}/astmkprof
+%attr(755,root,root) %{_bindir}/astnoisechisel
+%attr(755,root,root) %{_bindir}/aststatistics
+%attr(755,root,root) %{_bindir}/asttable
+%attr(755,root,root) %{_bindir}/astwarp
+%attr(755,root,root) %{_libdir}/*.*.*
+%attr(755,root,root) %ghost %{_libdir}/
+%dir %{_sysconfdir}/gnuastro
+%config(noreplace) %verify(not md5 mtime size) 
+%config(noreplace) %verify(not md5 mtime size) 
+%files devel
+%attr(755,root,root) %{_libdir}/
+%if %{with static_libs}
+%files static

---- gitweb:

pld-cvs-commit mailing list

Reply via email to