Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
David Tardon | 86d02429e8 | |
David Tardon | 614769bfe4 | |
David Tardon | 07933a508a | |
David Tardon | 5ad0b16055 |
|
@ -1,5 +1,3 @@
|
|||
/libcmis-0.1.0.tar.gz
|
||||
/libcmis-0.2.2.tar.gz
|
||||
/libcmis-0.2.3.tar.gz
|
||||
/libcmis-0.3.0.tar.gz
|
||||
/libcmis-0.3.1.tar.gz
|
||||
|
|
49
libcmis.spec
49
libcmis.spec
|
@ -1,6 +1,6 @@
|
|||
Name: libcmis
|
||||
Version: 0.3.1
|
||||
Release: 1%{?dist}
|
||||
Version: 0.2.3
|
||||
Release: 4%{?dist}
|
||||
Summary: A C++ client library for the CMIS interface
|
||||
|
||||
Group: System Environment/Libraries
|
||||
|
@ -9,9 +9,9 @@ URL: http://sourceforge.net/projects/libcmis/
|
|||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: docbook2X
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: xmlto
|
||||
|
||||
%description
|
||||
LibCMIS is a C++ client library for the CMIS interface. This allows C++
|
||||
|
@ -38,10 +38,11 @@ command line.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i -e 's/docbook-to-man/db2x_docbook2man/' configure
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-tests --disable-werror DOCBOOK2MAN='xmlto man'
|
||||
%configure --disable-static --disable-tests --disable-werror
|
||||
sed -i \
|
||||
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
||||
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
||||
|
@ -52,27 +53,26 @@ make %{?_smp_mflags} V=1
|
|||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
rm -f %{buildroot}/%{_libdir}/*.la
|
||||
# it seems that the hook for building and installing man page breaks
|
||||
# installation of other data files
|
||||
mkdir -p %{buildroot}/%{_libdir}/pkgconfig
|
||||
cp -p %{name}-0.2.pc %{buildroot}/%{_libdir}/pkgconfig
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING.* README
|
||||
%{_libdir}/%{name}-0.3.so.3
|
||||
%{_libdir}/%{name}-0.3.so.3.*
|
||||
%{_libdir}/%{name}-c-0.3.so.3
|
||||
%{_libdir}/%{name}-c-0.3.so.3.*
|
||||
%{_libdir}/%{name}-0.2.so.*
|
||||
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}-0.3
|
||||
%{_includedir}/%{name}-c-0.3
|
||||
%{_libdir}/%{name}-0.3.so
|
||||
%{_libdir}/%{name}-c-0.3.so
|
||||
%{_libdir}/pkgconfig/%{name}-0.3.pc
|
||||
%{_libdir}/pkgconfig/%{name}-c-0.3.pc
|
||||
%{_includedir}/%{name}-0.2
|
||||
%{_libdir}/%{name}-0.2.so
|
||||
%{_libdir}/pkgconfig/%{name}-0.2.pc
|
||||
|
||||
|
||||
%files tools
|
||||
|
@ -81,27 +81,6 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 04 2013 David Tardon <dtardon@redhat.com> - 0.3.1-1
|
||||
- new release
|
||||
|
||||
* Wed Dec 19 2012 David Tardon <dtardon@redhat.com> - 0.3.0-6
|
||||
- use xmlto for generating man page
|
||||
|
||||
* Sat Dec 08 2012 David Tardon <dtardon@redhat.com> - 0.3.0-5
|
||||
- another pointless bump
|
||||
|
||||
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-4
|
||||
- another pointless rebuild
|
||||
|
||||
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-3
|
||||
- pointless rebuild
|
||||
|
||||
* Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-2
|
||||
- force rebuild
|
||||
|
||||
* Thu Dec 06 2012 David Tardon <dtardon@redhat.com> - 0.3.0-1
|
||||
- new upstream release
|
||||
|
||||
* Tue Nov 06 2012 Caolán McNamara <caolanm@redhat.com> - 0.2.3-4
|
||||
- clarify license
|
||||
|
||||
|
|
Loading…
Reference in New Issue