Skip to content

Commit

Permalink
Add packit and RPM spec
Browse files Browse the repository at this point in the history
  • Loading branch information
egegunes committed Aug 11, 2019
1 parent 15aaff7 commit 00bfda0
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/

specfile_path: redminecli.spec

# add or remove files that should be synced
synced_files:
- redminecli.spec
- .packit.yaml

# change these lines if upstream project name is not the same as downstream
upstream_project_name: redminecli
downstream_package_name: redminecli
39 changes: 39 additions & 0 deletions redminecli.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
%global pypi_name redminecli
%global debug_package %{nil}

%{?python_enable_dependency_generator}

Name: %{pypi_name}
Version: 1.1.3
Release: 1%{?dist}
Summary: Command line interface for Redmine

License: GPLv3
URL: https://github.com/egegunes/redmine-cli
Source0: https://files.pythonhosted.org/packages/d4/29/c9fbd0b0beb707ad39a2028eb7feda7301e78e88af9de70ee637c93778e0/redminecli-1.1.3.tar.gz

BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3

%description
`redminecli` is a command line interface for Redmine

%prep
%autosetup -n %{pypi_name}-%{version}

%build
%py3_build

%install
%py3_install

%files
%doc README.md
%{_bindir}/redmine
%{python3_sitelib}/redmine/
%{python3_sitelib}/%{pypi_name}-*.egg-info/

%changelog
* Sat Aug 10 2019 Ege Güneş <[email protected]>
- Initial package

0 comments on commit 00bfda0

Please sign in to comment.