From 0a6637af475c172b406b885e789c13edf4d7af690ad18b562960d69f4f084b72 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 30 Jan 2008 01:34:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libical?expand=0&rev=2 --- libical-0.24.RC4.tar.bz2 | 3 - libical-0.27.tar.bz2 | 3 + libical-uninit.patch | 11 +++ libical.changes | 10 +++ libical.diff | 59 ---------------- libical.spec | 144 ++++++++++++++++++++++++++------------- 6 files changed, 119 insertions(+), 111 deletions(-) delete mode 100644 libical-0.24.RC4.tar.bz2 create mode 100644 libical-0.27.tar.bz2 create mode 100644 libical-uninit.patch delete mode 100644 libical.diff diff --git a/libical-0.24.RC4.tar.bz2 b/libical-0.24.RC4.tar.bz2 deleted file mode 100644 index fd0e9c1..0000000 --- a/libical-0.24.RC4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7fb9b0a5330bd57a39bfe0702a655cfd4905ce92282931f3b9a610d31c8a298 -size 556771 diff --git a/libical-0.27.tar.bz2 b/libical-0.27.tar.bz2 new file mode 100644 index 0000000..247e9d4 --- /dev/null +++ b/libical-0.27.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e71a966a8d25255f8e6e2dac81cfec28fa435c3b2dc888d7e337985c5bfacef3 +size 787918 diff --git a/libical-uninit.patch b/libical-uninit.patch new file mode 100644 index 0000000..d27a265 --- /dev/null +++ b/libical-uninit.patch @@ -0,0 +1,11 @@ +--- src/libical/sspm.c ++++ src/libical/sspm.c +@@ -1169,7 +1169,7 @@ + char *src, + size_t *size) + { +- int cc; ++ int cc = 0; + char buf[4] = {0,0,0,0}; + int p = 0; + int valid_data = 0; diff --git a/libical.changes b/libical.changes index c5f3a80..9278f4c 100644 --- a/libical.changes +++ b/libical.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jan 29 14:02:50 CET 2008 - sf@suse.de + +- update to 0.27 + - Merges some patches from KDE and Citadel. + - Updates timezone data to tzdata 2007c. + - merges the libical forks from KDE, Evolution and SourceForge. + - Updates timezone data to tzdata 2005j. +- rename library package to libical0 + ------------------------------------------------------------------- Wed Jan 25 21:37:29 CET 2006 - mls@suse.de diff --git a/libical.diff b/libical.diff deleted file mode 100644 index 7547c0b..0000000 --- a/libical.diff +++ /dev/null @@ -1,59 +0,0 @@ ---- src/libical/Makefile.am -+++ src/libical/Makefile.am -@@ -40,7 +40,7 @@ - libical_static_la_SOURCES = $(libical_la_SOURCES) - libical_static_la_LDFLAGS = --all-static - --CPPFLAGS = -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\" -+AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\""$(datadir)/$(PACKAGE)"\" - - # CFLAGS = -g - -@@ -108,8 +108,6 @@ - if WITH_CXX - libical_cxx_la_SOURCES = \ - $(libical_la_SOURCES) \ -- vcomponent.h \ -- vcomponent.cpp \ - icalproperty_cxx.h \ - icalproperty_cxx.cpp \ - icalparameter_cxx.h \ ---- src/libicalss/Makefile.am -+++ src/libicalss/Makefile.am -@@ -66,11 +66,7 @@ - libicalss_la_LDFLAGS = -version-info 0:0:0 - libicalss_la_LIBADD = $(BDB_LIBFILES) - --if DEV --libicalss_la_DEVSOURCES = icalsslexer.l icalssyacc.y --else - libicalss_la_DEVSOURCES = icalsslexer.c icalssyacc.c --endif - - libicalss_la_SOURCES = \ - icalcalendar.c \ ---- src/libicalvcal/Makefile.am -+++ src/libicalvcal/Makefile.am -@@ -8,11 +8,7 @@ - - libicalvcal_la_LDFLAGS = -version-info 0:0:0 - --if DEV --libicalvcal_la_DEVSOURCES = vcc.y --else - libicalvcal_la_DEVSOURCES = vcc.c --endif - - - libicalvcal_la_SOURCES = \ ---- ./src/libical/sspm.c.ORG 2002-06-11 14:41:04.000000000 +0200 -+++ ./src/libical/sspm.c 2005-01-19 16:55:02.959543556 +0100 -@@ -1168,7 +1168,7 @@ - char *src, - size_t *size) - { -- int cc; -+ int cc = 0; - char buf[4] = {0,0,0,0}; - int p = 0; - int valid_data = 0; diff --git a/libical.spec b/libical.spec index 95ab556..402d1ce 100644 --- a/libical.spec +++ b/libical.spec @@ -1,29 +1,64 @@ # -# spec file for package libical (Version 0.24.RC4) +# spec file for package libical (Version 0.27) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild -Name: libical -BuildRequires: db-devel python -URL: http://sourceforge.net/projects/freeassociation/ -License: MPL -Group: Development/Libraries/C and C++ -Autoreqprov: on -Version: 0.24.RC4 -Release: 45 -Summary: An implementation of basic iCAL protocols -Source: %name-%version.tar.bz2 -Patch: %name.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Name: libical +BuildRequires: db-devel python +Url: http://sourceforge.net/projects/freeassociation/ +License: MOZILLA PUBLIC LICENSE (MPL/NPL) +Group: Development/Libraries/C and C++ +AutoReqProv: on +Version: 0.27 +Release: 1 +Summary: An Implementation of Basic iCAL Protocols +Source: libical-%version.tar.bz2 +Patch: libical-uninit.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description +Libical is an open source implementation of the IETF's iCalendar +calendaring and scheduling protocols (RFC 2445, 2446, and 2447). It +parses iCal components and provides a C API for manipulating the +component properties, parameters, and subcomponents. + + + +Authors: +-------- + Eric Busboom + +%package -n libical0 +Summary: An Implementation of Basic iCAL Protocols +Group: Development/Libraries/C and C++ +AutoReqProv: on + +%description -n libical0 +Libical is an open source implementation of the IETF's iCalendar +calendaring and scheduling protocols (RFC 2445, 2446, and 2447). It +parses iCal components and provides a C API for manipulating the +component properties, parameters, and subcomponents. + + + +Authors: +-------- + Eric Busboom + +%package -n libical-devel +Summary: An implementation of basic iCAL protocols +Group: Development/Libraries/C and C++ +Requires: libical0 = %{version} +AutoReqProv: on + +%description -n libical-devel Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the @@ -35,15 +70,14 @@ Authors: -------- Eric Busboom -%package devel -Summary: An implementation of basic iCAL protocols -Group: Development/Libraries/C and C++ -Requires: libical = %{version} -Autoreqprov: on +%package -n libical-doc +Summary: An Implementation of Basic iCAL Protocols +Group: Development/Libraries/C and C++ +Requires: libical0 = %{version} -%description devel -Libical is an Open Source implementation of the IETF's iCalendar -Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It +%description -n libical-doc +Libical is an open source implementation of the IETF's iCalendar +calendaring and scheduling protocols (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. @@ -53,8 +87,8 @@ Authors: -------- Eric Busboom -%prep -%setup -q -n %name-0.24 +%prep +%setup -q -n libical-%{version} %patch %build @@ -73,20 +107,21 @@ make make install DESTDIR=%{buildroot} rm -rf examples/.deps/ rm -rf examples/.libs -rm examples/*.o +rm -rf examples/*.o +rm -rf scripts/Makefile* +rm -rf doc/Makefile* +rm -f $RPM_BUILD_ROOT/%_libdir/lib*.la -%post -%run_ldconfig +%post -n libical0 -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -n libical0 -p /sbin/ldconfig -%files +%files -n libical0 %defattr(-,root,root) -%doc README AUTHORS ChangeLog NEWS TEST THANKS TODO doc examples scripts +%doc README AUTHORS ChangeLog NEWS TEST THANKS TODO %{_libdir}/*.so.* -%files devel +%files -n libical-devel %defattr(-,root,root) %{_libdir}/*.*a %{_libdir}/*.so @@ -94,36 +129,47 @@ rm examples/*.o %dir /usr/share/libical /usr/share/libical/zoneinfo -%changelog -n libical -* Wed Jan 25 2006 - mls@suse.de +%files -n libical-doc +%defattr(-,root,root) +%doc doc examples scripts + +%changelog +* Tue Jan 29 2008 sf@suse.de +- update to 0.27 + - Merges some patches from KDE and Citadel. + - Updates timezone data to tzdata 2007c. + - merges the libical forks from KDE, Evolution and SourceForge. + - Updates timezone data to tzdata 2005j. +- rename library package to libical0 +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Sep 26 2005 - mls@suse.de +* Tue Sep 27 2005 mls@suse.de - make devel package require base package -* Wed Jan 19 2005 - sf@suse.de +* Wed Jan 19 2005 sf@suse.de - fix use of uninitialized variable -* Mon Mar 22 2004 - sf@suse.de +* Mon Mar 22 2004 sf@suse.de - remove some temporary /object files in examples -* Wed Mar 17 2004 - ro@suse.de +* Wed Mar 17 2004 ro@suse.de - re-apply patch to make it build -* Fri Feb 06 2004 - adrian@suse.de +* Fri Feb 06 2004 adrian@suse.de - update to version 0.24 RC4 -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig -* Thu Jul 03 2003 - ro@suse.de +* Thu Jul 03 2003 ro@suse.de - added unpackaged files -* Fri Jan 17 2003 - stark@suse.de +* Fri Jan 17 2003 stark@suse.de - update to cvs 20030116 for upcoming Mozilla 1.3 -* Wed Dec 11 2002 - stark@suse.de +* Wed Dec 11 2002 stark@suse.de - update to cvs 20021211 for Mozilla 1.3a -* Thu Oct 17 2002 - stark@suse.de +* Thu Oct 17 2002 stark@suse.de - "update" to version 0.23a used and provided by mozilla.org -* Tue Sep 17 2002 - ro@suse.de +* Tue Sep 17 2002 ro@suse.de - removed bogus self-provides -* Mon Jun 17 2002 - meissner@suse.de +* Mon Jun 17 2002 meissner@suse.de - rerun auto* tools -* Wed Apr 17 2002 - rhafer@suse.de +* Wed Apr 17 2002 rhafer@suse.de - added missing header files to -devel subpackage - moved *.so links to -devel subpackage - uses %%{_libdir} now -* Tue Apr 02 2002 - sf@suse.de +* Tue Apr 02 2002 sf@suse.de - initial version