forked from pool/tinyxml2
Accepting request 294738 from home:jengelh:branches:devel:libraries:c_c++
- Require pkg-config for pkgconfig() symbols to be generated. - Drop suggestion for non-existant %name-docs subpackage. OBS-URL: https://build.opensuse.org/request/show/294738 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tinyxml2?expand=0&rev=3
This commit is contained in:
parent
9752b55bda
commit
c2c1cd1828
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 7 12:04:37 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Require pkg-config for pkgconfig() symbols to be generated.
|
||||||
|
- Drop suggestion for non-existant %name-docs subpackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 6 23:51:42 UTC 2015 - p.drouand@gmail.com
|
Mon Apr 6 23:51:42 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ Release: 0
|
|||||||
%define lib_package lib%{name}-%{so_version}
|
%define lib_package lib%{name}-%{so_version}
|
||||||
Summary: A simple, small, C++ XML parser
|
Summary: A simple, small, C++ XML parser
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz
|
Source: https://github.com/leethomason/tinyxml2/archive/%{version}.tar.gz
|
||||||
Url: https://github.com/leethomason/tinyxml2
|
Url: https://github.com/leethomason/tinyxml2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -32,6 +32,7 @@ BuildRequires: cmake
|
|||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
|
||||||
%description
|
%description
|
||||||
TinyXML is a simple, small, C++ XML parser that can be easily integrating
|
TinyXML is a simple, small, C++ XML parser that can be easily integrating
|
||||||
@ -57,7 +58,6 @@ Summary: Development files for libtinyxml2
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{lib_package} = %{version}
|
Requires: %{lib_package} = %{version}
|
||||||
Suggests: %{name}-%{docs}
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Contains libraries and header files for
|
Contains libraries and header files for
|
||||||
@ -72,7 +72,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
%makeinstall
|
%make_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
%post -n %{lib_package} -p /sbin/ldconfig
|
%post -n %{lib_package} -p /sbin/ldconfig
|
||||||
@ -80,12 +80,12 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%postun -n %{lib_package} -p /sbin/ldconfig
|
%postun -n %{lib_package} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{lib_package}
|
%files -n %{lib_package}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%doc readme.md
|
%doc readme.md
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/pkgconfig/tinyxml2.pc
|
%{_libdir}/pkgconfig/tinyxml2.pc
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
Loading…
Reference in New Issue
Block a user