legacy package [release 2.0.0-2mamba;Sat Jan 13 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 04:37:05 +01:00
parent 741e9127b4
commit 3c3859286c
3 changed files with 112 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libical2 # libical2
An open source reference implementation of the icalendar data type and serialization format. libical is used in dozens of calendaring and scheduling products.

View File

@ -0,0 +1,9 @@
diff -Nru libical-0.48.orig/libical.pc.in libical-0.48/libical.pc.in
--- libical-0.48.orig/libical.pc.in 2011-12-13 18:08:22.000000000 +0100
+++ libical-0.48/libical.pc.in 2012-12-03 12:40:01.750589672 +0100
@@ -8,4 +8,4 @@
Description: An implementation of basic iCAL protocols
Version: @VERSION@
Libs: -L${libdir} -lical -licalss -licalvcal ${threadslib}
-Cflags: -I${includedir}
+Cflags: -I${includedir} -I${includedir}/libical/

101
libical2.spec Normal file
View File

@ -0,0 +1,101 @@
Name: libical2
Version: 2.0.0
Release: 2mamba
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: libical-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 -n libical-%{version}
#%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.*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
#%{_includedir}/*.h
%dir %{_includedir}/libical
%{_includedir}/libical/*.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}/cmake/LibIcal/LibIcal*.cmake
%{_libdir}/pkgconfig/*.pc
%doc THANKS TODO
%changelog
* Sat Jan 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
- legacy package
* 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