100 lines
2.6 KiB
RPMSpec
100 lines
2.6 KiB
RPMSpec
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||
|
|
||
|
Name: libgnomecanvasmm
|
||
|
Version: 2.26.0
|
||
|
Release: 1mamba
|
||
|
Summary: C++ interface library for GnomeCanvas widget
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.gnome.org
|
||
|
Source: http://ftp.gnome.org/pub/GNOME/sources/libgnomecanvasmm/%{majversion}/libgnomecanvasmm-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
BuildRequires: libglade-devel
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libart_lgpl-devel
|
||
|
BuildRequires: libatk-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libcairomm-devel
|
||
|
BuildRequires: libfontconfig-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libglibmm-devel
|
||
|
BuildRequires: libgnomecanvas-devel
|
||
|
BuildRequires: libgtk-devel
|
||
|
BuildRequires: libgtkmm-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libsigc++2-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
C++ interface library for GnomeCanvas widget.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Devel package for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
Devel package for the libgnomecanvasmm library.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure \
|
||
|
--libexecdir=%{_sbindir} \
|
||
|
--enable-gtk-doc
|
||
|
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.so.*
|
||
|
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.la
|
||
|
%{_libdir}/*.so
|
||
|
%dir %{_includedir}/%{name}-?.?
|
||
|
%{_includedir}/%{name}-?.?/*
|
||
|
%dir %{_libdir}/%{name}-?.?
|
||
|
%{_libdir}/%{name}-?.?/*
|
||
|
%{_libdir}/pkgconfig/*
|
||
|
|
||
|
%changelog
|
||
|
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 2.26.0-1mamba
|
||
|
- automatic update to 2.26.0 by autodist
|
||
|
|
||
|
* Fri Nov 14 2008 gil <puntogil@libero.it> 2.22.0-1mamba
|
||
|
- update to 2.22.0
|
||
|
|
||
|
* Thu Jun 15 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 2.12.0-1qilnx
|
||
|
- update to version 2.12.0 by autospec
|
||
|
|
||
|
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.10.0-1qilnx
|
||
|
- update to version 2.10.0 by autospec
|
||
|
|
||
|
* Fri Dec 17 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.0-1qilnx
|
||
|
- update to version 2.8.0 by autospec
|
||
|
|
||
|
* Sun Feb 29 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1qilnx
|
||
|
- first build
|