Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:badshah400
python-tartex
python-tartex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-tartex.spec of Package python-tartex
# # spec file for package python-tartex # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: python-tartex Version: 0.4.1 Release: 0 Summary: Tar all files needed to re-compile your LaTeX project License: MIT URL: https://github.com/badshah400/tartex Source: https://files.pythonhosted.org/packages/source/t/tartex/tartex-%{version}.tar.gz BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch # Section Test requires BuildRequires: %{python_module pytest} BuildRequires: %{python_module rich} BuildRequires: texlive-bibtex BuildRequires: texlive-dvips-bin BuildRequires: texlive-latexmk-bin BuildRequires: texlive-makeindex-bin BuildRequires: tex(imakeidx.sty) # /Section Requires: texlive-latexmk-bin Requires: python-rich %python_subpackages %description TarTeX is a command-line utility to generate a tarball including all (non-system) source files needed to compile your LaTeX project. %prep %autosetup -p1 -n tartex-%{version} %build %pyproject_wheel %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/tartex %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # LaTeX compilation uses TMPDIR export TMPDIR=$(mktemp -d -p ./) %pytest %post %python_install_alternative tartex %postun %python_uninstall_alternative tartex %files %{python_files} %doc README.md %license LICENSE.txt %python_alternative %{_bindir}/tartex %{python_sitelib}/tartex %{python_sitelib}/tartex-%{version}.dist-info %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