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