rpms/erlang-erlsom/EL-5 erlang-erlsom.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Lemenkov peter at fedoraproject.org
Tue Nov 24 06:41:05 UTC 2009


Author: peter

Update of /cvs/pkgs/rpms/erlang-erlsom/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19815/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	erlang-erlsom.spec import.log 
Log Message:
Initial commit (see rhbz# 502991)


--- NEW FILE erlang-erlsom.spec ---
%define debug_package %{nil}
%define realname erlsom


Name:		erlang-%{realname}
Summary:	Support for XML Schema in Erlang
Version:	1.2.1
Release:	3%{?dist}
Group:		System Environment/Libraries
URL:		http://sourceforge.net/projects/erlsom/
Source0:	http://downloads.sourceforge.net/%{realname}/%{realname}-%{version}.tar.gz
License:	GPLv3+
Provides:	%{realname} = %{version}-%{release}
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	erlang
BuildRequires:	dos2unix
Requires:	erlang


%description
Erlsom is a set of functions to deal with XML Schema (XSDs) in Erlang.
First you 'compile' the schema, and after that you can parse XML
documents that conform to the schema. The result is a structure of
Erlang records, based on the types that are defined by the Schema.
Or, the other way around, a structure of records can be translated
to an XML document.


%prep
%setup -q -c %{realname}-%{version}
find -type f -regex ".*\(xsd\|erl\|hrl\|xml\|src\|htm\)" -exec dos2unix {} \;
find -type f -name Makefile -exec dos2unix {} \;
find -type f -name "config*" -exec dos2unix {} \;
dos2unix include.mk.in install-sh make-release make-upload vsn.mk COPYING COPYING.LESSER
chmod 755 configure
rm -f ebin/.empty
iconv -f iso8859-1 -t UTF-8 examples/example1/example1.erl > examples/example1/example1.utf8 && mv examples/example1/example1.{utf8,erl}


%build
%configure
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install


%clean
rm -rf %{buildroot}


%files
%defattr(-, root, root)
%doc examples COPYING COPYING.LESSER doc/erlsom.doc doc/erlsom.htm doc/image001.gif
%dir %{_libdir}/erlang/lib/%{realname}-%{version}
%dir %{_libdir}/erlang/lib/%{realname}-%{version}/ebin
%dir %{_libdir}/erlang/lib/%{realname}-%{version}/include
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}.app
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/*.beam
%{_libdir}/erlang/lib/%{realname}-%{version}/include/%{realname}.hrl


%changelog
* Mon Jul  6 2009 Peter Lemenkov <lemenkov at gmail.com> 1.2.1-4
- Stop using macros for 'rm' and 'make'
- Corrected license field

* Thu Jun  4 2009 Peter Lemenkov <lemenkov at gmail.com> 1.2.1-3
- Added missing BR dos2unix

* Tue Apr 21 2009 Peter Lemenkov <lemenkov at gmail.com> 1.2.1-2
- Get rid of unnecessary source files

* Thu May  8 2008 Peter Lemenkov <lemenkov at gmail.com> 1.2.1-1
- Ver. 1.2.1

* Fri Oct 26 2007 Peter Lemenkov <lemenkov at gmail.com> 1.0.0-1
- Initial build for Fedora



--- NEW FILE import.log ---
erlang-erlsom-1_2_1-3_fc11:EL-5:erlang-erlsom-1.2.1-3.fc11.src.rpm:1259044838


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/erlang-erlsom/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Nov 2009 02:19:00 -0000	1.1
+++ .cvsignore	24 Nov 2009 06:41:05 -0000	1.2
@@ -0,0 +1 @@
+erlsom-1.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/erlang-erlsom/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Nov 2009 02:19:00 -0000	1.1
+++ sources	24 Nov 2009 06:41:05 -0000	1.2
@@ -0,0 +1 @@
+b58aa0da4267544e2bcba45185f7cb10  erlsom-1.2.1.tar.gz




More information about the fedora-extras-commits mailing list