82 lines
2.0 KiB
RPMSpec
82 lines
2.0 KiB
RPMSpec
|
Name: libwv
|
||
|
Version: 1.2.9
|
||
|
Release: 1mamba
|
||
|
Summary: A library which allows access to Microsoft Word files
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://wvware.sourceforge.net
|
||
|
Source: http://abisource.com/downloads/wv/%{version}/wv-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libbzip2-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgsf-devel
|
||
|
BuildRequires: libpng-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
A library which allows access to Microsoft Word files.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Static libraries and headers for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
A library which allows access to Microsoft Word files.
|
||
|
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
|
||
|
%setup -q -n wv-%{version}
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/wv*
|
||
|
%{_libdir}/libwv-1.2.so.*
|
||
|
%{_datadir}/wv/*
|
||
|
%{_mandir}/man1/wv*.1.gz
|
||
|
%doc COPYING README
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/wv/*.h
|
||
|
%{_libdir}/libwv.a
|
||
|
%{_libdir}/libwv.la
|
||
|
%{_libdir}/libwv.so
|
||
|
%{_libdir}/pkgconfig/wv-1.0.pc
|
||
|
|
||
|
%changelog
|
||
|
* Sat Dec 08 2012 Automatic Build System <autodist@mambasoft.it> 1.2.9-1mamba
|
||
|
- update to 1.2.9
|
||
|
|
||
|
* Thu Dec 16 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-2mamba
|
||
|
- rebuilt to add pkgconfig provide
|
||
|
|
||
|
* Mon Jan 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Wed Mar 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
|
||
|
- package created by autospec
|