]> git.pld-linux.org Git - packages/perl-Gtk2-Ex-Simple-List.git/commitdiff
- added
authortwittner <twittner@pld-linux.org>
Wed, 16 Nov 2005 22:39:45 +0000 (22:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Gtk2-Ex-Simple-List.spec -> 1.1

perl-Gtk2-Ex-Simple-List.spec [new file with mode: 0644]

diff --git a/perl-Gtk2-Ex-Simple-List.spec b/perl-Gtk2-Ex-Simple-List.spec
new file mode 100644 (file)
index 0000000..35d5107
--- /dev/null
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Gtk2
+%define                pnam    Ex-Simple-List
+Summary:       A simple interface to Gtk2's complex MVC list widget
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.50
+Release:       0.1
+License:       LGPL    
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: f66c71bbb794b699f0c3e8ca7cebc35b
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple interface to Gtk2's complex MVC list widget.
+
+%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)
+%{perl_vendorlib}/Gtk2/Ex/Simple/List.pm
+%{perl_vendorlib}/Gtk2/Ex/Simple/TiedCommon.pm
+%{perl_vendorlib}/Gtk2/Ex/Simple/TiedList.pm
+%{_mandir}/man3/*
This page took 0.147131 seconds and 4 git commands to generate.