Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > bc051a384b961bc8262bc0c41789956f > files > 2

exml-0.1.1-1.cvs20080202.2mdv2008.0.src.rpm

%define _missing_doc_files_terminate_build 0

%define	name	exml
%define version 0.1.1
%define	cvs	20080202
%define release %mkrel 1.cvs%{cvs}.2

%define major	0
%define libname %mklibname %{name} %major
%define libnamedev %mklibname %{name} -d

Summary:	XML Library for EFL
Name:		%{name}
Version:	%{version}
Release:	%{release}
Epoch:		1
License:	BSD
Group:		System/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
URL:		http://www.enlightenment.org/
Source:		%{name}-%cvs.tar.bz2
BuildRequires:	libxml2-devel
BuildRequires:	ecore-devel >= 0.9.9.042
Buildrequires:	libxslt-proc, libxslt-devel

%description
XML library for EFL.

%package -n %libname
Summary:	Enlightenment XML libraries
Group:		System/Libraries
Provides:	%name = %version-%release

%description -n %libname
Exml libraries.

%package -n %libnamedev
Summary:  Exml headers, static libraries, documentation and test programs
Group:    System/Libraries
Requires: %libname = %epoch:%version
Provides: lib%{name}-devel = %epoch:%version-%release
Provides: %{name}-devel = %epoch:%version-%release

%description -n %libnamedev
Headers, static libraries, test programs and documentation for EXML.

%prep
%setup -q -n %name

%build
./autogen.sh
%configure2_5x
%make

%install
rm -fr $RPM_BUILD_ROOT
%makeinstall

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -n %libname
%defattr(-, root, root)
%doc AUTHORS COPYING INSTALL NEWS README
%{_libdir}/*.so.%{major}*

%files -n %libnamedev
%defattr(-, root, root)
%doc doc/html
%{_libdir}/*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*


%changelog
* Mon Feb 18 2008 Antoine Ginies <aginies@mandriva.com> 1:0.1.1-1.cvs20080202.2mdv2008.1
+ Revision: 171718
- specific buildrequires
- bump release

  + Thierry Vignaud <tvignaud@mandriva.com>
    - fix no-buildroot-tag

* Sun Feb 03 2008 Austin Acton <austin@mandriva.org> 1:0.1.1-1.cvs20080202.1mdv2008.1
+ Revision: 161615
- new cvs checkout
- tidy spec file (a lot)

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Oct 31 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-9mdv2008.1
+ Revision: 104077
- CVS SNAPSHOT 20071031, release 0.1.1

* Fri Aug 31 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-8mdv2008.0
+ Revision: 76733
- fix libxsltproc-devel buildrequires
- fix path in tarball
- CVS SNAPSHOT 20070830, release 0.1.1

* Tue Jun 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.1.1-7mdv2008.0
+ Revision: 41497
- fix group

* Mon Jun 04 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.1.1-6mdv2008.0
+ Revision: 35068
- revert bogus previous major "fix"
- prevent major bug to happen again
- move .so files in -devel subpackage

* Wed May 30 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-5mdv2008.0
+ Revision: 32777
- increase mkrel
- change major, add a provide

* Tue May 29 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-4mdv2008.0
+ Revision: 32633
- CVS SNAPSHOT 20070529, release 0.1.1

* Mon May 28 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-3mdv2008.0
+ Revision: 32181
- adjust provides

* Sat May 26 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-2mdv2008.0
+ Revision: 31311
- fix deps problem
- use a version macro

* Fri May 25 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-1mdv2008.0
+ Revision: 31009
- add xslt-devel buildrequires
- add libxslt-proc buildrequires
- Import exml