12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- %define ver 0.1
- Summary: A C++ wrapper for goocanvas
- Summary(ja): goocanvas の C++ ラッパー
- Name: goocanvasmm
- Version: 0.14.0
- Release: 1%{?_dist_release}
- License: LGPL
- Group: System Environment/Libraries
- Source: ftp://ftp.gnome.org/pub/GNOME/sources/goocanvasmm/0.14/%{name}-%{version}.tar.bz2
- Buildroot: %{_tmppath}/%{name}-%{version}-root
- Requires: goocanvas >= 0.14
- Requires: glibmm >= 2.14.2
- Requires: gtkmm2 >= 2.10.9
- BuildRequires: goocanvas-devel >= 0.14
- BuildRequires: glibmm-devel >= 2.14.2
- BuildRequires: gtkmm2-devel >= 2.10.9
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- %description
- Goocanvasmm is a C++ wrapper for goocanvas.
- %package devel
- Summary: Development tools for goocanvasmm applications.
- Summary(ja): goocanvasmm アプリケーションの開発用ファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: goocanvas-devel >= 0.14
- Requires: glibmm-devel >= 2.14.2
- Requires: gtkmm2-devel >= 2.10.9
- %description devel
- Header files and libraries for building a extension library for the goocanvasmm.
- %prep
- %setup -q
- %build
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
- find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
- # remove demos, examples
- rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/demo
- rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}-%{ver}/examples
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %clean
- [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
- %files
- %defattr(-, root, root)
- %doc AUTHORS COPYING ChangeLog NEWS README
- %{_libdir}/lib*.so.*
- %files devel
- %defattr(-, root, root)
- %{_includedir}/*
- %{_libdir}/*.so
- %{_libdir}/%{name}-*
- %{_libdir}/pkgconfig/*.pc
- %changelog
- * Thu Jul 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1
- - initial build for Vine Linux
|