libical/libical.spec

89 lines
2.6 KiB
RPMSpec

Name: libical
Version: 1.0
Release: 1mamba
Summary: An open source reference implementation of the icalendar data type and serialization format
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/freeassociation
Source: http://downloads.sourceforge.net/sourceforge/freeassociation/libical-%{version}.tar.gz
Patch0: %{name}-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
%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
* Sun Jan 26 2014 Automatic Build System <autodist@mambasoft.it> 1.0-1mamba
- automatic version update by autodist
* Mon Dec 03 2012 Automatic Build System <autodist@mambasoft.it> 0.48-1mamba
- automatic version update by autodist
* Tue Feb 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.44-3mamba
- add %{_includedir}/libical in pkgconfig file
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 0.44-2mamba
- automatic rebuild by autodist
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 0.44-1mamba
- automatic update by autodist
* Mon Feb 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43-1mamba
- package created by autospec