/[packages]/cauldron/libgcal/current/SPECS/libgcal.spec
ViewVC logotype

Contents of /cauldron/libgcal/current/SPECS/libgcal.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 68076 - (show annotations) (download)
Fri Mar 11 00:45:13 2011 UTC (13 years, 1 month ago) by mikala
File size: 2598 byte(s)
SILENT: clean spec

1 %define major 0
2 %define libname %mklibname gcal %{major}
3 %define develname %mklibname gcal -d
4
5 Name: libgcal
6 Version: 0.9.6
7 Release: %mkrel 2
8 Summary: Implements Google Data Protocol 2.0
9 License: BSD
10 Group: Communications
11 URL: http://code.google.com/p/libgcal/
12 Source: http://libgcal.googlecode.com/files/%name-%version.tar.bz2
13 Patch0: libgcal-0.9.6-check-for-empty-strings.patch
14 BuildRequires: cmake
15 BuildRequires: curl-devel
16 BuildRequires: libxml2-devel
17 BuildRequires: check-devel
18
19 %description
20 Implements Google Data Protocol 2.0.
21 It does allow communication with google calendar and contacts,
22 implements already:
23 - authentication
24 - get all events/contacts
25 - atom stream parsing
26 - access to individual events/contacts
27 - add/delete/edit events/contacts
28 - query for updated events/contacts
29 - add/edit/delete contacts with photo
30 - download your contact's photos
31 - proxy is supported
32 - timezones
33 - use only xml to add/edit/delete entries
34 - great doxygen documentation
35
36 #-------------------------------------------------------------------
37
38 %package -n %{libname}
39 Summary: Library implementing Google Data Protocol Data 2.0
40 Group: System/Libraries
41 Obsoletes: libgcal <= 0.9.3-1
42 Provides: %{name} = %{version}-%{release}
43
44 %description -n %{libname}
45 This library implements Google Data Protocol 2.0
46 It does allow communication with google calendar and contacts,
47 implements already:
48 - authentication
49 - get all events/contacts
50 - atom stream parsing
51 - access to individual events/contacts
52 - add/delete/edit events/contacts
53 - query for updated events/contacts
54 - add/edit/delete contacts with photo
55 - download your contact's photos
56 - proxy is supported
57 - timezones
58 - use only xml to add/edit/delete entries
59 - great doxygen documentation
60
61 %files -n %{libname}
62 %defattr(-,root,root)
63 %{_libdir}/libgcal.so.%{major}*
64
65 #--------------------------------------------------------------------
66
67
68 %package -n %{develname}
69 Summary: Library headers for %{name}
70 Group: Development/C
71 Requires: %{libname} = %{version}
72 Obsoletes: libgcal-devel <= 0.9.3-1
73 Provides: %{name}-devel = %{version}-%{release}
74
75 %description -n %{develname}
76 This is the libraries, include files and other resources you can use
77 to incorporate %{name} into applications.
78
79 %files -n %{develname}
80 %defattr(-,root,root)
81 %{_includedir}/*
82 %{_libdir}/libgcal.so
83 %{_libdir}/pkgconfig/libgcal.pc
84 %{_libdir}/LibGCal/cmake/LibGCalConfig.cmake
85
86 #--------------------------------------------------------------------
87
88 %prep
89 %setup -q
90 %patch0 -p0
91 %build
92 %cmake
93 %make
94
95 %install
96 %__rm -rf %buildroot
97 %makeinstall_std -C build
98
99 %clean
100 %__rm -rf %buildroot

  ViewVC Help
Powered by ViewVC 1.1.30