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