Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:yukoff:openSUSE:Leap:42.1:Backports
lua-lgi
lua-lgi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lua-lgi.spec of Package lua-lgi
# # spec file for package lua-lgi # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Adam Mizerski <adam@mizerski.pl> # # 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/ # %define _name lgi Name: lua-%{_name} Version: 0.9.0 Release: 0 Summary: Lua bindings to GObject libraries License: MIT Group: System/Libraries Url: https://github.com/pavouk/lgi Source0: https://github.com/pavouk/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz BuildRequires: pkg-config BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.8 BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(lua) %if 0%{?suse_version} > 1320 # LUA in openSUSE 13.2, Leap and SLE12 does not yet provide Lua(API), and as such we can only depend on it in TW # we need the 'branch' of lua this package was built against (lua_version nicely provides this info) Requires: Lua(API) = %{lua_version} %endif %description Dynamic Lua binding to any library which is introspectable using gobject-introspection. Allows using GObject-based libraries directly from Lua. %package doc Summary: Lua bindings to GObject libraries - documentation and samples Group: Development/Libraries/Other Requires: %{name} = %{version} %description doc Dynamic Lua binding to any library which is introspectable using gobject-introspection. Allows using GObject-based libraries directly from Lua. %prep %setup -q -n %{_name}-%{version} %build make %{?_smp_mflags} \ COPTFLAGS="%{optflags}" \ %install %make_install \ PREFIX=%{_prefix} \ LUA_LIBDIR=%{lua_archdir} \ LUA_SHAREDIR=%{lua_noarchdir} %files %defattr(-,root,root) %doc LICENSE README.md %{lua_archdir}/%{_name}/ %{lua_noarchdir}/%{_name}.lua %{lua_noarchdir}/%{_name}/ %files doc %defattr(-,root,root) %doc docs samples tools %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