xdg-user-dirs/xdg-user-dirs.spec

51 lines
1.3 KiB
RPMSpec
Raw Normal View History

2019-11-19 11:58:28 +08:00
Name: xdg-user-dirs
2023-09-05 16:34:12 +08:00
Version: 0.18
Release: 1
2019-11-19 11:58:28 +08:00
Summary: A tool to help manage "well known" user directories
License: GPLv2+ and MIT
2023-09-05 16:34:12 +08:00
URL: https://freedesktop.org/wiki/Software/xdg-user-dirs
Source0: https://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
BuildRequires: gcc gettext docbook-style-xsl libxslt make
2019-11-19 11:58:28 +08:00
Requires: %{_sysconfdir}/xdg/autostart
%description
xdg-user-dirs is a tool to help manage "well known" user directories like the desktop
folder and the music folder. It also handles localization (i.e. translation) of the filenames.
%package help
Summary: help document for the xdg-user-dirs package
Buildarch: noarch
%description help
help document for th xdg-user-dirs package.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
%make_install
%find_lang xdg-user-dirs
%files -f xdg-user-dirs.lang
%license COPYING
%doc NEWS AUTHORS README
%{_bindir}/*
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.*
%{_sysconfdir}/xdg/autostart/*
%files help
%{_mandir}/man1/*
%{_mandir}/man5/*
%changelog
2023-09-05 16:34:12 +08:00
* Mon Sep 4 2023 liyanan <thistleslyn@163.com> - 0.18-1
- Upgrade to version 0.18
2019-11-19 11:58:28 +08:00
* Fri Oct 25 2019 Lijin Yang <yanglijin@huawei.com> - 0.17-3
- Package init