xdg-user-dirs/xdg-user-dirs.spec
2023-09-05 17:05:45 +08:00

51 lines
1.3 KiB
RPMSpec

Name: xdg-user-dirs
Version: 0.18
Release: 1
Summary: A tool to help manage "well known" user directories
License: GPLv2+ and MIT
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
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
* Mon Sep 4 2023 liyanan <thistleslyn@163.com> - 0.18-1
- Upgrade to version 0.18
* Fri Oct 25 2019 Lijin Yang <yanglijin@huawei.com> - 0.17-3
- Package init