Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
kdebindings-smokegen
kdebindings-smokegen.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebindings-smokegen.spec of Package kdebindings-smokegen
# # spec file for package kdebindings-smokegen # # Copyright (c) 2015 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: kdebindings-smokegen Version: 4.14.3 Release: 0 Summary: Smoke Generator for kdebindings License: GPL-2.0 Group: Development/Libraries/KDE Url: https://projects.kde.org/projects/kde/kdebindings/smoke/smokegen Source0: smokegen-%{version}.tar.xz BuildRequires: cmake BuildRequires: kde4-filesystem BuildRequires: libQtWebKit-devel BuildRequires: libqimageblitz-devel BuildRequires: sqlite-devel BuildRequires: xz Requires(post): update-alternatives Requires(postun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A general purpose C++ parser with a plugin infrastructure enabling 'generators' to be written, which can do various things with the C++ AST. It is currently used for generating the various KDE SMOKE libraries. %package -n libsmokegen-devel Summary: Development files for kdebindings-smokegen Group: Development/Libraries/KDE Obsoletes: libsmoke-devel < %{version} Provides: libsmoke-devel = %{version} Requires: %{name} = %{version} %description -n libsmokegen-devel A general purpose C++ parser with a plugin infrastructure enabling 'generators' to be written, which can do various things with the C++ AST. It is currently used for generating the various KDE SMOKE libraries. This package provides development files and headers needed to compile packages against kdebindings-smokegen %prep %setup -q -n smokegen-%{version} %build %cmake_kde4 -d build %make_jobs %install cd build %kde4_makeinstall mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ cat <<EOF >%{buildroot}%{_sysconfdir}/ld.so.conf.d/smoke-gen.conf %_kde4_libdir/smokegen EOF # update-alternatives mv %{buildroot}%{_bindir}/smokeapi %{buildroot}%{_bindir}/smokeapi.kdebindings mkdir -p %{buildroot}%{_sysconfdir}/alternatives/ touch %{buildroot}%{_sysconfdir}/alternatives/smokeapi ln -sf %{_sysconfdir}/alternatives/smokeapi %{buildroot}%{_bindir}/smokeapi %post /sbin/ldconfig /usr/sbin/update-alternatives --install \ %{_bindir}/smokeapi smokeapi %{_bindir}/smokeapi.kdebindings 20000 %postun /sbin/ldconfig if [ "$1" = 0 ] ; then /usr/bin/update-alternatives --remove smokeapi %{_bindir}/smokeapi.kdebindings fi %files %defattr(-,root,root) %config %_kde4_sysconfdir/ld.so.conf.d/smoke-gen.conf %ghost %{_sysconfdir}/alternatives/smokeapi %{_kde4_bindir}/smokegen %{_kde4_bindir}/smokeapi %{_kde4_bindir}/smokeapi.kdebindings %{_kde4_libdir}/*.so.* %{_kde4_libdir}/smokegen/ %{_datadir}/smoke/ %{_datadir}/smokegen/ %files -n libsmokegen-devel %defattr(-,root,root) %{_kde4_libdir}/*.so %{_includedir}/smoke.h %{_includedir}/smokegen/ %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