Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 0f5c290cf6c7e25865559ed2c847085f > files > 4

gdlmm-3.3.2-7.mga3.src.rpm

%define url_ver %(echo %{version} | cut -d "." -f -2)

%define api_version	3.0
%define lib_major	1
%define lib_name	%mklibname %{name} %{api_version} %{lib_major}
%define develname	%mklibname -d %{name}

Summary:	C++ binding for the gdl library
Name:		gdlmm
Version:	3.3.2
Release:	%mkrel 7
License:	LGPLv2+
Group:		System/Libraries
URL:		http://www.gnome.org/
Source0:	http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
Patch0:		gdlmm-3.3.2-gdl3.4.patch
Patch1:		gdlmm-3.3.2-gdl3.6.patch
BuildRequires: pkgconfig(gdl-3.0) >= 3.0
BuildRequires: pkgconfig(glibmm-2.4) >= 2.16
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0
BuildRequires: doxygen
BuildRequires: xsltproc

%description
gdlmm is the C++ binding for the gdl library.


#--------------------------------------------------------------------

%package -n %{lib_name}
Summary: C++ binding for the gdl library
Group: System/Libraries

%description -n %{lib_name}
gdlmm is the C++ binding for the gdl library.

%files -n %{lib_name}
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/libgdlmm-%{api_version}.so.%{lib_major}*

#--------------------------------------------------------------------

%package -n %develname
Summary:        Libraries and include files for gdlmm
Group:          Development/C++
Requires: 	%lib_name = %version
Provides:	%{name}-devel = %{version}-%{release}

%description -n %develname
gdlmm development files. 

%files -n %develname
%doc %_datadir/doc/gdlmm-%{api_version}/
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_libdir}/%{name}-%{api_version}
%{_datadir}/devhelp/books/%{name}-%{api_version}

#--------------------------------------------------------------------

%prep
%setup -q
%apply_patches

%build
NOCONFIGURE=1 ./autogen.sh

# first remove outdated generated source files
%configure2_5x
make maintainer-clean

# now build it
%configure2_5x
# generate source files
pushd gdl/src
make all-local
popd
%make

%install
%makeinstall_std

rm -fr %buildroot%_libdir/*.la


%changelog

* Sat Jan 12 2013 cjw <cjw> 3.3.2-7.mga3
+ Revision: 351547
- add BuildRequires: xsltproc
- add BuildRequires: doxygen
- fix build

  + umeabot <umeabot>
    - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + fwang <fwang>
    - add upstream patch to build with latest gdl

* Thu Sep 06 2012 fwang <fwang> 3.3.2-5.mga3
+ Revision: 288728
- rebuild for new gdl

* Sun Jul 15 2012 wally <wally> 3.3.2-4.mga3
+ Revision: 271107
- rebuild for new gdl

* Sun Apr 22 2012 ovitters <ovitters> 3.3.2-3.mga2
+ Revision: 232674
- rebuild for new gdl

* Sun Apr 01 2012 fwang <fwang> 3.3.2-2.mga2
+ Revision: 227719
- rebuild for new gdl

* Thu Nov 24 2011 fwang <fwang> 3.3.2-1.mga2
+ Revision: 171540
- update libmajor
- rediff layout patch
- new version 3.3.2

* Mon Nov 21 2011 fwang <fwang> 3.2.1-1.mga2
+ Revision: 170233
- more removal
- more patch
- add upstream patch to build with latest gdl
- imported package gdlmm