Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Lazy_Kent
keepnote-extensions
keepnote-extensions.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File keepnote-extensions.spec of Package keepnote-extensions
# # spec file for package keepnote-extensions # # Copyright (c) 2011 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/ # %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define ext0 import_basket %define ext1 import_folders %define ext2 import_notecase %define ext3 import_txt %define ext4 make_catalog Name: keepnote-extensions Version: 0 Release: 0 License: GPL-2.0 Summary: KeepNote Extensions Url: http://keepnote.org/extensions.shtml Group: Productivity/Office/Organizers Source0: https://raw.github.com/mdrasmus/keepnote-extensions/master/stable/%{ext0}.kne Source1: https://raw.github.com/mdrasmus/keepnote-extensions/master/stable/%{ext1}.kne Source2: https://raw.github.com/mdrasmus/keepnote-extensions/master/stable/%{ext2}.kne Source3: https://raw.github.com/mdrasmus/keepnote-extensions/master/stable/%{ext3}.kne Source4: https://raw.github.com/mdrasmus/keepnote-extensions/master/stable/%{ext4}.kne BuildRequires: keepnote BuildRequires: unzip Requires: keepnote BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %description Additional extensions for KeepNote organizer. The package includes: * Import Basket Primitive import of Basket Notepad Databases. * Import Folder Tree Imports a folder tree as nodes in a notebook * Import NoteCase Primitive import of NoteCase .ncd Files * Import Plain Text Imports plain text files as nodes in a notebook * Make File Catalog Imports a folder tree, listing file names (maybe as links) notebook. %prep %build %install install -dm 0755 %{buildroot}%{python_sitelib}/keepnote/extensions unzip -q "%{_sourcedir}/*.kne" -d \ %{buildroot}%{python_sitelib}/keepnote/extensions # Remove backup file. rm -f \ %{buildroot}%{python_sitelib}/keepnote/extensions/import_basket/#__init__.py# cd %{buildroot}%{python_sitelib}/keepnote/extensions # Python byte compile. for ext in %{ext0} %{ext1} %{ext2} %{ext3} %{ext4} ; do pushd "${ext}" %py_compile . popd done %files %defattr(-,root,root,-) %{python_sitelib}/keepnote/extensions/* %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