Author: glen                         Date: Tue Jan 22 11:25:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-UTF8BOM.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-UTF8BOM.spec
diff -u /dev/null SPECS/perl-UTF8BOM.spec:1.1
--- /dev/null   Tue Jan 22 12:25:25 2008
+++ SPECS/perl-UTF8BOM.spec     Tue Jan 22 12:25:20 2008
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps        # don't BR packages needed only for resolving 
deps
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    UTF8BOM
+Summary:       UTF8BOM - handling Byte Order Mark for UTF-8 files
+Name:          perl-UTF8BOM
+Version:       1.01
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-authors/id/L/LY/LYOKATO/UTF8BOM-%{version}.tar.gz
+# Source0-md5: 9347f9157119cb1a2361a71b7be94eef
+URL:           http://search.cpan.org/dist/UTF8BOM/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This modules allows you to insert UTF8's BOM into strings and files,
+or remove it from them easily.
+
+%prep
+%setup -q -n %{pdir}-%{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
+%attr(755,root,root) %{_bindir}/utf8bom
+%{perl_vendorlib}/*.pm
+%{_mandir}/man1/utf8bom.1p*
+%{_mandir}/man3/UTF8BOM.3pm*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-22 11:25:20  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to