198 lines
6.2 KiB
RPMSpec
198 lines
6.2 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
%global __debug_package 1
|
||
|
|
||
|
Name: analitza
|
||
|
Version: 4.13.0
|
||
|
Release: 1mamba
|
||
|
Summary: KDE library for mathematical features
|
||
|
Group: Graphical Desktop/Applications/Scientific
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||
|
URL: http://www.kde.org
|
||
|
Source: http://download.kde.org/stable/%{version}/src/analitza-%{version}.tar.xz
|
||
|
Patch0: %{name}-4.8.4-readline_with_termcap.patch
|
||
|
License: GPL
|
||
|
BuildRequires: cmake
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: kdelibs-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libqt4-devel
|
||
|
BuildRequires: libreadline-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: kdelibs-devel >= %{majver}
|
||
|
Requires: kde-workspace
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Algebraic calculator and libraries.
|
||
|
|
||
|
%package -n calgebra
|
||
|
Group: Graphical Desktop/Applications/Scientific
|
||
|
Summary: Algebraic calculator
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n calgebra
|
||
|
Algebraic calculator.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries to work with mathematical expressions
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for lib%{name}
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use lib%{name}.
|
||
|
|
||
|
%package -n lib%{name}-debug
|
||
|
Group: Development/Debug
|
||
|
Summary: Debug information for package lib%{name}
|
||
|
AutoReqProv: 0
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-debug
|
||
|
This package provides debug information for package lib%{name}.
|
||
|
Debug information is useful when developing applications that use this package or when debugging this package.
|
||
|
|
||
|
%files -n lib%{name}-debug -f debugfiles.list
|
||
|
%defattr(-,root,root)
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
%cmake_kde4 -d build \\
|
||
|
%ifarch arm
|
||
|
-DWITH_OpenGL:BOOL=false
|
||
|
%endif
|
||
|
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post
|
||
|
/sbin/ldconfig || :
|
||
|
|
||
|
%postun
|
||
|
/sbin/ldconfig || :
|
||
|
|
||
|
%files -n calgebra
|
||
|
%defattr(-,root,root)
|
||
|
%{_kde4_bindir}/calgebra
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_kde4_libdir}/libanalitza.so.*
|
||
|
%{_kde4_libdir}/libanalitzagui.so.*
|
||
|
%{_kde4_libdir}/libanalitzaplot.so.*
|
||
|
%dir %{_kde4_datadir}/libanalitza/plots
|
||
|
%{_kde4_datadir}/libanalitza/plots/*.plots
|
||
|
%doc COPYING COPYING.DOC COPYING.LIB
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_kde4_includedir}/analitza
|
||
|
%{_kde4_includedir}/analitza/*.h
|
||
|
%dir %{_kde4_includedir}/analitzagui
|
||
|
%{_kde4_includedir}/analitzagui/*.h
|
||
|
%dir %{_kde4_includedir}/analitzaplot
|
||
|
%{_kde4_includedir}/analitzaplot/*.h
|
||
|
%{_kde4_libdir}/libanalitza.so
|
||
|
%{_kde4_libdir}/libanalitzagui.so
|
||
|
%{_kde4_libdir}/libanalitzaplot.so
|
||
|
%dir %{_kde4_libdir}/cmake/analitza
|
||
|
%{_kde4_libdir}/cmake/analitza/Analitza*.cmake
|
||
|
|
||
|
%changelog
|
||
|
* Thu Apr 17 2014 Automatic Build System <autodist@mambasoft.it> 4.13.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Apr 03 2014 Automatic Build System <autodist@mambasoft.it> 4.12.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Mar 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Feb 05 2014 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Jan 14 2014 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Dec 21 2013 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Dec 05 2013 Automatic Build System <autodist@mambasoft.it> 4.11.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Nov 06 2013 Automatic Build System <autodist@mambasoft.it> 4.11.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Oct 02 2013 Automatic Build System <autodist@mambasoft.it> 4.11.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Sep 04 2013 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Aug 14 2013 Automatic Build System <autodist@mambasoft.it> 4.11.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Jul 02 2013 Automatic Build System <autodist@mambasoft.it> 4.10.5-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Jun 05 2013 Automatic Build System <autodist@mambasoft.it> 4.10.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue May 07 2013 Automatic Build System <autodist@mambasoft.it> 4.10.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Apr 03 2013 Automatic Build System <autodist@mambasoft.it> 4.10.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Mar 05 2013 Automatic Build System <autodist@mambasoft.it> 4.10.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Feb 14 2013 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jan 03 2013 Automatic Build System <autodist@mambasoft.it> 4.9.5-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Dec 05 2012 Automatic Build System <autodist@mambasoft.it> 4.9.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Nov 08 2012 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Oct 04 2012 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Sep 06 2012 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Jul 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.4-2mamba
|
||
|
- don't delete *.so files
|
||
|
|
||
|
* Tue Jun 12 2012 Automatic Build System <autodist@mambasoft.it> 4.8.4-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon May 07 2012 Davide Madrisan <davide.madrisan@gmail.com> 4.8.3-1mamba
|
||
|
- package created by autospec
|