Till Hofmann 2dc8f2f
Name:           dex-autostart
414ecff
Version:        0.9.0
268c5fc
Release:        10%{?dist}
Till Hofmann 2dc8f2f
Summary:        Generate and execute DesktopEntry files
Till Hofmann 2dc8f2f
Till Hofmann 2b10b2e
License:        GPL-3.0-or-later
Till Hofmann 2dc8f2f
URL:            https://github.com/jceb/dex
6abe670
Source0:        https://github.com/jceb/dex/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
BuildRequires:  python3-devel
e3f4fb5
BuildRequires:  python3-sphinx
a11b8f4
BuildRequires: make
Till Hofmann 2dc8f2f
BuildArch:      noarch
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%description
Till Hofmann 2dc8f2f
dex-autostart, DesktopEntry Execution, is a program to generate and execute
Till Hofmann 2dc8f2f
DesktopEntry files of the Application type.
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%prep
6abe670
%autosetup -n dex-%{version}
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%build
414ecff
%make_build VERSION=%{version}
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
# fix name in man page
6abe670
sed -i "s/dex/dex-autostart/g" dex.1
6abe670
sed -i "s/DEX/DEX-AUTOSTART/g" dex.1
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
# fix name in README
Till Hofmann 363251e
sed -i "s/dex/dex-autostart/g" README.rst
Till Hofmann 363251e
sed -i "s/DEX/DEX-AUTOSTART/g" README.rst
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%install
Till Hofmann 2dc8f2f
%make_install PREFIX=/usr MANPREFIX=%{_mandir} NAME=%{name} VERSION=%{version}
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
# do not install the license twice
Till Hofmann 2dc8f2f
rm %{buildroot}/%{_defaultdocdir}/%{name}/LICENSE
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%check
Till Hofmann 2dc8f2f
%{buildroot}/%{_bindir}/%{name} --test -v
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%files
Till Hofmann 2dc8f2f
%license LICENSE
Till Hofmann 2dc8f2f
%{_defaultdocdir}/%{name}
Till Hofmann 2dc8f2f
%{_mandir}/man1/%{name}.1.gz
Till Hofmann 2dc8f2f
%{_bindir}/%{name}
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
%changelog
268c5fc
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-10
268c5fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
268c5fc
13ae14f
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
13ae14f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
13ae14f
a0a29e1
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-8
a0a29e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
a0a29e1
80171a2
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-7
80171a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
80171a2
694e46d
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
694e46d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
694e46d
0aca9dc
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
0aca9dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
0aca9dc
9dc0c45
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-4
9dc0c45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9dc0c45
d2c8d17
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
d2c8d17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d2c8d17
cf16e3e
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
cf16e3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cf16e3e
414ecff
* Wed Jun 17 2020 Till Hofmann <thofmann@fedoraproject.org> - 0.9.0-1
414ecff
- Update to 0.9.0
414ecff
49d78b2
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
49d78b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
49d78b2
5960c48
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-6
5960c48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5960c48
b4f6b08
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-5
b4f6b08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b4f6b08
b325e0d
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
b325e0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b325e0d
fa19fc1
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-3
fa19fc1
- Rebuilt for Python 3.7
fa19fc1
166923a
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-2
166923a
- Rebuilt for Python 3.7
166923a
6abe670
* Wed May 30 2018 Till Hofmann <thofmann@fedoraproject.org> - 0.8.0-1
6abe670
- Update to released version 0.8.0
6abe670
0d8e189
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-0.12.20150728git4bbd9f9
0d8e189
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0d8e189
e3f4fb5
* Wed Jan 10 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8-0.11.20150728git4bbd9f9
e3f4fb5
- Build docs with Python 3
e3f4fb5
bb25a4f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-0.10.20150728git4bbd9f9
bb25a4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bb25a4f
4aba230
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-0.9.20150728git4bbd9f9
4aba230
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4aba230
759793c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.8-0.8.20150728git4bbd9f9
759793c
- Rebuild for Python 3.6
759793c
Till Hofmann 363251e
* Thu Aug 04 2016 Till Hofmann <till.hofmann@posteo.de> - 0.8-0.7.20150728git4bbd9f9
Till Hofmann 363251e
- Add patch to build the manpage in a separate build dir (fixes FTBFS)
Till Hofmann 363251e
- Set version build variable to avoid calling git during the build process
Till Hofmann 363251e
- Add name substitution for capitalized name: DEX->DEX-AUTOSTART
Till Hofmann 363251e
fd03c04
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-0.6.20150728git4bbd9f9
fd03c04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fd03c04
44cde4a
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-0.5.20150728git4bbd9f9
44cde4a
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
44cde4a
Till Hofmann 2dc8f2f
* Tue Jul 28 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.8-0.4.20150728git4bbd9f9
Till Hofmann 2dc8f2f
- Update to new upstream 4bbd9f9 (patch included upstream)
Till Hofmann 2dc8f2f
- Properly rename dex -> dex-autostart in README
Till Hofmann 2dc8f2f
- Add check section
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
* Sun Jul 26 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.8-0.3.20150714gita98fa2f
Till Hofmann 2dc8f2f
- Fix name in man page
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
* Sun Jul 12 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.8-0.2.20150714gita98fa2f
Till Hofmann 2dc8f2f
- Remove LICENSE from docdir
Till Hofmann 2dc8f2f
Till Hofmann 2dc8f2f
* Sun Jul 12 2015 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 0.8-0.1.20150714gita98fa2f
Till Hofmann 2dc8f2f
- Initial package