diff --git a/.gitignore b/.gitignore index 4303d7a..155dcf9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ ginac-1.5.6.tar.bz2 /ginac-1.6.2.tar.bz2 /ginac-98433210d31a34b55c8283eb7fb7767d6c830e14.tar.gz /ginac-edfa67d26bac695b5ef9911f3cda3ff50232e35a.tar.gz +/ginac-1.6.3.tar.bz2 diff --git a/ginac.spec b/ginac.spec index c7eb429..a25c205 100644 --- a/ginac.spec +++ b/ginac.spec @@ -1,21 +1,22 @@ -%global gitdate 20140630 -%global commit edfa67d26bac695b5ef9911f3cda3ff50232e35a -%global gitrev %(c=%{commit}; echo ${c:0:7}) +#%global gitdate 20140630 +#%global commit edfa67d26bac695b5ef9911f3cda3ff50232e35a +#%global gitrev %(c=%{commit}; echo ${c:0:7}) Name: ginac -Version: 1.6.2 -Release: 10.%{gitdate}git%{gitrev}%{?dist} +Version: 1.6.3 +#Release: 10.%{gitdate}git%{gitrev}%{?dist} +Release: 1%{?dist} Summary: C++ library for symbolic calculations License: GPLv2+ URL: http://www.ginac.de/ -# Source: http://www.ginac.de/%{name}-%{version}.tar.bz2 +Source0: http://www.ginac.de/%{name}-%{version}.tar.bz2 # Tarball was generated by following commands: # 1. git clone git://www.ginac.de/ginac.git ginac-%{commit} # 2. tar zcvf ginac-%{commit}.tar.gz ginac-%{commit}/ --exclude=.* ################################################################ # Now use the snapshot link from gitweb: # http://www.ginac.de/ginac.git?p=ginac.git;a=snapshot;h=%{commit};sf=tgz -Source0: ginac-%{commit}.tar.gz +#Source0: ginac-%{commit}.tar.gz BuildRequires: bison BuildRequires: cln-devel BuildRequires: cmake @@ -61,12 +62,12 @@ simple and easy-to-use CAS-like interface to GiNaC for non-programmers, and the tool "viewgar" which displays the contents of GiNaC archives. %prep -%setup -qn %{name} +%setup -q # Destroy the RPATH. -sed -i 's| @GINACLIB_RPATH@||' ginac.pc.in +sed -i 's| @GINACLIB_RPATH@||' ginac.pc.{in,cmake} %build -# Same as above. +# Same as above as recommended by the upstream. %cmake -DCMAKE_INSTALL_RPATH="" %make_build make -C doc/tutorial/ ginac_html @@ -98,9 +99,9 @@ fi %{_libdir}/*.so.* %files devel -%doc AUTHORS ChangeLog NEWS README +%doc AUTHORS NEWS README %doc doc/tutorial/ginac.html -%{_includedir}/ginac +%{_includedir}/ginac/ %{_infodir}/*.info* %{_libdir}/*.so %{_libdir}/pkgconfig/ginac.pc @@ -109,6 +110,9 @@ fi %{_bindir}/* %changelog +* Mon Jan 26 2015 Christopher Meng - 1.6.3-1 +- Update to 1.6.3 + * Sat Aug 16 2014 Fedora Release Engineering - 1.6.2-10.20140630gitedfa67d - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index d4a2656..c61f0d1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f9fe99dffab85488e6ba66f70cd2f2c3 ginac-edfa67d26bac695b5ef9911f3cda3ff50232e35a.tar.gz +d02b5abed584e52499729382447d997f ginac-1.6.3.tar.bz2