Init package
This commit is contained in:
parent
b1565ed673
commit
85c24a8414
BIN
libgnomecanvasmm-2.26.0.tar.bz2
Normal file
BIN
libgnomecanvasmm-2.26.0.tar.bz2
Normal file
Binary file not shown.
57
libgnomecanvasmm.spec
Normal file
57
libgnomecanvasmm.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: libgnomecanvasmm26
|
||||||
|
Version: 2.26.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: C++ interface for Gnome libs (a GUI library for X)
|
||||||
|
License: LGPLv2+
|
||||||
|
Group: Development/Libraries
|
||||||
|
URL: http://www.gtkmm.org/
|
||||||
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnomecanvasmm/2.26/libgnomecanvasmm-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
#BuildArch: noarch
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gtkmm24-devel >= 2.4.0
|
||||||
|
BuildRequires: libgnomecanvas-devel >= 2.6.0
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides C++ wrappers for libgnomecanvas, for use with gtkmm.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Headers for developing programs that will use %{name}.
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: gtkmm24-devel
|
||||||
|
Requires: libgnomecanvas-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains the headers that programmers will need to
|
||||||
|
develop applications which will use %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n libgnomecanvasmm-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %buildroot
|
||||||
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||||
|
find %buildroot -type f -name "*.la" -exec rm -f {} ';'
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%{_includedir}/libgnomecanvasmm-2.6
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/libgnomecanvasmm-2.6
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 8 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 2.26.0-1
|
||||||
|
- Init package
|
||||||
Loading…
x
Reference in New Issue
Block a user