diff --git a/README.md b/README.md index ab9dead..8f2104a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libical0 +An open source reference implementation of the icalendar data type and serialization format. libical is used in dozens of calendaring and scheduling products. + diff --git a/libical-0.48-pkgconfig.patch b/libical-0.48-pkgconfig.patch new file mode 100644 index 0000000..67341c3 --- /dev/null +++ b/libical-0.48-pkgconfig.patch @@ -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/ diff --git a/libical0.spec b/libical0.spec new file mode 100644 index 0000000..12a9d3b --- /dev/null +++ b/libical0.spec @@ -0,0 +1,91 @@ +Name: libical0 +Version: 1.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 +URL: http://sourceforge.net/projects/freeassociation +Source: 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 +./bootstrap +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libical.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.la +%{_libdir}/libical.so +%{_libdir}/libicalss.a +%{_libdir}/libicalss.la +%{_libdir}/libicalss.so +%{_libdir}/libicalvcal.a +%{_libdir}/libicalvcal.la +%{_libdir}/libicalvcal.so +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README README.win32 THANKS TODO + +%changelog +* Tue Feb 09 2016 Silvan Calarco 1.0-2mamba +- legacy package + +* Sun Jan 26 2014 Automatic Build System 1.0-1mamba +- automatic version update by autodist + +* Mon Dec 03 2012 Automatic Build System 0.48-1mamba +- automatic version update by autodist + +* Tue Feb 22 2011 Silvan Calarco 0.44-3mamba +- add %{_includedir}/libical in pkgconfig file + +* Sat Jun 26 2010 Automatic Build System 0.44-2mamba +- automatic rebuild by autodist + +* Tue May 11 2010 Automatic Build System 0.44-1mamba +- automatic update by autodist + +* Mon Feb 02 2009 Silvan Calarco 0.43-1mamba +- package created by autospec