Compare commits
8 Commits
4.13.2-1ma
...
16.04.2-1m
Author | SHA1 | Date | |
---|---|---|---|
fdaf9e2262 | |||
f440f75146 | |||
41484927d3 | |||
ac17941c13 | |||
f6ba724322 | |||
4518b1be61 | |||
df96190097 | |||
bdc4189c7e |
88
kcalc.spec
88
kcalc.spec
@ -1,5 +1,5 @@
|
||||
Name: kcalc
|
||||
Version: 4.13.2
|
||||
Version: 16.04.2
|
||||
Release: 1mamba
|
||||
Summary: Scientific calculator
|
||||
Group: Graphical Desktop/Applications/Utilities
|
||||
@ -7,7 +7,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://www.kde.org
|
||||
Source: http://download.kde.org/stable/%{version}/src/kcalc-%{version}.tar.xz
|
||||
Source: http://download.kde.org/stable/applications/%{version}/src/kcalc-%{version}.tar.xz
|
||||
License: GPL
|
||||
BuildRequires: cmake
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
@ -19,7 +19,7 @@ BuildRequires: libgmp-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: kde-workspace
|
||||
#Requires: kde-workspace
|
||||
Provides: kcalc4
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
@ -32,7 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kde5 -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -44,28 +44,90 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%posttrans
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
exit 0
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-desktop-database -q >/dev/null 2>&1
|
||||
update-mime-database %{_kde4_mimedir} >/dev/null 2>&1
|
||||
update-mime-database %{_kde5_mimedir} >/dev/null 2>&1
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_kde4_bindir}/%{name}
|
||||
%{_kde4_libdir}/libkdeinit4_kcalc.so
|
||||
%{_kde4_xdgappsdir}/%{name}.desktop
|
||||
%{_kde4_datadir}/%{name}
|
||||
%{_kde4_kconfupdatedir}/kcalcrc.upd
|
||||
%{_kde4_kcfgdir}/%{name}.kcfg
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/%{name}
|
||||
%{_kde5_bindir}/%{name}
|
||||
%{_kde5_libdir}/libkdeinit5_kcalc.so
|
||||
%dir %{_kde5_datadir}/kcalc
|
||||
%{_kde5_datadir}/kcalc/scienceconstants.xml
|
||||
%{_kde5_datadir}/kxmlgui5/kcalc/kcalcui.rc
|
||||
%{_kde5_xdgappsdir}/org.kde.%{name}.desktop
|
||||
%{_kde5_kconfupdatedir}/kcalcrc.upd
|
||||
%{_kde5_kcfgdir}/%{name}.kcfg
|
||||
%doc %lang(en) %{_kde5_htmldir}/en/%{name}
|
||||
%doc COPYING COPYING.LIB
|
||||
|
||||
%changelog
|
||||
* Wed Jun 15 2016 Automatic Build System <autodist@mambasoft.it> 16.04.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 16.04.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Apr 23 2016 Automatic Build System <autodist@mambasoft.it> 16.04.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 16 2016 Automatic Build System <autodist@mambasoft.it> 15.12.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Feb 16 2016 Automatic Build System <autodist@mambasoft.it> 15.12.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jan 12 2016 Automatic Build System <autodist@mambasoft.it> 15.12.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Dec 20 2015 Automatic Build System <autodist@mambasoft.it> 15.12.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Nov 11 2015 Automatic Build System <autodist@mambasoft.it> 15.08.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 13 2015 Automatic Build System <autodist@mambasoft.it> 15.08.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 20 2015 Automatic Build System <autodist@mambasoft.it> 15.08.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Aug 23 2015 Automatic Build System <autodist@mambasoft.it> 15.08.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 15.04.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jun 03 2015 Automatic Build System <autodist@mambasoft.it> 15.04.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 12 2015 Automatic Build System <autodist@mambasoft.it> 15.04.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 15.04.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Nov 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Oct 20 2014 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 28 2014 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Aug 21 2014 Automatic Build System <autodist@mambasoft.it> 4.14.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 15 2014 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jun 13 2014 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user