Hello community, here is the log from the commit of package libical for openSUSE:Factory checked in at 2013-06-13 16:52:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libical (Old) and /work/SRC/openSUSE:Factory/.libical.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libical" Changes: -------- --- /work/SRC/openSUSE:Factory/libical/libical.changes 2012-01-31 10:21:06.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libical.new/libical.changes 2013-06-13 16:52:25.000000000 +0200 @@ -1,0 +2,14 @@ +Sun Jun 9 09:18:41 UTC 2013 - [email protected] + +- New 1.x package. + This version uses the cmake build system +- Add devel-static subpackage +- Remove unneeded buildrequires +- Changed license from MPL-1.1 to MPL-1.0. That is the license + listed in the COPYING file and the headers. +- Removed scripts directory from documentation. Putting perl + files in the documentation directory is apparently no longer + allowed. +- Ran spec-cleaner + +------------------------------------------------------------------- Old: ---- libical-0.48.tar.bz2 New: ---- libical-1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libical.spec ++++++ --- /var/tmp/diff_new_pack.mkTYNo/_old 2013-06-13 16:52:26.000000000 +0200 +++ /var/tmp/diff_new_pack.mkTYNo/_new 2013-06-13 16:52:26.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libical # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,19 @@ # - Name: libical -BuildRequires: db-devel -BuildRequires: libtool -BuildRequires: pkg-config -BuildRequires: python-devel -Url: http://sourceforge.net/projects/freeassociation/ -Version: 0.48 +Version: 1.0 Release: 0 +%define sonum 1 Summary: An Implementation of Basic iCAL Protocols -License: MPL-1.1 or LGPL-2.1 +License: MPL-1.0 or LGPL-2.1 Group: Development/Libraries/C and C++ -Source: libical-%{version}.tar.bz2 +Url: http://sourceforge.net/projects/freeassociation/ +Source: libical-%{version}.tar.gz Source2: baselibs.conf +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -38,13 +37,13 @@ parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. -%package -n libical0 +%package -n %{name}%{sonum} Summary: An Implementation of Basic iCAL Protocols Group: Development/Libraries/C and C++ -Provides: libical = %{version} -Obsoletes: libical < %{version} +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} -%description -n libical0 +%description -n %{name}%{sonum} 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 @@ -53,7 +52,7 @@ %package devel Summary: An implementation of basic iCAL protocols Group: Development/Libraries/C and C++ -Requires: libical0 = %{version} +Requires: %{name}%{sonum} = %{version} %description devel Libical is an Open Source implementation of the IETF's iCalendar @@ -61,10 +60,21 @@ parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents. +%package devel-static +Summary: An implementation of basic iCAL protocols +Group: Development/Libraries/C and C++ +Requires: %{name}-devel = %{version} + +%description devel-static +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. + %package doc Summary: An Implementation of Basic iCAL Protocols Group: Development/Libraries/C and C++ -Requires: libical0 = %{version} +Recommends: %{name}%{sonum} = %{version} %description doc Libical is an open source implementation of the IETF's iCalendar @@ -76,34 +86,29 @@ %setup -q %build -# triger autoreconf since the 0.46 tarball is missing autotools bootstrap files -autoreconf -f -i -%{configure} \ - --with-bdb4 \ - --with-bdb4-dir=%{_prefix} \ - --without-builtintz \ - --enable-shared \ - --disable-static -%{__make} %{?_smp_mflags} +mkdir build +pushd build +cmake -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DLIB_SUFFIX="$(echo %_lib | cut -b4-)" \ + .. +make +popd %install -%{makeinstall} -%{__rm} $RPM_BUILD_ROOT/%{_libdir}/libical*.la -%{__rm} doc/Makefile* -%{__rm} -rf examples/.deps -%{__rm} -rf examples/.libs -%{__rm} examples/*.o -%{__rm} examples/doesnothing -%{__rm} scripts/Makefile* -%{__sed} -i -e '1s,.*,#!/usr/bin/perl,' scripts/mkneticali.pl +pushd build +%make_install +popd +rm examples/CMakeLists.txt +rm examples/Makefile.* -%post -n libical0 -p /sbin/ldconfig +%post -n %{name}%{sonum} -p /sbin/ldconfig -%postun -n libical0 -p /sbin/ldconfig +%postun -n %{name}%{sonum} -p /sbin/ldconfig -%files -n libical0 +%files -n %{name}%{sonum} %defattr(-,root,root) -%doc README AUTHORS ChangeLog NEWS TEST THANKS TODO +%doc AUTHORS README COPYING ChangeLog LICENSE NEWS TEST THANKS TODO %{_libdir}/*.so.* %files devel @@ -111,10 +116,15 @@ %{_libdir}/*.so %{_libdir}/pkgconfig/libical.pc %{_includedir}/ical.h -%{_includedir}/libical +%{_includedir}/libical/ + +%files devel-static +%defattr(-,root,root) +%{_libdir}/*.a %files doc %defattr(-,root,root) -%doc doc examples scripts +%doc doc/*.txt +%doc examples/ %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.mkTYNo/_old 2013-06-13 16:52:26.000000000 +0200 +++ /var/tmp/diff_new_pack.mkTYNo/_new 2013-06-13 16:52:26.000000000 +0200 @@ -1,4 +1,4 @@ -libical0 +libical1 obsoletes "libical-<targettype> <= <version>" provides "libical-<targettype> = <version>" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
