]> git.pld-linux.org Git - packages/armadillo.git/commitdiff
- new auto/th/armadillo-3.4.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Oct 2012 18:31:53 +0000 (20:31 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 14 Oct 2012 18:31:53 +0000 (20:31 +0200)
armadillo.spec [new file with mode: 0644]

diff --git a/armadillo.spec b/armadillo.spec
new file mode 100644 (file)
index 0000000..5a738f2
--- /dev/null
@@ -0,0 +1,99 @@
+Summary:       C++ linear algebra library
+Summary(pl.UTF-8):     Biblioteka C++ do algebry liniowej
+Name:          armadillo
+Version:       3.4.3
+Release:       1
+License:       LGPL v3+
+Group:         Libraries
+Source0:       http://downloads.sourceforge.net/arma/%{name}-%{version}.tar.gz
+# Source0-md5: 300129a4f02599fdbdfc5966f9662949
+URL:           http://arma.sourceforge.net/
+BuildRequires: blas-devel
+BuildRequires: boost-devel >= 1.34
+BuildRequires: cmake >= 2.6
+BuildRequires: lapack-devel
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Armadillo is a C++ linear algebra library (matrix maths) aiming
+towards a good balance between speed and ease of use. The syntax is
+deliberately similar to Matlab.
+
+%description -l pl.UTF-8
+Armadillo to biblioteka C++ do algebry liniowej (obliczeń na
+macierzach), której celem jest dobry kompromis między szybkością a
+łatwością użycia. Składnia jest celowo podobna do Matlaba.
+
+%package devel
+Summary:       Header files for Armadillo library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki Armadillo
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      blas-devel
+Requires:      boost-devel >= 1.34
+Requires:      lapack-devel
+Requires:      libstdc++-devel
+
+%description devel
+Header files for Armadillo library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Armadillo.
+
+%package static
+Summary:       Static Armadillo library
+Summary(pl.UTF-8):     Statyczna biblioteka Armadillo
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static Armadillo library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka Armadillo.
+
+%package apidocs
+Summary:       Armadillo API documentation
+Summary(pl.UTF-8):     Dokumentacja API biblioteki Armadillo
+Group:         Documentation
+
+%description apidocs
+API and internal documentation for Armadillo library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki Armadillo.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.txt README.txt
+%attr(755,root,root) %{_libdir}/libarmadillo.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libarmadillo.so.3
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libarmadillo.so
+%{_includedir}/armadillo
+%{_includedir}/armadillo_bits
+%dir %{_datadir}/Armadillo
+%{_datadir}/Armadillo/CMake
This page took 0.085959 seconds and 4 git commands to generate.