Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:code933k
libmxml1
libmxml1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmxml1.spec of Package libmxml1
# # spec file for package iconv (Version 1.13.1) # # Copyright 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # norootforbuild %define rname mxml Summary: Small XML library for reading and writing XML alike data files Name: lib%{rname}1 Version: 2.6 Release: 1 Source0: %{rname}-%{version}.tar.bz2 #Source1: http://www.minixml.org/software.php?VERSION=2.6&FILE=mxml/2.6/mxml-2.6.tar.gz Vendor: %{vendor} URL: http://www.minixml.org License: GPL Group: System/Libraries AutoReqProv: on BuildRoot: %{_builddir}/%{name}-%{version}-build %description Mini-XML is a small XML library that you can use to read and write XML and XML-like data files in your application without requiring large non-standard libraries. Mini-XML only requires an ANSI C compatible compiler (GCC works, as do most vendors' ANSI C compilers) and a 'make' program. Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings. Data is stored in a linked-list tree structure, preserving the XML data hierarchy, and arbitrary element names, attributes, and attribute values are supported with no preset limits, just available memory. %prep %setup -q -n %{rname}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{_prefix} \ --libdir=%{_libdir} \ --sysconfdir=%{_sysconfdir} \ --localstatedir=%{_localstatedir} \ --docdir=%{_docdir} \ --enable-threads \ --enable-shared \ --disable-static %{__make} %{?jobs:-j%jobs} %debug_package %install %{__make} BUILDROOT=$RPM_BUILD_ROOT install %{__install} -d -m 0755 %{buildroot}%{_docdir} [ -d %{buildroot}/usr/share/doc/%rname ] && %{__mv} -f %{buildroot}/usr/share/doc/%rname \ %{buildroot}%{_docdir}/%rname-%version %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root,-) %attr(0755,root,root)%{_bindir}/%{rname}doc %{_libdir}/lib%{rname}.so.* %{_mandir}/man1/%{rname}doc.1.gz %{_mandir}/man3/%{rname}.3.gz ################### ## Documentation ## ################### %package doc Summary: Language localization files for libmxml1, Mini-XML Group: Documentation/Other %description doc Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and strings. This package installs documentation for Mini-XML. %files doc %defattr(-,root,root,-) %{_docdir}/%{rname}-%{version} %{_docdir}/%{rname}-%{version}/*.gif %{_docdir}/%{rname}-%{version}/CHANGES %{_docdir}/%{rname}-%{version}/COPYING %{_docdir}/%{rname}-%{version}/README %{_docdir}/%{rname}-%{version}/%{rname}.html %{_docdir}/%{rname}-%{version}/%{rname}doc.xsd ####################### ## Development Files ## ####################### %package devel Summary: Development files for libmxml1, Mini-XML Group: Development/Libraries/C and C++ Requires: %name = %{version} BuildRequires: pkg-config %description devel This package installs the files necessary to develop mxml based applications or compiling programs aimed at XML like file data handling. %files devel %defattr(-,root,root,-) %attr(0644,root,root)%{_libdir}/lib%{rname}.a %{_libdir}/lib%{rname}.so %{_includedir}/%{rname}.h %{_libdir}/pkgconfig/%{rname}.pc %changelog * Fri Jul 3 2009 Mario GarcĂa H. <code933k@gmail.com> - 1.13.1 - Initial package.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor