libwbxml2/libwbxml2.spec

67 lines
1.6 KiB
RPMSpec

Name: libwbxml2
Version: 0.9.2
Release: 1mamba
Summary: wbxml2 library from the Synce project
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.synce.org
Source: http://downloads.sourceforge.net/synce/wbxml2-%{version}%2Bsvn49synce.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libpopt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
wbxml2 library from the Synce project.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
wbxml2 library from the Synce project.
This package contains static libraries and header files need for development.
%prep
%setup -q -n wbxml2-%{version}+svn49synce
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/wbxml2xml
%{_bindir}/xml2wbxml
%{_libdir}/libwbxml2.so.*
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
%files devel
%defattr(-,root,root)
%{_libdir}/libwbxml2.a
%{_libdir}/libwbxml2.la
%{_libdir}/libwbxml2.so
%{_includedir}/*.h
%{_libdir}/pkgconfig/*.pc
%{_datadir}/doc/wbxml2-%{version}+svn49synce/*
%changelog
* Fri May 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2%2Bsvn49synce-1mamba
- package created by autospec