]>
Commit | Line | Data |
---|---|---|
0b0b294e | 1 | Summary: A C++ client library for the CMIS interface |
e4746041 | 2 | Summary(pl.UTF-8): Biblioteka klienta C++ dla inferfejsu CMIS |
0b0b294e AM |
3 | Name: libcmis |
4 | Version: 0.1.0 | |
5 | Release: 1 | |
6 | License: GPL+ or LGPLv2+ or MPLv1.1 | |
7 | Group: Libraries | |
8 | URL: http://sourceforge.net/projects/libcmis/ | |
9 | Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: 4be634617054ada5b6d1886f63160f4f | |
11 | BuildRequires: boost-devel | |
12 | BuildRequires: curl-devel | |
13 | BuildRequires: libxml2-devel | |
102a9631 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0b0b294e AM |
15 | |
16 | %description | |
17 | LibCMIS is a C++ client library for the CMIS interface. This allows | |
18 | C++ applications to connect to any ECM behaving as a CMIS server like | |
19 | Alfresco, Nuxeo for the open source ones. | |
20 | ||
e4746041 | 21 | %description -l pl.UTF-8 |
22 | LibCMIS to biblioteka klienta C++ dla interfejsu CMIS. Pozwala ona | |
23 | aplikacjom C++ do łączenia się z każdym ECM zachowującym sie jako CMIS | |
24 | serwer jak Alfresco, Nuxeo dla otwarto źródłowych aplikacji | |
25 | ||
0b0b294e AM |
26 | %package devel |
27 | Summary: Development files for %{name} | |
e4746041 | 28 | Summary(pl.UTF-8): Pliki nagłówkowe dla %{name} |
0b0b294e AM |
29 | Group: Development/Libraries |
30 | Requires: %{name} = %{version}-%{release} | |
0b0b294e AM |
31 | |
32 | %description devel | |
33 | The %{name}-devel package contains libraries and header files for | |
34 | developing applications that use %{name}. | |
35 | ||
e4746041 | 36 | %description devel -l pl.UTF-8 |
37 | Paczka %{name}-devel zawiera biblioteki i pliki nagłówkowe do | |
38 | tworzenia aplikacji opartych na %{name}. | |
39 | ||
0b0b294e AM |
40 | %package tools |
41 | Summary: Command line tool to access CMIS | |
e4746041 | 42 | Summary(pl.UTF-8): Narzędzie wiersza poleceń dla CMIS |
0b0b294e AM |
43 | Group: Applications/Publishing |
44 | Requires: %{name} = %{version}-%{release} | |
45 | ||
46 | %description tools | |
47 | The %{name}-tools package contains a tool for accessing CMIS from the | |
48 | command line. | |
49 | ||
e4746041 | 50 | %description tools -l pl.UTF-8 |
51 | Paczka %{name}-tools zawiera narzędzie do łączenia się do CMIS | |
52 | z wiersza poleceń. | |
53 | ||
0b0b294e AM |
54 | %prep |
55 | %setup -q | |
56 | ||
57 | %build | |
58 | %configure \ | |
59 | --disable-static \ | |
60 | --disable-tests \ | |
61 | --disable-werror | |
62 | ||
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
102a9631 | 71 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
0b0b294e AM |
72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
102a9631 ER |
76 | %post -p /sbin/ldconfig |
77 | %postun -p /sbin/ldconfig | |
0b0b294e AM |
78 | |
79 | %files | |
80 | %defattr(644,root,root,755) | |
102a9631 ER |
81 | %doc AUTHORS README |
82 | %attr(755,root,root) %{_libdir}/%{name}-0.2.so.*.*.* | |
83 | %ghost %{_libdir}/libcmis-0.2.so.0 | |
0b0b294e AM |
84 | |
85 | %files devel | |
86 | %defattr(644,root,root,755) | |
0b0b294e | 87 | %attr(755,root,root) %{_libdir}/%{name}-0.2.so |
102a9631 | 88 | %{_includedir}/%{name} |
0b0b294e AM |
89 | %{_pkgconfigdir}/%{name}-0.2.pc |
90 | ||
91 | %files tools | |
92 | %defattr(644,root,root,755) | |
93 | %attr(755,root,root) %{_bindir}/cmis-client |