Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1:Staging:B
grantlee5
grantlee5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grantlee5.spec of Package grantlee5
# # spec file for package grantlee5 # # Copyright (c) 2016 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: grantlee5 Version: 5.1.0 Release: 0 Summary: Qt string template library License: LGPL-2.1+ Group: System/Libraries Url: http://grantlee.org/ Source: http://downloads.grantlee.org/grantlee-%{version}.tar.gz Source2: baselibs.conf # PATCH-FIX-UPSTREAM includes.diff -- since upstream doesn't provide a way to install to custom directory, we cheat! Patch0: includes.diff BuildRequires: cmake >= 3.1 BuildRequires: doxygen BuildRequires: pkgconfig(Qt5Core) >= 5.3 BuildRequires: pkgconfig(Qt5Gui) >= 5.3 BuildRequires: pkgconfig(Qt5Script) >= 5.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Grantlee is a string template engine based on the Django template system and written in Qt. %package devel Summary: Include Files and Libraries Mandatory for Development with Grantlee Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: cmake >= 2.8.12 Requires: pkgconfig(Qt5Core) Requires: pkgconfig(Qt5Gui) %description devel This package contains include files and libraries needed for development with grantlee. %prep %setup -q -n grantlee-%{version} %patch0 -p1 %build %if "%{?_lib}" == "lib64" SUFFIX="64" %else SUFFIX="" %endif mkdir -p build pushd build cmake .. \ cmake -DCMAKE_BUILD_TYPE=None \\\ -DCMAKE_C_FLAGS="%{optflags} -DNDEBUG" \\\ -DCMAKE_CXX_FLAGS="%{optflags} -DNDEBUG" \\\ -DCMAKE_EXE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions" \\\ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions" \\\ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions" \\\ -DCMAKE_VERBOSE_MAKEFILE=ON \\\ -DCMAKE_INSTALL_PREFIX=%{_prefix} \\\ -DBUILD_TESTS=OFF \\\ -DLIB_SUFFIX=$SUFFIX .. make %{?_smp_mflags} VERBOSE=1 popd %install %makeinstall -C build %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS CHANGELOG COPYING* README* %{_libdir}/libGrantlee_TextDocument.so.* %{_libdir}/libGrantlee_Templates.so.* %{_libdir}/grantlee/ %files devel %defattr(-,root,root,-) %doc AUTHORS CHANGELOG COPYING* README* %{_includedir}/grantlee5/ %{_libdir}/libGrantlee_TextDocument.so %{_libdir}/libGrantlee_Templates.so %{_libdir}/cmake/Grantlee5/ %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