[packages/perl-File-XDG] - new - release 1

adamg adamg at pld-linux.org
Wed Nov 25 08:07:53 CET 2026


commit e02f14f4423a8c8aef183f8b98d63e6422fc2539
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Wed Nov 25 08:07:44 2026 +0100

    - new
    - release 1

 perl-File-XDG.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
---
diff --git a/perl-File-XDG.spec b/perl-File-XDG.spec
new file mode 100644
index 0000000..cbbc2dd
--- /dev/null
+++ b/perl-File-XDG.spec
@@ -0,0 +1,64 @@
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+
+%define		pdir	File
+%define		pnam	XDG
+Summary:	File::XDG - basic implementation of the XDG base directory specification
+Summary(pl.UTF-8):	File::XDG - podstawowa implementacja specyfikacji katalogów bazowych XDG
+Name:		perl-File-XDG
+Version:	1.03
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	https://www.cpan.org/modules/by-authors/id/P/PL/PLICEASE/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	923adba51580616782556ebbb02dc8c4
+URL:		https://metacpan.org/dist/File-XDG
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Path-Class >= 0.26
+BuildRequires:	perl-Path-Tiny
+BuildRequires:	perl-Ref-Util
+BuildRequires:	perl-Test-Simple >= 0.98
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides a basic implementation of the XDG base directory
+specification as exists by the Free Desktop Organization (FDO). It
+supports all XDG directories except for the runtime directories, which
+require session management support in order to function.
+
+%description -l pl.UTF-8
+Ten moduł zawiera podstawową implementację specyfikacji katalogów
+bazowych XDG organizacji Free Desktop (FDO). Obsługuje wszystkie
+katalogi XDG poza katalogami uruchomieniowymi, które do działania
+wymagają obsługi zarządzania sesją.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/File/XDG.pm
+%{_mandir}/man3/File::XDG.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-File-XDG.git/commitdiff/e02f14f4423a8c8aef183f8b98d63e6422fc2539



More information about the pld-cvs-commit mailing list