diff --git a/libsbml.spec b/libsbml.spec index a9bcb67..65bf556 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -24,7 +24,7 @@ Name: libsbml Version: 5.11.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Systems Biology Markup Language library License: LGPLv2+ @@ -159,6 +159,7 @@ This package contains %{summary}. BuildRequires: mono-core BuildRequires: xerces-c-devel, libxml2-devel, expat-devel Summary: C# bindings for libSBML +Requires: mono-core Requires: %{name}%{?_isa} = %{version}-%{release} %description sharp @@ -281,10 +282,6 @@ make %{?_smp_mflags} docs %endif make %{?_smp_mflags} libsbml.pc -%if %{with ruby} -ln -s src/bindings/ruby/README.txt README-ruby.txt -%endif - %install %if %{with python} make -C build2 install DESTDIR=%{buildroot} @@ -313,6 +310,10 @@ mv %{buildroot}%{_pkgdocdir}-%{version} %{buildroot}%{_pkgdocdir} %endif make install-pc DESTDIR=%{buildroot} +%if %{with ruby} +install -Dm0644 src/bindings/ruby/README.txt %{buildroot}%{_pkgdocdir}/README-ruby.txt +%endif + %if %{with check} %check %if %{with python} @@ -343,13 +344,13 @@ make -C build %{?_smp_mflags} check %if %{with python} %license COPYING.txt %files -n python-%{name} -#%%{python2_sitearch}/%{name}*.egg-info +#%%{python2_sitearch}/%%{name}*.egg-info %{python2_sitearch}/%{name}.pth %{python2_sitearch}/%{name} %files -n python3-%{name} %license COPYING.txt -#%%{python3_sitearch}/%{name}*.egg-info +#%%{python3_sitearch}/%%{name}*.egg-info %{python3_sitearch}/%{name}.pth %{python3_sitearch}/%{name} %endif @@ -364,7 +365,7 @@ make -C build %{?_smp_mflags} check %if %{with ruby} %files -n ruby-%{rubypkg} %license COPYING.txt -%doc README-ruby.txt +%doc %{_pkgdocdir}/README-ruby.txt %{ruby_vendorarchdir}/*.so %endif @@ -372,6 +373,7 @@ make -C build %{?_smp_mflags} check %files -n java-%{name} %license COPYING.txt %{_jnidir}/libsbmlj.jar +%dir %{_libdir}/%{name} %{_libdir}/%{name}/libsbmlj.so %endif @@ -390,7 +392,7 @@ make -C build %{?_smp_mflags} check %if %{with mono} %files sharp %license COPYING.txt -%{_prefix}/lib/mono/libsbmlcsP/ +%{_monodir}/libsbmlcsP/ %endif %if %{with docs} @@ -404,6 +406,10 @@ make -C build %{?_smp_mflags} check %changelog +* Tue Feb 03 2015 Zbigniew Jędrzejewski-Szmek - 5.11.0-8 +- Fix things found in review (macro in comment, R:mono-core, %%doc + duplication, macro usage) + * Mon Jan 26 2015 Zbigniew Jędrzejewski-Szmek - 5.11.0-7 - Allow newer doxygen diff --git a/sources b/sources index 7c264a3..2775582 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -3191c82e9d7df8f0870a5dd2fccb5955 libSBML-5.9.0-core-src.tar.gz +97805fe21a92c6b4ea2135600e0114cd libSBML-5.11.0-core-plus-packages-src.tar.gz +f2391d044e2f198d063ab0d73f2be43a render-5.11.0-beta-1.zip