Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:ARM:Staging
nasc
nasc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nasc.spec of Package nasc
# # spec file for package nasc # # Copyright (c) 2017 SUSE LINUX 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/ # Name: nasc Version: 0.4.7 Release: 0 Summary: Do maths like a normal person License: GPL-3.0 Group: Productivity/Scientific/Math Url: http://parnold-x.github.io/nasc/ Source: https://github.com/parnold-x/nasc/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM link.patch -- Build app with 'Wl,--no-undefined' and static library Patch0: nasc-0.4.7-link.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: vala >= 0.28.0 BuildRequires: pkgconfig(cln) BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtksourceview-3.0) BuildRequires: pkgconfig(libqalculate) BuildRequires: pkgconfig(libsoup-2.4) Requires: qalculate Requires: %(rpm -qf $(readlink -qne %{_libdir}/libcln.so) --qf '%%{NAME} >= %%{VERSION}') BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description This is an application where you do calculations "like a normal person". It lets you type whatever you want, smartly figures out what computations are needed, and outputs an answer on the right pane. Then you can plug those answers in to future equations and if that answer changes, so does the equations it is used in. %prep %setup -q %patch0 -p2 # Use appdata sed -i 's/\/metainfo/\/appdata/' $(grep -rwl 'metainfo') %build %cmake \ -DGSETTINGS_COMPILE=FALSE \ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined" make %{?_smp_mflags} %install %cmake_install %{?_smp_mflags} %post %glib2_gsettings_schema_post %icon_theme_cache_post %desktop_database_post %postun %glib2_gsettings_schema_postun %icon_theme_cache_postun %desktop_database_postun %files %defattr(-,root,root) %doc AUTHORS COPYING README.md %{_bindir}/%{name} %{_datadir}/applications/com.github.parnold-x.%{name}.desktop %{_datadir}/appdata/com.github.parnold-x.%{name}.appdata.xml %{_datadir}/glib-2.0/schemas/com.github.parnold-x.%{name}.gschema.xml %{_datadir}/icons/hicolor/*/apps/com.github.parnold-x.%{name}.??g %{_datadir}/qalculate/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor