update to 0.18

This commit is contained in:
lyn1001 2023-09-05 16:34:12 +08:00
parent 1687887fa1
commit 01dc294e6e
4 changed files with 8 additions and 32 deletions

View File

@ -1,22 +0,0 @@
diff -up xdg-user-dirs-0.11/po/Makefile.in.in.use-fuzzy xdg-user-dirs-0.11/po/Makefile.in.in
--- xdg-user-dirs-0.11/po/Makefile.in.in.use-fuzzy 2008-10-24 04:17:03.000000000 -0400
+++ xdg-user-dirs-0.11/po/Makefile.in.in 2009-11-03 00:57:15.319114230 -0500
@@ -61,14 +61,14 @@ CATALOGS = @CATALOGS@
.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
.po.mo:
- @echo "$(MSGFMT) -c -o $@ $<"; \
- $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
+ @echo "$(MSGFMT) -c -f -o $@ $<"; \
+ $(MSGFMT) -c -f -o t-$@ $< && mv t-$@ $@
.po.gmo:
@lang=`echo $* | sed -e 's,.*/,,'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
- echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
- cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
+ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c -f --statistics -o $${lang}.gmo $${lang}.po"; \
+ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c -f --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
.sin.sed:
sed -e '/^#/d' $< > t-$@

Binary file not shown.

BIN
xdg-user-dirs-0.18.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +1,11 @@
Name: xdg-user-dirs
Version: 0.17
Release: 3
Version: 0.18
Release: 1
Summary: A tool to help manage "well known" user directories
License: GPLv2+ and MIT
URL: http://freedesktop.org/wiki/Software/xdg-user-dirs
Source0: http://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
Patch0000: use-fuzzy.patch
BuildRequires: gcc gettext docbook-style-xsl libxslt
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
@ -27,10 +26,6 @@ help document for th xdg-user-dirs package.
%configure
%make_build
cd po
touch *.po
make update-gmo
%install
%make_install
@ -48,5 +43,8 @@ make update-gmo
%{_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