[atlas] added pkgconfig file
Frantisek Kluknavsky
fkluknav at fedoraproject.org
Thu Oct 23 16:49:45 UTC 2014
commit 46bc45dbe78fdfadc52b30bbaa43f56eb4017188
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date: Thu Oct 23 18:49:45 2014 +0200
added pkgconfig file
atlas.spec | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/atlas.spec b/atlas.spec
index f9cac9c..81ae500 100644
--- a/atlas.spec
+++ b/atlas.spec
@@ -5,7 +5,7 @@ Version: 3.10.1
%if "%{?enable_native_atlas}" != "0"
%define dist .native
%endif
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: Automatically Tuned Linear Algebra Software
Group: System Environment/Libraries
@@ -502,6 +502,18 @@ for type in %{types}; do
> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}-${type}.conf
fi
done
+
+#create pkgconfig file
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
+cat > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/atlas.pc << DATA
+Name: %{name}
+Version: %{version}
+Description: %{summary}
+Cflags: -I%{_includedir}atlas
+Libs: -L%{_libdir}/atlas -lsatlas
+DATA
+
+
mkdir -p %{buildroot}%{_includedir}/atlas
@@ -668,6 +680,7 @@ fi
%{_includedir}/atlas-%{_arch}-base/
%{_includedir}/*.h
%ghost %{_includedir}/atlas
+%{_libdir}/pkgconfig/atlas.pc
%files static
%defattr(-,root,root,-)
@@ -809,6 +822,9 @@ fi
%endif
%changelog
+* Thu Oct 23 2014 Frantisek Kluknavsky <fkluknav at redhat.com> - 3.10.1-15
+- added pkgconfig file
+
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.10.1-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list