libgmime/libgmime.spec

213 lines
7.2 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f 1-2)
Name: libgmime
Version: 2.6.23
Release: 1mamba
Summary: gmime (MIME parsing library)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://spruce.sourceforge.net/gmime/
Source: http://download.gnome.org/sources/gmime/%{majver}/gmime-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libselinux-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GMime is a set of utilities for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME) as defined by many Internet RFCs.
Jeffrey Stedfast is the author of GMime.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains static libraries and header files need for development.
%package docs
Group: Documentation
Summary: Documentation for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description docs
This package contains Documentation for %{name}.
%package -n gmime-sharp
Group: System/Libraries
Summary: GMIME# bindings for mono
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n gmime-sharp
GMime is a set of utilities for parsing and creating messages using the Multipurpose Internet Mail Extension (MIME) as defined by many Internet RFCs.
This package contains %{name}# bindings for mono .
%package -n gmime-sharp-devel
Group: Development/Libraries
Summary: GMIME# bindings for mono
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n gmime-sharp-devel
GMime is a set of utilities for parsing and creating messages using
the Multipurpose Internet Mail Extension (MIME) as defined by many
Internet RFCs.
This package contains .pc file for %{name}# bindings for mono .
%prep
%setup -q -n gmime-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#%{__mv} -v %{buildroot}%{_bindir}/uuencode %{buildroot}%{_bindir}/gmime-uuencode
#%{__mv} -v %{buildroot}%{_bindir}/uudecode %{buildroot}%{_bindir}/gmime-uudecode
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n gmime-sharp -p /sbin/ldconfig
%postun -n gmime-sharp -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgmime-%{majver}.so.*
%{_libdir}/girepository-1.0/GMime-%{majver}.typelib
%{_datadir}/gapi-2.0/gmime-api.xml
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gmime-%{majver}/gmime
%{_includedir}/gmime-%{majver}/gmime/*.h
%{_libdir}/libgmime-%{majver}.a
%{_libdir}/libgmime-%{majver}.la
%{_libdir}/libgmime-%{majver}.so
%{_datadir}/gir-1.0/GMime-%{majver}.gir
%{_datadir}/vala/vapi/gmime-%{majver}.deps
%{_datadir}/vala/vapi/gmime-%{majver}.vapi
#%{_datadir}/gapi-2.0/gmime-api.xml
%{_libdir}/pkgconfig/gmime-%{majver}.pc
%doc ChangeLog README TODO
%files docs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/gmime-%{majver}
#%{_datadir}/gtk-doc/html/gmime-%{majver}/gmime-%{majver}.devhelp
%{_datadir}/gtk-doc/html/gmime-%{majver}/*
%files -n gmime-sharp
%defattr(-,root,root)
%dir %{_prefix}/lib/mono/gac/gmime-sharp/%{majver}.0.0__2b75c2ad004c52e4
%{_prefix}/lib/mono/gac/gmime-sharp/%{majver}.0.0__2b75c2ad004c52e4/gmime-sharp.dll
%{_prefix}/lib/mono/gac/gmime-sharp/%{majver}.0.0__2b75c2ad004c52e4/gmime-sharp.dll.config
%dir %{_prefix}/lib/mono/gmime-sharp-%{majver}
%{_prefix}/lib/mono/gmime-sharp-%{majver}/gmime-sharp.dll
%files -n gmime-sharp-devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/gmime-sharp-%{majver}.pc
%changelog
* Sun Jan 22 2017 Automatic Build System <autodist@mambasoft.it> 2.6.23-1mamba
- automatic version update by autodist
* Sat Dec 24 2016 Automatic Build System <autodist@mambasoft.it> 2.6.22-1mamba
- automatic version update by autodist
* Wed Feb 19 2014 Automatic Build System <autodist@mambasoft.it> 2.6.20-1mamba
- automatic version update by autodist
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 2.6.19-1mamba
- automatic version update by autodist
* Mon Sep 16 2013 Automatic Build System <autodist@mambasoft.it> 2.6.18-1mamba
- automatic version update by autodist
* Fri Aug 09 2013 Automatic Build System <autodist@mambasoft.it> 2.6.17-1mamba
- automatic version update by autodist
* Mon Jul 01 2013 Automatic Build System <autodist@mambasoft.it> 2.6.16-1mamba
- automatic version update by autodist
* Tue Feb 19 2013 Automatic Build System <autodist@mambasoft.it> 2.6.15-1mamba
- automatic version update by autodist
* Tue Feb 19 2013 Automatic Build System <autodist@mambasoft.it> 2.6.14-1mamba
- automatic version update by autodist
* Mon Dec 10 2012 Automatic Build System <autodist@mambasoft.it> 2.6.13-1mamba
- automatic version update by autodist
* Sat Nov 03 2012 Automatic Build System <autodist@mambasoft.it> 2.6.12-1mamba
- automatic version update by autodist
* Mon Oct 22 2012 Automatic Build System <autodist@mambasoft.it> 2.6.11-1mamba
- automatic version update by autodist
* Mon Jul 02 2012 Automatic Build System <autodist@mambasoft.it> 2.6.10-1mamba
- automatic version update by autodist
* Mon Apr 23 2012 Automatic Build System <autodist@mambasoft.it> 2.6.9-1mamba
- automatic version update by autodist
* Fri Apr 20 2012 Automatic Build System <autodist@mambasoft.it> 2.6.8-1mamba
- automatic version update by autodist
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 2.6.7-1mamba
- automatic version update by autodist
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 2.4.26-1mamba
- automatic version update by autodist
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 2.4.25-1mamba
- update to 2.4.25
* Tue Sep 14 2010 Automatic Build System <autodist@mambasoft.it> 2.4.19-1mamba
- automatic update by autodist
* Sat May 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.17-1mamba
- update to 2.4.17
* Wed Apr 14 2010 Automatic Build System <autodist@mambasoft.it> 2.4.15-1mamba
- automatic update by autodist
* Fri Dec 04 2009 Automatic Build System <autodist@mambasoft.it> 2.4.11-1mamba
- automatic update by autodist
* Tue Oct 13 2009 Automatic Build System <autodist@mambasoft.it> 2.4.10-1mamba
- automatic update by autodist
* Sun Aug 16 2009 Automatic Build System <autodist@mambasoft.it> 2.4.8-1mamba
- automatic update by autodist
* Sat May 02 2009 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
- automatic update by autodist
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.6-1mamba
- automatic update by autodist
* Tue Mar 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.5-1mamba
- automatic update by autodist
* Wed Feb 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.3-1mamba
- automatic update by autodist
* Mon Oct 27 2008 gil <puntogil@libero.it> 2.4.2-1mamba
- update to 2.4.2
* Thu May 15 2008 gil <puntogil@libero.it> 2.2.11-1mamba
- package created by autospec