]> git.pld-linux.org Git - packages/libcmis.git/blame - libcmis.spec
- rebuild with boost 1.57.0
[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
52cce8e1 8Version: 0.5.0
1c9ebce4 9Release: 2
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
52cce8e1 13# Source0-md5: 5821b806a98e6c38370970e682ce76e8
a25e2f47 14URL: http://sourceforge.net/projects/libcmis/
3a43359e
JB
15BuildRequires: autoconf >= 2.63
16BuildRequires: automake
0b0b294e 17BuildRequires: boost-devel
3f1338e1 18BuildRequires: cppunit-devel >= 1.12
13097481 19BuildRequires: curl-devel >= 7.12.3
3a43359e 20BuildRequires: docbook2X >= 0.8.8-4
a25e2f47 21BuildRequires: libstdc++-devel
3f1338e1 22BuildRequires: libtool >= 2:2
13097481
JB
23BuildRequires: libxml2-devel >= 2.0
24BuildRequires: pkgconfig
3a43359e 25BuildRequires: sed >= 4.0
13097481 26Requires: curl-libs >= 7.12.3
102a9631 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
0b0b294e
AM
28
29%description
30LibCMIS is a C++ client library for the CMIS interface. This allows
31C++ applications to connect to any ECM behaving as a CMIS server like
32Alfresco, Nuxeo for the open source ones.
33
e4746041 34%description -l pl.UTF-8
a25e2f47
JB
35LibCMIS to biblioteka klienta C++ dla interfejsu CMIS. Pozwala ona
36aplikacjom C++ na łączenie się z każdym ECM zachowującym się jako
37serwer CMIS, taki jak Alfresco, Nuxeo (biorąc pod uwagę implementacje
38o otwartych źródłach).
e4746041 39
0b0b294e 40%package devel
a25e2f47
JB
41Summary: Development files for CMIS library
42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CMIS
0b0b294e
AM
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
a25e2f47 45Requires: boost-devel
13097481 46Requires: curl-devel >= 7.12.3
a25e2f47 47Requires: libstdc++-devel
13097481 48Requires: libxml2-devel >= 2.0
0b0b294e
AM
49
50%description devel
a25e2f47
JB
51This package contains the header files for developing applications
52that use CMIS library.
0b0b294e 53
e4746041 54%description devel -l pl.UTF-8
a25e2f47
JB
55Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji opartych na
56bibliotece CMIS
57
58%package static
59Summary: Static CMIS library
60Summary(pl.UTF-8): Statyczna biblioteka CMIS
61Group: Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
63
64%description static
65Static CMIS library.
66
67%description static -l pl.UTF-8
68Statyczna biblioteka CMIS.
e4746041 69
0b0b294e
AM
70%package tools
71Summary: Command line tool to access CMIS
e4746041 72Summary(pl.UTF-8): Narzędzie wiersza poleceń dla CMIS
0b0b294e
AM
73Group: Applications/Publishing
74Requires: %{name} = %{version}-%{release}
75
76%description tools
a25e2f47 77This package contains a tool for accessing CMIS from the command line.
0b0b294e 78
e4746041 79%description tools -l pl.UTF-8
a25e2f47
JB
80Ten pakiet zawiera narzędzie do łączenia się do CMIS z wiersza
81poleceń.
e4746041 82
0b0b294e
AM
83%prep
84%setup -q
3a43359e 85
3f1338e1 86#%{__sed} -i -e 's/docbook-to-man/docbook2X2man/' configure.ac
0b0b294e
AM
87
88%build
3a43359e
JB
89%{__libtoolize}
90%{__aclocal} -I m4
91%{__autoconf}
92%{__automake}
0b0b294e 93%configure \
3f1338e1 94 DOCBOOK2MAN=/usr/bin/docbook2X2man \
3a43359e 95 --disable-silent-rules \
a25e2f47 96 %{!?with_static_libs:--disable-static} \
0b0b294e
AM
97 --disable-tests \
98 --disable-werror
99
100%{__make}
101
102%install
103rm -rf $RPM_BUILD_ROOT
104
105%{__make} install \
106 DESTDIR=$RPM_BUILD_ROOT
107
a25e2f47 108# obsoleted by pkg-config
102a9631 109%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
0b0b294e
AM
110
111%clean
112rm -rf $RPM_BUILD_ROOT
113
102a9631
ER
114%post -p /sbin/ldconfig
115%postun -p /sbin/ldconfig
0b0b294e
AM
116
117%files
118%defattr(644,root,root,755)
13097481 119%doc AUTHORS ChangeLog NEWS README
52cce8e1
JB
120%attr(755,root,root) %{_libdir}/libcmis-0.5.so.*.*.*
121%attr(755,root,root) %ghost %{_libdir}/libcmis-0.5.so.5
122%attr(755,root,root) %{_libdir}/libcmis-c-0.5.so.*.*.*
123%attr(755,root,root) %ghost %{_libdir}/libcmis-c-0.5.so.5
0b0b294e
AM
124
125%files devel
126%defattr(644,root,root,755)
52cce8e1
JB
127%attr(755,root,root) %{_libdir}/libcmis-0.5.so
128%attr(755,root,root) %{_libdir}/libcmis-c-0.5.so
129%{_includedir}/libcmis-0.5
130%{_includedir}/libcmis-c-0.5
131%{_pkgconfigdir}/libcmis-0.5.pc
132%{_pkgconfigdir}/libcmis-c-0.5.pc
0b0b294e 133
a25e2f47
JB
134%if %{with static_libs}
135%files static
136%defattr(644,root,root,755)
52cce8e1
JB
137%{_libdir}/libcmis-0.5.a
138%{_libdir}/libcmis-c-0.5.a
a25e2f47
JB
139%endif
140
0b0b294e
AM
141%files tools
142%defattr(644,root,root,755)
143%attr(755,root,root) %{_bindir}/cmis-client
905f2b6f 144%{_mandir}/man1/cmis-client.1*
This page took 0.079625 seconds and 4 git commands to generate.