From a8d21a7282aec59f6a9c5521429832b9e9862396 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 4 Dec 2014 21:47:28 +0100 Subject: [PATCH 1/1] - new --- CoinDataNetlib.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 CoinDataNetlib.spec diff --git a/CoinDataNetlib.spec b/CoinDataNetlib.spec new file mode 100644 index 0000000..4d5a1ec --- /dev/null +++ b/CoinDataNetlib.spec @@ -0,0 +1,44 @@ +Summary: COIN-OR Netlib models +Summary(pl.UTF-8): Modele Netlib z projektu COIN-OR +Name: CoinDataNetlib +Version: 1.2.6 +Release: 1 +License: Eclipse Public License v1.0 +Group: Libraries +Source0: http://www.coin-or.org/download/source/Data/Netlib-%{version}.tgz +# Source0-md5: aa6aee0e51e50e5336316be735ec819f +URL: https://projects.coin-or.org/svn/Data/Netlib +BuildRequires: rpmbuild(macros) >= 1.446 +BuildRequires: zlib-devel +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +COIN-OR Netlib models. + +%description -l pl.UTF-8 +Modele Netlib z projektu COIN-OR. + +%prep +%setup -q -n Netlib-%{version} + +%build +%configure \ + --build=%{_build} + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + pkgconfiglibdir=%{_npkgconfigdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_datadir}/coin/Data/Netlib +%{_npkgconfigdir}/coindatanetlib.pc -- 2.43.0