diff --git a/.cvsignore b/.cvsignore index e69de29..fb9ce37 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libical-0.27.tar.gz diff --git a/libical.spec b/libical.spec new file mode 100644 index 0000000..28ce1e2 --- /dev/null +++ b/libical.spec @@ -0,0 +1,95 @@ +Name: libical +Version: 0.27 +Release: 4%{?dist} +Summary: Reference implementation of the iCalendar data type and serialization format +Summary(pl): Implementacja formatu iCalendar + +Group: System Environment/Libraries +License: MPL, LGPLv2 +#Note: site linked below doesn't say anything 'bout libical, but provides its source +URL: http://www.citadel.org/doku.php/doku.php?id=installation:start +Source0: http://easyinstall.citadel.org/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#BuildRequires: + +%description +Reference implementation of the +iCalendar data type and serialization +format. libical is used in dozens of +calendaring and scheduling products. + +%description -l pl +Implementacja formatu iCalendar, +używana w wielu kalendarzach +i planerach/planistach. + +%package devel +Summary: Development files for libical +Summary(pl): Pliki deweloperskie dla libical +Group: Development/Libraries +Requires: libical = %{version}-%{release} + +%description devel +The libical-devel package contains libraries +and header files for developing +applications that use libical. + +%description devel -l pl +libical-devel zawiera biblioteki i pliki niezbędne +do tworzenia aplikacji korzystających z libical. + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} +#Make creates unuseful files +rm -rf examples/.deps + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS THANKS TODO +%{_libdir}/*.so.* +%{_datadir}/libical/ + +%files devel +%defattr(-,root,root,-) +%doc doc examples +%{_includedir}/* +%{_libdir}/*.so + + +%changelog +* Sat Jan 19 2008 Jakub 'Livio' Rusinek - 0.27-4 +- Licence... Fixed + +* Fri Jan 18 2008 Jakub 'Livio' Rusinek - 0.27-3 +- Files section... Fixed + +* Thu Jan 17 2008 Jakub 'Livio' Rusinek - 0.27-2 +- Source... Changed +- Debug information in libical main package... Excluded +- Non-numbered .so files in libical main package... Moved +- libical-devel documentation... Added + +* Mon Dec 24 2007 Jakub 'Livio' Rusinek - 0.27-1 +- Initial release diff --git a/sources b/sources index e69de29..93aff1e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +87d48321bff08de08794132d60b55d94 libical-0.27.tar.gz