]> git.pld-linux.org Git - packages/libcmis.git/blame - libcmis.spec
- up to 0.2.3
[packages/libcmis.git] / libcmis.spec
CommitLineData
a25e2f47
JB
1#
2# Conditonal build:
3%bcond_without static_libs # static library
4#
0b0b294e 5Summary: A C++ client library for the CMIS interface
e4746041 6Summary(pl.UTF-8): Biblioteka klienta C++ dla inferfejsu CMIS
0b0b294e 7Name: libcmis
905f2b6f
AM
8Version: 0.2.3
9Release: 1
a25e2f47 10License: GPL v2+ or LGPL v2+ or MPL v1.1
0b0b294e 11Group: Libraries
0b0b294e 12Source0: http://downloads.sourceforge.net/libcmis/%{name}-%{version}.tar.gz
905f2b6f 13# Source0-md5: 0d2dcdfbf28d6208751b33057f5361f0
a25e2f47 14URL: http://sourceforge.net/projects/libcmis/
0b0b294e
AM
15BuildRequires: boost-devel
16BuildRequires: curl-devel
905f2b6f 17BuildRequires: docbook2X
a25e2f47 18BuildRequires: libstdc++-devel
0b0b294e 19BuildRequires: libxml2-devel
102a9631 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0b0b294e
AM
21
22%description
23LibCMIS is a C++ client library for the CMIS interface. This allows
24C++ applications to connect to any ECM behaving as a CMIS server like
25Alfresco, Nuxeo for the open source ones.
26
e4746041 27%description -l pl.UTF-8
a25e2f47
JB
28LibCMIS to biblioteka klienta C++ dla interfejsu CMIS. Pozwala ona
29aplikacjom C++ na łączenie się z każdym ECM zachowującym się jako
30serwer CMIS, taki jak Alfresco, Nuxeo (biorąc pod uwagę implementacje
31o otwartych źródłach).
e4746041 32
0b0b294e 33%package devel
a25e2f47
JB
34Summary: Development files for CMIS library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CMIS
0b0b294e
AM
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
a25e2f47
JB
38Requires: boost-devel
39Requires: libstdc++-devel
0b0b294e
AM
40
41%description devel
a25e2f47
JB
42This package contains the header files for developing applications
43that use CMIS library.
0b0b294e 44
e4746041 45%description devel -l pl.UTF-8
a25e2f47
JB
46Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji opartych na
47bibliotece CMIS
48
49%package static
50Summary: Static CMIS library
51Summary(pl.UTF-8): Statyczna biblioteka CMIS
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static CMIS library.
57
58%description static -l pl.UTF-8
59Statyczna biblioteka CMIS.
e4746041 60
0b0b294e
AM
61%package tools
62Summary: Command line tool to access CMIS
e4746041 63Summary(pl.UTF-8): Narzędzie wiersza poleceń dla CMIS
0b0b294e
AM
64Group: Applications/Publishing
65Requires: %{name} = %{version}-%{release}
66
67%description tools
a25e2f47 68This package contains a tool for accessing CMIS from the command line.
0b0b294e 69
e4746041 70%description tools -l pl.UTF-8
a25e2f47
JB
71Ten pakiet zawiera narzędzie do łączenia się do CMIS z wiersza
72poleceń.
e4746041 73
0b0b294e
AM
74%prep
75%setup -q
905f2b6f 76sed -i -e 's/docbook-to-man/docbook2X2man/' configure
0b0b294e
AM
77
78%build
79%configure \
a25e2f47 80 %{!?with_static_libs:--disable-static} \
0b0b294e
AM
81 --disable-tests \
82 --disable-werror
83
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
a25e2f47 92# obsoleted by pkg-config
102a9631 93%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
0b0b294e
AM
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
102a9631
ER
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
0b0b294e
AM
100
101%files
102%defattr(644,root,root,755)
a25e2f47 103%doc AUTHORS ChangeLog README
102a9631 104%attr(755,root,root) %{_libdir}/%{name}-0.2.so.*.*.*
905f2b6f 105%attr(755,root,root) %ghost %{_libdir}/libcmis-0.2.so.2
0b0b294e
AM
106
107%files devel
108%defattr(644,root,root,755)
0b0b294e 109%attr(755,root,root) %{_libdir}/%{name}-0.2.so
905f2b6f 110%{_includedir}/%{name}-0.2
0b0b294e 111
a25e2f47
JB
112%if %{with static_libs}
113%files static
114%defattr(644,root,root,755)
115%{_libdir}/libcmis-0.2.a
116%endif
117
0b0b294e
AM
118%files tools
119%defattr(644,root,root,755)
120%attr(755,root,root) %{_bindir}/cmis-client
905f2b6f 121%{_mandir}/man1/cmis-client.1*
This page took 0.053289 seconds and 4 git commands to generate.