init commit
This commit is contained in:
parent
3c6789be96
commit
ff10cd1baf
BIN
cairomm-1.12.0.tar.gz
Normal file
BIN
cairomm-1.12.0.tar.gz
Normal file
Binary file not shown.
75
cairomm.spec
Normal file
75
cairomm.spec
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
%global apiver 1.0
|
||||||
|
|
||||||
|
%global cairo_version 1.10.0
|
||||||
|
%global libsigc_version 2.5.1
|
||||||
|
|
||||||
|
Name: cairomm
|
||||||
|
Version: 1.12.0
|
||||||
|
Release: 2
|
||||||
|
Summary: C++ API for the cairo graphics library
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://www.cairographics.org
|
||||||
|
Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: cairo-devel >= %{cairo_version}
|
||||||
|
BuildRequires: libsigc++20-devel >= %{libsigc_version}
|
||||||
|
BuildRequires: perl, perl(Getopt::Long), pkgconfig
|
||||||
|
|
||||||
|
Requires: cairo%{?_isa} >= %{cairo_version}
|
||||||
|
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Cairomm is the C++ API for the cairo graphics library. It offers all the power
|
||||||
|
of cairo with an interface familiar to C++ developers, including use of the
|
||||||
|
Standard Template Library where it makes sense.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Headers for developing programs that will use %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Cairomm is the C++ API for the cairo graphics library. It offers all the power
|
||||||
|
of cairo with an interface familiar to C++ developers, including use of the
|
||||||
|
Standard Template Library where it makes sense.
|
||||||
|
|
||||||
|
This package contains the libraries and header files needed for
|
||||||
|
developing %{name} applications.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%delete_la
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS README NEWS
|
||||||
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc ChangeLog
|
||||||
|
%{_includedir}/%{name}-%{apiver}
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
|
%{_libdir}/%{name}-%{apiver}
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc %{_datadir}/doc/%{name}-%{apiver}/
|
||||||
|
%doc %{_datadir}/devhelp/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
* Sat Nov 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.12.0-2
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user