Author: glen                         Date: Fri Feb  9 16:58:58 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.3.0
- new url, php and perl extensions distributed elsewhere
- add -static
- note does not build 100% on ac (random gcc errors)

---- Files affected:
SPECS:
   ming.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/ming.spec
diff -u SPECS/ming.spec:1.33 SPECS/ming.spec:1.34
--- SPECS/ming.spec:1.33        Sun Jan 28 12:24:21 2007
+++ SPECS/ming.spec     Fri Feb  9 17:58:52 2007
@@ -3,18 +3,14 @@
 Summary:       Ming - an SWF output library
 Summary(pl):   Ming - biblioteka do produkcji plików SWF
 Name:          ming
-Version:       0.2a
-Release:       13
+Version:       0.3.0
+Release:       0.1
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.opaque.net/ming/%{name}-%{version}.tgz
-# Source0-md5: 72b25da0af28d9cb025c2aaf3fd0185c
-Patch0:                %{name}-dynamic-exts.patch
-Patch1:                %{name}-soname.patch
-Patch2:                %{name}-python.patch
-Patch3:                %{name}-c++.patch
-Patch4:                %{name}-types.patch
-URL:           http://www.opaque.net/ming/
+Source0:       http://dl.sourceforge.net/ming/%{name}-%{version}.tar.gz
+# Source0-md5: 56b29eeb4fdd0b98c9ee62e25d14841d
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://ming.sourceforge.net/
 BuildRequires: python-devel
 BuildRequires: rpm-perlprov >= 4.0.2-24
 BuildRequires: zlib-devel
@@ -42,31 +38,13 @@
 %description devel -l pl
 Pliki nagłówkowe dla biblioteki ming (do C i C++).
 
-%package -n perl-ming
-Summary:       Ming perl module
-Summary(pl):   Moduł perla Ming
-Group:         Development/Languages/Perl
-Requires:      %{name} = %{version}-%{release}
-Obsoletes:     ming-perl
-
-%description -n perl-ming
-Ming perl module - perl wrapper for Ming library.
-
-%description -n perl-ming -l pl
-Moduł perla Ming - perlowy wrapper do biblioteki Ming.
-
-%package -n python-ming
-Summary:       Ming Python module
-Summary(pl):   Moduł biblioteki Ming dla języka Python
-Group:         Development/Languages/Perl
-Requires:      %{name} = %{version}-%{release}
-%pyrequires_eq python-libs
-
-%description -n python-ming
-Ming Python module.
+%package static
+Summary:       Ming static libraries
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
 
-%description -n python-ming -l pl
-Moduł biblioteki Ming dla języka Python.
+%description static
+Static ming library
 
 %package utils
 Summary:       Ming utilities
@@ -91,61 +69,17 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
-%{__make} \
-       CC="%{__cc}" \
-       LIBDIR=%{_libdir} \
-       CFLAGS="%{rpmcflags} -fPIC"
-
-#%%{__make} -C java_ext
-
-cd perl_ext
-%{__perl} Makefile.PL \
-       INSTALLDIRS=vendor
-%{__make} \
-       OPTIMIZE="%{rpmcflags}"
-cd ..
-
-%{__make} -C py_ext \
-       CC="%{__cc}" \
-       CFLAGS="%{rpmcflags}" \
-       PYINCDIR=%{py_incdir}
-
-#%%{__make} -C rb_ext
-
-cd util
-%{__make} listswf listaction swftophp makefdb \
-       CC="%{__cc} %{rpmcflags}"
-
-%{__cc} %{rpmcflags} -o listfdb listfdb.c
+%configure
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{py_sitedir}}
 
 %{__make} install \
-       LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
-       PREFIX=$RPM_BUILD_ROOT%{_prefix}
-
-%{__make} -C perl_ext install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__make} -C py_ext install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       PYLIBDIR=$RPM_BUILD_ROOT%{py_libdir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-
-install util/{listswf,listaction,listfdb,makefdb,swftophp} 
$RPM_BUILD_ROOT%{_bindir}
-rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
-rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/SWF/.packlist
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/ming.py
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -154,7 +88,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES CREDITS README TODO
+%doc CREDITS README TODO
 %attr(755,root,root) %{_libdir}/libming.so.*
 
 %files devel
@@ -162,27 +96,35 @@
 %attr(755,root,root) %{_libdir}/libming.so
 %{_includedir}/ming.h
 %{_includedir}/mingpp.h
+%{_includedir}/ming_config.h
 
-%files -n perl-ming
+%files static
 %defattr(644,root,root,755)
-%doc perl_ext/{README,TODO}
-%{perl_vendorarch}/SWF.pm
-%{perl_vendorarch}/SWF
-%dir %{perl_vendorarch}/auto/SWF
-%{perl_vendorarch}/auto/SWF/SWF.bs
-%attr(755,root,root) %{perl_vendorarch}/auto/SWF/SWF.so
-%{_mandir}/man3/SWF*
-
-%files -n python-ming
-%defattr(644,root,root,755)
-%doc py_ext/{README,TODO}
-%attr(755,root,root) %{py_sitedir}/*.so
-%{py_sitedir}/*.py[co]
+%{_libdir}/libming.a
 
 %files utils
 %defattr(644,root,root,755)
 %doc util/{README,TODO}
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/dbl2png
+%attr(755,root,root) %{_bindir}/gif2dbl
+%attr(755,root,root) %{_bindir}/gif2mask
+%attr(755,root,root) %{_bindir}/listaction
+%attr(755,root,root) %{_bindir}/listaction_d
+%attr(755,root,root) %{_bindir}/listfdb
+%attr(755,root,root) %{_bindir}/listjpeg
+%attr(755,root,root) %{_bindir}/listmp3
+%attr(755,root,root) %{_bindir}/listswf
+%attr(755,root,root) %{_bindir}/listswf_d
+%attr(755,root,root) %{_bindir}/makefdb
+%attr(755,root,root) %{_bindir}/makeswf
+%attr(755,root,root) %{_bindir}/ming-config
+%attr(755,root,root) %{_bindir}/png2dbl
+%attr(755,root,root) %{_bindir}/png2swf
+%attr(755,root,root) %{_bindir}/raw2adpcm
+%attr(755,root,root) %{_bindir}/swftoperl
+%attr(755,root,root) %{_bindir}/swftophp
+%attr(755,root,root) %{_bindir}/swftopython
+%{_mandir}/man1/makeswf.1*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -190,6 +132,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2007/02/09 16:58:52  glen
+- 0.3.0
+- new url, php and perl extensions distributed elsewhere
+- add -static
+- note does not build 100% on ac (random gcc errors)
+
 Revision 1.33  2007/01/28 11:24:21  arekm
 - package symlinks
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ming.spec?r1=1.33&r2=1.34&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to