]> git.pld-linux.org Git - packages/perl-File-DesktopEntry.git/commitdiff
- based on perl template auto/th/perl-File-DesktopEntry-0_02-1
authorwrobell <wrobell@pld-linux.org>
Tue, 1 Aug 2006 13:43:07 +0000 (13:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-File-DesktopEntry.spec -> 1.1

perl-File-DesktopEntry.spec [new file with mode: 0644]

diff --git a/perl-File-DesktopEntry.spec b/perl-File-DesktopEntry.spec
new file mode 100644 (file)
index 0000000..dcf450e
--- /dev/null
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    File
+%define                pnam    DesktopEntry
+Summary:       Desktop files module
+Name:          perl-File-DesktopEntry
+Version:       0.02
+Release:       1
+License:       Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9c97efa062c04bcb86a0a6a3707355d1
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautoreq      'perl(anything_fake_or_conditional)'
+
+%description
+This module is used to work with .desktop files. The format of these files
+is specified by the freedesktop "Desktp Entry" specification.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+# Don't use pipes here: they generally don't work. Apply a patch.
+%{__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/DesktopEntry.pm
+%{_mandir}/man3/*
This page took 0.123795 seconds and 4 git commands to generate.