automatic version update by autodist [release 0.2.9-1mamba;Mon May 27 2013]

This commit is contained in:
Automatic Build System 2024-01-06 06:09:24 +01:00
parent 7c0dac93a4
commit 907827676a
2 changed files with 107 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libwps
A library (for use by word processors, for example) for importing the Microsoft Works word processor file format.

105
libwps.spec Normal file
View File

@ -0,0 +1,105 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libwps
Version: 0.2.9
Release: 1mamba
Summary: A library for importing the Microsoft Works word processor file format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libwps.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/libwps/libwps-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libwpd-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A library (for use by word processors, for example) for importing the Microsoft Works word processor file format.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A library (for use by word processors, for example) for importing the Microsoft Works word processor file format.
This package contains static libraries and header files need for development.
%package tools
Group: Applications/Publishing
Summary: Programs for manipulating Microsoft Works word processor files
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
A library (for use by word processors, for example) for importing the Microsoft Works word processor file format.
This package package contains various programs for manipulating WordPerfect format files.
%prep
%setup -q
%build
%configure
%make CPPFLAGS="-Wno-unused-local-typedefs"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libwps-%{majver}.so.*
#%{_libdir}/libwps-stream-%{majver}.so.*
%doc CREDITS
%files devel
%defattr(-,root,root)
%{_libdir}/libwps-%{majver}.la
%{_libdir}/libwps-%{majver}.so
#%{_libdir}/libwps-stream-%{majver}.la
#%{_libdir}/libwps-stream-%{majver}.so
%dir %{_includedir}/libwps-%{majver}/libwps
%{_includedir}/libwps-%{majver}/libwps/*.h
%{_libdir}/pkgconfig/*.pc
%dir %{_docdir}/libwps
%{_docdir}/libwps/*
%doc README
%files tools
%defattr(-,root,root)
%{_bindir}/wps2html
%{_bindir}/wps2raw
%{_bindir}/wps2text
%changelog
* Mon May 27 2013 Automatic Build System <autodist@mambasoft.it> 0.2.9-1mamba
- automatic version update by autodist
* Fri May 17 2013 Automatic Build System <autodist@mambasoft.it> 0.2.8-1mamba
- automatic version update by autodist
* Tue Dec 04 2012 Automatic Build System <autodist@mambasoft.it> 0.2.7-1mamba
- automatic version update by autodist
* Thu Oct 13 2011 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
- automatic version update by autodist
* Sun Nov 21 2010 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
- automatic update by autodist
* Wed Jul 29 2009 Automatic Build System <autodist@mambasoft.it> 0.1.2-1mamba
- automatic update by autodist
* Wed Aug 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.0-1mamba
- package created by autospec