|
@@ -1,28 +1,22 @@
|
|
|
Name: libical
|
|
|
-Summary: Reference implementation of the iCalendar data type and serialization format
|
|
|
-Summary(pl): Implementacja formatu iCalendar
|
|
|
-Version: 0.48
|
|
|
+Summary: An Open Source implementation of the iCalendar protocols and protocol data units
|
|
|
+Version: 1.0.1
|
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
License: LGPLv2 or MPLv1.1
|
|
|
-URL: http://freeassociation.sourceforge.net/
|
|
|
+URL: https://libical.github.io/libical/
|
|
|
+
|
|
|
+Source0: https://github.com/libical/libical/releases/download/v1.0.1/%{name}-%{version}.tar.gz
|
|
|
|
|
|
-Source0: http://downloads.sourceforge.net/freeassociation/%{name}-%{version}.tar.gz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildRequires: autoconf
|
|
|
-BuildRequires: automake
|
|
|
-BuildRequires: bison
|
|
|
-BuildRequires: byacc
|
|
|
-BuildRequires: flex
|
|
|
-BuildRequires: libtool
|
|
|
+BuildRequires: cmake
|
|
|
Requires: tzdata
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-Packager: babasaki, daisuke
|
|
|
-
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: babasaki, daisuke, inagaki
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
%description
|
|
@@ -36,7 +30,7 @@ planerach/planistach.
|
|
|
#----------------------------------------------------------------------------
|
|
|
%package devel
|
|
|
Summary: Development files for libical
|
|
|
-Summary(pl): Pliki deweloperskie dla libical
|
|
|
+Summary(ja): libical の開発用ファイル
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
@@ -53,9 +47,14 @@ korzystających z libical.
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
-%configure --disable-static --enable-cxx --enable-reentrant --with-backtrace
|
|
|
+mkdir -p %{_target_platform}
|
|
|
+pushd %{_target_platform}
|
|
|
+%cmake \
|
|
|
+ -DCMAKE_BUILD_TYPE=release \
|
|
|
+ ..
|
|
|
+popd
|
|
|
|
|
|
-make %{?_smp_mflags}
|
|
|
+make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
%check
|
|
|
# make check
|
|
@@ -65,8 +64,10 @@ make %{?_smp_mflags}
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
|
|
-find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
|
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
|
|
|
+
|
|
|
+#make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
|
|
|
+#find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -79,28 +80,35 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc AUTHORS ChangeLog COPYING LICENSE NEWS README THANKS TODO
|
|
|
+%doc AUTHORS COPYING LICENSE ReadMe.txt ReleaseNotes.txt THANKS TODO
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
-%{_libdir}/%{name}_cxx.so.*
|
|
|
%{_libdir}/libicalss.so.*
|
|
|
-%{_libdir}/libicalss_cxx.so.*
|
|
|
%{_libdir}/libicalvcal.so.*
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc doc/UsingLibical.txt
|
|
|
%{_includedir}/ical.h
|
|
|
+%dir %{_includedir}/%{name}
|
|
|
+%{_includedir}/%{name}/*.h
|
|
|
%{_libdir}/%{name}.so
|
|
|
-%{_libdir}/%{name}_cxx.so
|
|
|
%{_libdir}/libicalss.so
|
|
|
-%{_libdir}/libicalss_cxx.so
|
|
|
%{_libdir}/libicalvcal.so
|
|
|
+%dir %{_libdir}/cmake/LibIcal
|
|
|
+%{_libdir}/cmake/LibIcal/*.cmake
|
|
|
%{_libdir}/pkgconfig/libical.pc
|
|
|
|
|
|
-%dir %{_includedir}/%{name}
|
|
|
-%{_includedir}/%{name}/*.h
|
|
|
+%exclude %{_libdir}/%{name}.a
|
|
|
+%exclude %{_libdir}/libicalss.a
|
|
|
+%exclude %{_libdir}/libicalvcal.a
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Feb 23 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-1
|
|
|
+- updated to 1.0.1
|
|
|
+- updated URL
|
|
|
+- added BR: cmake
|
|
|
+
|
|
|
* Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.48-1
|
|
|
- update to 0.48
|
|
|
- remove old patches
|
|
@@ -131,7 +139,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
- Import libical - Packager: Babasaki
|
|
|
- Updated specfile
|
|
|
|
|
|
-* Tue Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
|
|
|
+* Wed Sep 03 2008 Debarshi Ray <rishi@fedoraproject.org> - 0.32-1
|
|
|
- Version bump to 0.32.
|
|
|
- Parallel build problems fixed.
|
|
|
|