libical/libical.spec

118 lines
3.7 KiB
RPMSpec

Name: libical
Version: 3.0.5
Release: 1mamba
Summary: An open source reference implementation of the icalendar data type and serialization format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/freeassociation
Source: https://github.com/libical/libical.git/v%{version}/libical-%{version}.tar.bz2
#http://downloads.sourceforge.net/sourceforge/freeassociation/libical-%{version}.tar.gz
Patch0: %{name}-0.48-pkgconfig.patch
License: LGPL, MPL 1.1
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
An open source reference implementation of the icalendar data type and serialization format. libical is used in dozens of calendaring and scheduling products.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
An open source reference implementation of the icalendar data type and serialization format. libical is used in dozens of calendaring and scheduling products.
This package contains static libraries and header files need for development.
%prep
%setup -q
#%patch0 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libical.so.*
%{_libdir}/libical_cxx.so.*
%{_libdir}/libicalss_cxx.so.*
%{_libdir}/libicalss.so.*
%{_libdir}/libicalvcal.so.*
%{_libdir}/libical-glib.so.*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libical
%{_includedir}/libical/*.h
%dir %{_includedir}/libical-glib
%{_includedir}/libical-glib/*.h
%{_libdir}/libical.a
%{_libdir}/libical.so
%{_libdir}/libical_cxx.a
%{_libdir}/libical_cxx.so
%{_libdir}/libicalss.a
%{_libdir}/libicalss.so
%{_libdir}/libicalss_cxx.a
%{_libdir}/libicalss_cxx.so
%{_libdir}/libicalvcal.a
%{_libdir}/libicalvcal.so
%{_libdir}/libical-glib.a
%{_libdir}/libical-glib.so
%dir %{_datadir}/gtk-doc/html/libical-glib
%{_datadir}/gtk-doc/html/libical-glib/*
%{_libdir}/cmake/LibIcal/LibIcal*.cmake
%{_libdir}/pkgconfig/*.pc
%doc THANKS TODO
%changelog
* Thu Sep 12 2019 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
- automatic version update by autodist
* Tue Oct 02 2018 Automatic Build System <autodist@mambasoft.it> 3.0.4-1mamba
- automatic version update by autodist
* Mon Mar 19 2018 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Thu Jan 28 2016 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic version update by autodist
* Sun Oct 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- update to 1.0.1
* Sun Jan 26 2014 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic version update by autodist
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 0.48-1mamba
- automatic version update by autodist
* Tue Feb 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.44-3mamba
- add %{_includedir}/libical in pkgconfig file
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 0.44-2mamba
- automatic rebuild by autodist
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 0.44-1mamba
- automatic update by autodist
* Mon Feb 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43-1mamba
- package created by autospec