Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
python-nautilus
python-nautilus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-nautilus.spec of Package python-nautilus
# # spec file for package python-nautilus # # Copyright (c) 2012 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/ # # %define build_doc 0 Name: python-nautilus %define _name nautilus-python Version: 1.1 Release: 0 Summary: Python bindings for Nautilus License: GPL-2.0+ Group: Development/Libraries/Python Url: http://git.gnome.org/cgit/nautilus-python/ Source: http://download.gnome.org/sources/nautilus-python/1.1/%{_name}-%{version}.tar.bz2 %if %{build_doc} BuildRequires: gtk-doc %endif BuildRequires: libtool BuildRequires: python-devel BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(pygobject-3.0) Requires: python-gobject # we can't have automatic typelib() Requires here: it's C code: PyImport_ImportModule("gi.repository.Nautilus") Requires: typelib(Nautilus) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains bindings to write Nautilus extensions with Python. It allows writing menu, property pages and column providers extensions, so that Nautilus functionality can be easily extended. %package devel Summary: Python bindings for Nautilus - Development Files Group: Development/Libraries/Python Requires: %{name} = %{version} %description devel Development files needed for writing Nautilus Python extensions This package contains bindings to write Nautilus extensions with Python. It allows writing menu, property pages and column providers extensions, so that Nautilus functionality can be easily extended. %prep %setup -q -n %{_name}-%{version} %build autoreconf -fi -I m4 %configure --disable-static \ %if %{build_doc} --enable-gtk-doc %else --disable-gtk-doc %endif make %{?jobs:-j%jobs} %install %makeinstall # New dir where python extensions get installed. It's not created by make # install (bgo#638890). test ! -d %{buildroot}%{_datadir}/nautilus-python/extensions mkdir -p %{buildroot}%{_datadir}/nautilus-python/extensions find %{buildroot} -type f -name "*.la" -delete -print %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_libdir}/nautilus/extensions-3.0/libnautilus-python.so %dir %{_datadir}/nautilus-python %dir %{_datadir}/nautilus-python/extensions %files devel %defattr(-,root,root) %{_datadir}/doc/nautilus-python/ %if %{build_doc} %{_datadir}/gtk-doc/html/nautilus-python/ %endif %{_libdir}/pkgconfig/nautilus-python.pc %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