SHA256
1
0
forked from pool/qalculate

Accepting request 48652 from KDE:Distro:Factory

Copy from KDE:Distro:Factory/qalculate based on submit request 48652 from user rwooninck

OBS-URL: https://build.opensuse.org/request/show/48652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate?expand=0&rev=1
This commit is contained in:
OBS User autobuild 2010-09-23 23:08:06 +00:00 committed by Git OBS Bridge
commit 840e08c6a8
5 changed files with 175 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e58db965dff635caac3c7eca7d88249fdbd23c6a62758490107a3a0354d48a39
size 953067

41
qalculate.changes Normal file
View File

@ -0,0 +1,41 @@
-------------------------------------------------------------------
Sun Apr 25 14:27:24 UTC 2010 - masterpatricko@gmail.com
- Update to 0.9.7
* General build updates and bug fixes, including the ability to build against cln >= 1.2
* Bug fix for segfaults with some uses of integrate()
* New Simplified Chinese translation
* Fix crash with unsupported operator in RPN syntax
* Fix reduction of vector size
-------------------------------------------------------------------
Sat Sep 6 00:00:00 BST 2008 - masterpatricko@gmail.com
- Many small fixes to spec file, with addition of patch to build on openSUSE 11+
-------------------------------------------------------------------
Sun Jun 17 00:00:00 EST 2007 - bwalle@suse.de
- update to 0.9.6: bug fixes
-------------------------------------------------------------------
Mon Dec 18 00:00:00 EST 2006 - bernhard@suse.de
- new upstream release
-------------------------------------------------------------------
Thu Jun 15 00:00:00 EST 2006 - bernhard@links2linux.de
- new upstream release
-------------------------------------------------------------------
Sun May 14 00:00:00 EST 2006 - bernhard@links2linux.de
- added BuildRequires gmp-devel
-------------------------------------------------------------------
Sun Mar 19 00:00:00 EST 2006 - bernhard@links2linux.de
- new upsream version 0.9.3
-------------------------------------------------------------------
Tue Jan 10 00:00:00 EST 2006 - bernhard@links2linux.de
- new upstream version 0.9.2
-------------------------------------------------------------------
Mon Nov 4 00:00:00 EST 2005 - bernhard@links2linux.de
- initial package for PackMan

107
qalculate.spec Normal file
View File

@ -0,0 +1,107 @@
#
# spec file for package qalculate (Version 0.9.7)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define major 5
%define libname libqalculate
Summary: Powerful Calulator application
Name: qalculate
Version: 0.9.7
Release: 1
License: GPL
Url: http://qalculate.sourceforge.net/
Source0: %{libname}-%{version}.tar.bz2
Group: Productivity/Scientific/Math
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ glib2-devel intltool libxml2-devel perl-XML-Parser pkgconfig readline-devel
BuildRequires: cln-devel gmp-devel
%description
Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux. It is
small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting,
and a graphical interface that uses a one-line fault-tolerant expression entry
(although it supports optional traditional buttons).
This is the commandline interface, named qalc.
%package -n %{libname}%{major}
Summary: Powerful Calulator Library
Group: System/Libraries
Suggests: %{name}
Provides: %{libname} = %{version}
%description -n %{libname}%{major}
Qalculate! is a modern multi-purpose desktop calculator for GNU/Linux. It is
small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting,
and a graphical interface that uses a one-line fault-tolerant expression entry
(although it supports optional traditional buttons).
This is the shared library package.
%package -n %{libname}-devel
Summary: Header files, libraries and development documentation for %{libname}
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: glib2-devel libxml2-devel cln-devel
%description -n %{libname}-devel
This package contains the header files, static libraries and development
documentation for %{libname}. If you like to develop programs using %{libname},
you will need to install %{libname}-devel.
%prep
%setup -q -n %{libname}-%{version}
%build
%configure --disable-static --disable-rpath
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post -n %{libname}%{major} -p /sbin/ldconfig
%postun -n %{libname}%{major} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README ChangeLog NEWS INSTALL COPYING AUTHORS TODO
%{_bindir}/qalc
%{_datadir}/locale/*/*/*
%{_datadir}/%{name}
%{_datadir}/doc/%{libname}-%{version}
%files -n %{libname}%{major}
%defattr(-,root,root)
%{_libdir}/%{libname}.so.*
%files -n %{libname}-devel
%defattr(-,root,root)
%{_includedir}/%{libname}
%{_libdir}/%{libname}.so
%{_libdir}/%{libname}.la
%{_libdir}/pkgconfig/%{libname}.pc
%changelog