]> git.pld-linux.org Git - packages/libcmis.git/blame - libcmis.spec
- new; half raw
[packages/libcmis.git] / libcmis.spec
CommitLineData
0b0b294e
AM
1Summary: A C++ client library for the CMIS interface
2Name: libcmis
3Version: 0.1.0
4Release: 1
5License: GPL+ or LGPLv2+ or MPLv1.1
6Group: Libraries
7URL: http://sourceforge.net/projects/libcmis/
8Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
9# Source0-md5: 4be634617054ada5b6d1886f63160f4f
10BuildRequires: boost-devel
11BuildRequires: curl-devel
12BuildRequires: libxml2-devel
13
14%description
15LibCMIS is a C++ client library for the CMIS interface. This allows
16C++ applications to connect to any ECM behaving as a CMIS server like
17Alfresco, Nuxeo for the open source ones.
18
19%package devel
20Summary: Development files for %{name}
21Group: Development/Libraries
22Requires: %{name} = %{version}-%{release}
23Requires: pkgconfig
24
25%description devel
26The %{name}-devel package contains libraries and header files for
27developing applications that use %{name}.
28
29%package tools
30Summary: Command line tool to access CMIS
31Group: Applications/Publishing
32Requires: %{name} = %{version}-%{release}
33
34%description tools
35The %{name}-tools package contains a tool for accessing CMIS from the
36command line.
37
38%prep
39%setup -q
40
41%build
42%configure \
43 --disable-static \
44 --disable-tests \
45 --disable-werror
46
47%{__make}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
54
55rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%post -p /sbin/ldconfig
61%postun -p /sbin/ldconfig
62
63%files
64%defattr(644,root,root,755)
65%doc AUTHORS COPYING.* README
66%attr(755,root,root) %{_libdir}/%{name}-0.2.so.*
67
68%files devel
69%defattr(644,root,root,755)
70%{_includedir}/%{name}
71%attr(755,root,root) %{_libdir}/%{name}-0.2.so
72%{_pkgconfigdir}/%{name}-0.2.pc
73
74%files tools
75%defattr(644,root,root,755)
76%attr(755,root,root) %{_bindir}/cmis-client
This page took 0.10548 seconds and 4 git commands to generate.