Author: glen Date: Tue Dec 29 17:28:34 2009 GMT Module: packages Tag: HEAD ---- Log message: - build shared
---- Files affected: packages/mxml: mxml.spec (1.11 -> 1.12) ---- Diffs: ================================================================ Index: packages/mxml/mxml.spec diff -u packages/mxml/mxml.spec:1.11 packages/mxml/mxml.spec:1.12 --- packages/mxml/mxml.spec:1.11 Tue Dec 29 18:24:12 2009 +++ packages/mxml/mxml.spec Tue Dec 29 18:28:29 2009 @@ -1,13 +1,10 @@ # $Revision$, $Date$ -# TODO: -# - make it shared -# Summary: Small XML parsing library Summary(pl.UTF-8): Mała biblioteka parsująca XML Name: mxml Version: 2.6 Release: 0.1 -License: GPL v.2 +License: GPL v2 Group: Libraries Source0: http://ftp.easysw.com/pub/mxml/2.6/%{name}-%{version}.tar.gz # Source0-md5: 68977789ae64985dddbd1a1a1652642e @@ -26,8 +23,8 @@ Summary: Header files for mxml Summary(pl.UTF-8): Pliki nagłówkowe dla mxml Group: Development/Libraries -Conflicts: libmxml-devel Requires: %{name} = %{version}-%{release} +Conflicts: libmxml-devel %description devel Header files for mxml. @@ -53,7 +50,8 @@ %build %{__autoconf} -%configure +%configure \ + --enable-shared %{__make} \ OPTFLAGS="%{rpmcflags}" @@ -64,8 +62,8 @@ BUILDROOT=$RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT%{_docdir}/mxml -rm -rf $RPM_BUILD_ROOT/usr/share/man/cat1/mxmldoc.1* -rm -rf $RPM_BUILD_ROOT/usr/share/man/cat3/mxml.3* +rm -rf $RPM_BUILD_ROOT%{_mandir}/cat1/mxmldoc.1* +rm -rf $RPM_BUILD_ROOT%{_mandir}/cat3/mxml.3* %clean rm -rf $RPM_BUILD_ROOT @@ -73,20 +71,22 @@ %files %defattr(644,root,root,755) %doc CHANGES README -%attr(755,root,root) %{_libdir}/lib*.a +%attr(755,root,root) %{_libdir}/libmxml.so.*.* +%attr(755,root,root) %ghost %{_libdir}/libmxml.so.1 +%attr(755,root,root) %{_bindir}/* %{_mandir}/man3/* -#%files devel -#%defattr(644,root,root,755) +%files devel +%defattr(644,root,root,755) %doc doc/*.html -%attr(755,root,root) %{_bindir}/* +%{_libdir}/libmxml.so %{_pkgconfigdir}/*.pc %{_includedir}/*.h %{_mandir}/man1/* -#%%files static -#%%defattr(644,root,root,755) -#%%{_libdir}/*.a +%files static +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/lib*.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -94,6 +94,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.12 2009/12/29 17:28:29 glen +- build shared + Revision 1.11 2009/12/29 17:24:12 glen - up to 2.6 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mxml/mxml.spec?r1=1.11&r2=1.12&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
