Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 64f6d061e50fce0b695ebaf5e6908041 > files > 2

c++-gtk-utils-2.0.14-2.mga3.src.rpm

%define major 0

%define libname %mklibname c++-gtk-utils %{major}
%define develname %mklibname c++-gtk-utils -d

Summary:	GTK+-based ISO image editor
Name:		c++-gtk-utils
Version:	2.0.14
Release:	%mkrel 2
Source0:	http://downloads.sourceforge.net/project/cxx-gtk-utils/cxx-gtk-utils/2.0.4/%{name}-%{version}.tar.gz
License:	GPLv2
Group:		System/Libraries
URL:		http://cxx-gtk-utils.sourceforge.net
BuildRequires:	gtk+3.0-devel	

%description
c++-gtk-utils is a lightweight library containing 
a number of classes and functions for programming 
GTK+ programs using C++ in POSIX (Unix-like) environments, 
where the user does not want to use a full-on wrapper such
as gtkmm or wxWidgets, or is concerned about exception safety 
or thread safety of the wrapper and their documentation.
It is parallel installable for both GTK+2 and GTK+3. 

%package -n	%{libname}
Summary:	A library containing a number of classes and functions for programming GTK+ programs using C++
Group:		System/Libraries
Provides:	%{name} = %{version}

%description -n %{libname}
c++-gtk-utils is a lightweight library containing
a number of classes and functions for programming
GTK+ programs using C++ in POSIX (Unix-like) environments,
where the user does not want to use a full-on wrapper such
as gtkmm or wxWidgets, or is concerned about exception safety
or thread safety of the wrapper and their documentation.
It is parallel installable for both GTK+2 and GTK+3.


%package -n	%{develname}
Summary:	Development files for %{name}
Group:		Development/C
Requires:	%{libname} = %{version}
Provides:	%{name}-devel = %{version}-%{release}

%description -n %{develname}
Development files for %{name}

%prep
%setup -q -n %{name}-%{version}

%build
./configure \
  --prefix=%{_prefix} \
  --exec-prefix=%{_prefix} \
  --bindir=%{_bindir} \
  --sbindir=%{_sbindir} \
  --sysconfdir=%{_sysconfdir} \
  --datadir=%{_datadir} \
  --includedir=%{_includedir} \
  --libdir=%{_libdir} \
  --mandir=%{_mandir}

%make

%install
%makeinstall_std
find %{buildroot} -name "*.la" -exec rm -rf {} \;
find %{buildroot} -name "*.a" -exec rm -rf {} \;

%files -n %{libname}
%{_libdir}/libcxx-gtk-utils-3-2.0.so.*

%files -n %{develname}
%{_includedir}/%{name}-3-2.0/%{name}/*.h
%{_includedir}/%{name}-3-2.0/%{name}/*.tpp
%{_libdir}/pkgconfig/*.pc
%{_docdir}/%{name}/2.0/html/*
%{_docdir}/%{name}/2.0/README
%{_docdir}/%{name}/2.0/NEWS
%{_docdir}/%{name}/2.0/BUGS
%{_docdir}/%{name}/2.0/COPYING
%{_docdir}/%{name}/2.0/PORTING*
%{_libdir}/libcxx-gtk-utils-3-2.0.so


%changelog

* Fri Jan 11 2013 umeabot <umeabot> 2.0.14-2.mga3
+ Revision: 347278
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Jan 07 2013 barjac <barjac> 2.0.14-1.mga3
+ Revision: 341279
- new version 2.0.14

* Tue Feb 14 2012 barjac <barjac> 2.0.4-1.mga2
+ Revision: 208908
- use mkrel macro
- fix spelling error
- del *.a
- imported package c++-gtk-utils