libgmime/libgmime.spec

232 lines
7.8 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
Name: libgmime
Version: 3.2.14
Release: 1mamba
Summary: gmime (MIME parsing library)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://developer-old.gnome.org/gmime/stable/
Source: https://github.com/jstedfast/gmime.git/%{version}/gmime-%{version}.tar.bz2
#Source: http://download.gnome.org/sources/gmime/%{majver}/gmime-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgpgme-devel
BuildRequires: libidn2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libselinux-devel
%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.
%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 needed 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.
%debug_package
%prep
%setup -q -n gmime-%{version}
%ifarch arm
sed -i "s|dist-xz||" configure.ac
sed -i "s|no-dist-gzip||" configure.ac
%endif
NOCONFIGURE=1 ./autogen.sh
%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-3.*.so.*
%{_libdir}/girepository-1.0/GMime-3.*.typelib
#%{_datadir}/gapi-2.0/gmime-api.xml
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gmime-3.*/gmime
%{_includedir}/gmime-3.*/gmime/*.h
%{_libdir}/libgmime-3.*.a
%{_libdir}/libgmime-3.*.so
%{_datadir}/gir-1.0/GMime-3.*.gir
%{_datadir}/vala/vapi/gmime-3.*.deps
%{_datadir}/vala/vapi/gmime-3.*.vapi
#%{_datadir}/gapi-2.0/gmime-api.xml
%{_libdir}/pkgconfig/gmime-3.*.pc
#%doc ChangeLog README TODO
#%files docs
#%defattr(-,root,root)
#%dir %{_datadir}/gtk-doc/html/gmime-3.*
#%{_datadir}/gtk-doc/html/gmime-3.*/*
#%files -n gmime-sharp
#%defattr(-,root,root)
#%dir %{_prefix}/lib/mono/gac/gmime-sharp/3.*.0.0__2b75c2ad004c52e4
#%{_prefix}/lib/mono/gac/gmime-sharp/3.*.0.0__2b75c2ad004c52e4/gmime-sharp.dll
#%{_prefix}/lib/mono/gac/gmime-sharp/3.*.0.0__2b75c2ad004c52e4/gmime-sharp.dll.config
#%dir %{_prefix}/lib/mono/gmime-sharp-3.*
#%{_prefix}/lib/mono/gmime-sharp-3.*/gmime-sharp.dll
#%files -n gmime-sharp-devel
#%defattr(-,root,root)
#%{_libdir}/pkgconfig/gmime-sharp-3.*.pc
%changelog
* Mon Sep 04 2023 Automatic Build System <autodist@mambasoft.it> 3.2.14-1mamba
- automatic version update by autodist
* Sat Aug 20 2022 Automatic Build System <autodist@mambasoft.it> 3.2.13-1mamba
- automatic version update by autodist
* Sun Jun 05 2022 Automatic Build System <autodist@mambasoft.it> 3.2.12-1mamba
- automatic version update by autodist
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.11-1mamba
- update to 3.2.11
* Tue Feb 09 2021 Automatic Build System <autodist@mambasoft.it> 3.2.7-1mamba
- automatic version update by autodist
* 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