rpms/eet/devel eet-0.9.10.007-gcc4.patch, NONE, 1.1 eet.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Mon May 23 17:00:35 UTC 2005


Author: ivazquez

Update of /cvs/extras/rpms/eet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12351/devel

Modified Files:
	.cvsignore sources 
Added Files:
	eet-0.9.10.007-gcc4.patch eet.spec 
Log Message:
auto-import eet-0.9.10.007-2.fc3 on branch devel from eet-0.9.10.007-2.fc3.src.rpm

eet-0.9.10.007-gcc4.patch:

--- NEW FILE eet-0.9.10.007-gcc4.patch ---
--- eet-0.9.10.007/src/lib/eet_lib.c.gcc4	2005-04-01 02:19:49.000000000 -0500
+++ eet-0.9.10.007/src/lib/eet_lib.c	2005-05-20 01:07:12.000000000 -0400
@@ -201,7 +201,7 @@
 eet_hash_gen(char *key, int hash_size)
 {
    int hash_num = 0;
-   unsigned char *ptr;
+   char *ptr;
    const int masks[9] =
      {
 	0x00,
@@ -413,7 +413,7 @@
    if ((mode == EET_FILE_MODE_READ) || (mode == EET_FILE_MODE_READ_WRITE))
      {
 	unsigned char buf[12];
-	unsigned char *dyn_buf, *p;
+	char *dyn_buf, *p;
 	unsigned long int i1, i2;
 	int num_entries, byte_entries, i;
 	size_t count;
@@ -503,7 +503,7 @@
 	     int flags;
 	     int size;
 	     int data_size;
-	     int name_size;
+	     size_t name_size;
 	     char *name;
 	     int hash;
 	     Eet_File_Node *node;


--- NEW FILE eet.spec ---
Name:           eet
Version:        0.9.10.007
Release:        2%{?dist}
Summary:        A library designed to write an arbitary set of chunks of data to a file

Group:          System Environment/Libraries
License:        MIT
URL:            http://www.enlightenment.org/index.php?id=24
# http://enlightenment.freedesktop.org/fetch.php?file=%{name}-%{version}.tar.gz
Source0:        %{name}-%{version}.tar.gz
Patch:          %{name}-0.9.10.007-gcc4.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  zlib-devel libjpeg-devel

%description
EET is a tiny library designed to write an arbitrary set of chunks of data to a
file and optionally compress each chunk (very much like a zip file) and allow
fast random-access reading of the file later on.

%package        devel
Summary:        Development libraries for eet
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description    devel
The eet-devel package contains static libraries and header files for developing
applications that use eet.

%prep
%setup -q
%patch -p 1 -b .gcc4

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING-PLAIN README
%{_bindir}/eet
%{_libdir}/libeet.so.*

%files devel
%defattr(-,root,root,-)
%{_bindir}/eet-config
%{_includedir}/Eet.h
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/eet.pc

%changelog
* Mon May 23 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.9.10.007-2
- Removed zero-length ChangeLog and NEWS

* Fri May 20 2005 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 0.9.10.007-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/eet/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 May 2005 17:00:05 -0000	1.1
+++ .cvsignore	23 May 2005 17:00:33 -0000	1.2
@@ -0,0 +1 @@
+eet-0.9.10.007.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/eet/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 May 2005 17:00:05 -0000	1.1
+++ sources	23 May 2005 17:00:33 -0000	1.2
@@ -0,0 +1 @@
+0b0cdf6ca98ad6259339382f518a360a  eet-0.9.10.007.tar.gz




More information about the fedora-extras-commits mailing list