95 lines
2.4 KiB
RPMSpec
95 lines
2.4 KiB
RPMSpec
|
Name: libmwaw
|
||
|
Version: 0.2.0
|
||
|
Release: 1mamba
|
||
|
Summary: Import library for some old mac text documents
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://sourceforge.net/p/libmwaw/wiki/Home/
|
||
|
Source: http://downloads.sourceforge.net/project/libmwaw/libmwaw/libmwaw-%{version}/libmwaw-%{version}.tar.bz2
|
||
|
License: LGPL, MPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libwpd-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Import library for some old mac text documents.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%package tools
|
||
|
Group: Applications/Publishing
|
||
|
Summary: Utility applications for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description tools
|
||
|
This package contains utility applications for %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%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)
|
||
|
%{_libdir}/libmwaw-*.so.*
|
||
|
%doc CREDITS
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/libmwaw-*
|
||
|
%dir %{_includedir}/libmwaw-*/libmwaw
|
||
|
%{_includedir}/libmwaw-*/libmwaw/*.hxx
|
||
|
%{_libdir}/libmwaw-*.la
|
||
|
%{_libdir}/libmwaw-*.so
|
||
|
%{_libdir}/pkgconfig/libmwaw-*.pc
|
||
|
%dir %{_datadir}/doc/libmwaw
|
||
|
%{_datadir}/doc/libmwaw/*
|
||
|
%doc CHANGES README
|
||
|
|
||
|
%files tools
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/mwaw2csv
|
||
|
%{_bindir}/mwaw2html
|
||
|
%{_bindir}/mwaw2raw
|
||
|
%{_bindir}/mwaw2text
|
||
|
%{_bindir}/mwawFile
|
||
|
%{_bindir}/mwawZip
|
||
|
|
||
|
%changelog
|
||
|
* Thu Feb 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
|
||
|
- update to 0.2.0
|
||
|
|
||
|
* Sat Sep 07 2013 Automatic Build System <autodist@mambasoft.it> 0.1.11-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sat Jul 27 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.10-1mamba
|
||
|
- package created by silvan using the webbuild interface
|