-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpython-rstdiary.spec
58 lines (42 loc) · 1.44 KB
/
python-rstdiary.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%global pypiname rstdiary
Name: python-%{pypiname}
Version: 2.0
Release: 0%{?dist}
Summary: Create a simple HTML diary from an RST input file
Group: Applications/Publishing
License: MIT
URL: http://www.github.com/ianw/rstdiary
Source0: http://pypi.python.org/packages/source/r/%{pypiname}/%{pypiname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
A program to create a simple daily diary from a flat RST file input.
The output is chunked into months and lightly styled with bootstrap.
%package -n python3-%{pypiname}
Summary: %{sum}
%{?python_provide:%python_provide python2-%{pypiname}}
Requires: python3-docutils
Requires: python3-jinja2
%description -n python3-%{pypiname}
A program to create a simple daily diary from a flat RST file input.
The output is chunked into months and lightly styled with bootstrap.
%prep
%autosetup -n %{pypiname}-%{version}
%build
%py3_build
%install
%py3_install
%check
%files -n python3-%{pypiname}
%doc README.md example/diary.rst example/diary.cfg example/Makefile example/README
%{python3_sitelib}/*
/usr/bin/rstdiary
%changelog
* Wed May 13 2020 Ian Wienand <iwienand@fedora19> - 2.0-0
- 2.0 release
* Wed Dec 6 2017 Ian Wienand <[email protected]> - 1.0-0
- 1.0 release
* Tue Nov 18 2014 Ian Wienand <[email protected]> - 0.2-1
- 0.2 release
* Tue Nov 18 2014 Ian Wienand <[email protected]> - 0.1-1
- Initial release