Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 83dd65500deafc74eed88301784fe521 > files > 2

nucleo-0.7.3-1mdv2009.0.src.rpm

# export CVSROOT=:pserver:anonymous@cvs.lri.fr:/users/asspro/roussel/cvsroot
# cvs login # no password
# DATE=$(date +%Y%m%d)
# cvs export -D now -d nucleo-$DATE nucleo
# tar cvjf nucleo-$DATE.tar.bz2 nucleo-$DATE

%define name nucleo
%define version 0.7.3
#define cvs 20061224
%define distname %{name}-%{version}

%define common_summary explore video and human-computer interaction
%define common_description Nucleo is a toolkit for exploring new uses of video and new\
human-computer interaction techniques.
%define lib_major 0

%define lib_name %mklibname %{name} %{lib_major}

Summary: Toolkit to %{common_summary}
Name: %{name}
Version: %{version}
Release: %mkrel 1
Source0: %{distname}.tar.bz2

License: LGPLv2+
Group: System/Libraries
Url: http://www.lri.fr/~roussel/projects/nucleo/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: automake
BuildRequires: mesaglu-devel jpeg-devel png-devel libexif-devel freetype2-devel
BuildRequires: ffmpeg-devel
BuildRequires: libxi-devel
BuildRequires: avahi-compat-libdns_sd-devel
BuildRequires: qt4-devel
Buildrequires: gd-devel

%description
%{common_description}

%package -n	%{lib_name}
Summary:	A library to %{common_summary}
Group:		System/Libraries

%description -n	%{lib_name}
%{common_description}

This package contains the library needed to run programs dynamically
linked with %{name}.

%package -n	%{lib_name}-plugins-ffmpeg
Summary:	FFMpeg plugin for nucleo
Group:		System/Libraries

%description -n	%{lib_name}-plugins-ffmpeg
This package contains FFMPEG plugin for nucleo.

%package -n	%{lib_name}-plugins-qt
Summary:	QT4 plugin for nucleo
Group:		System/Libraries

%description -n	%{lib_name}-plugins-qt
This package contains QT4 plugin for nucleo.

%package -n	%{lib_name}-plugins-gd
Summary:	GD plugin for nucleo
Group:		System/Libraries

%description -n	%{lib_name}-plugins-gd
This package contains GD plugin for nucleo.

%package -n	%{lib_name}-devel
Summary:	Development tools for programs using %{name}
Group:		Development/C
Requires:	%{lib_name} = %{version}
Provides:	%{name}-devel = %{version}-%{release}

%description -n	%{lib_name}-devel
%{common_description}

This package contains the header files and libraries needed for
developing programs using the %{name} library.

%prep
%setup -q -n %{distname}


%build
%configure2_5x 
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

#remove unpackaged files
rm -f $RPM_BUILD_ROOT%{_libdir}/nucleo/*.la

%clean
rm -rf $RPM_BUILD_ROOT

%if %mdkversion < 200900
%post -n %{lib_name} -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %{lib_name} -p /sbin/ldconfig
%endif

%files
%defattr(-,root,root)
%doc AUTHORS NEWS README
%{_bindir}/nBundle
%{_bindir}/nTest
%{_bindir}/videoClient
%{_bindir}/videoServer
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/Info.plist.tmpl
%{_datadir}/%{name}/%{name}.icns
%{_datadir}/%{name}/%{name}.pdf
%{_datadir}/%{name}/plugin-list
%dir %{_datadir}/%{name}/fonts
%{_datadir}/%{name}/fonts/*.ttf

%files -n %{lib_name}
%defattr(-,root,root)
%{_libdir}/libNucleo.so.*
%{_libdir}/libNucleo.la

%files -n %{lib_name}-plugins-ffmpeg
%defattr(-,root,root)
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/nPffmpeg.so

%files -n %{lib_name}-plugins-qt
%defattr(-,root,root)
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/nPqt.so

%files -n %{lib_name}-plugins-gd
%defattr(-,root,root)
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/nPgd.so

%files -n %{lib_name}-devel
%defattr(-,root,root)
%{_libdir}/libNucleo.so
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/nucleo-config
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*



%changelog
* Wed Jul 30 2008 Frederic Crozat <fcrozat@mandriva.com> 0.7.3-1mdv2009.0
+ Revision: 254845
- Release 0.7.3
- Remove patches 0 & 1, merged upstream

* Mon Jun 16 2008 Frederic Crozat <fcrozat@mandriva.com> 0.7.2-1mdv2009.0
+ Revision: 219440
- Add missing buildrequires
- Release 0.7.2
- Remove all patches, merged upstream
- Patch0: fix missing include
- Patch1: fix build with glibc 2.8

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Thu Apr 17 2008 Frederic Crozat <fcrozat@mandriva.com> 0.6-10mdv2009.0
+ Revision: 195263
- Patch6: fix build with latest ffmpeg

  + Oden Eriksson <oeriksson@mandriva.com>
    - rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Sep 24 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-8mdv2008.0
+ Revision: 92527
- Patch5 (CVS): fix build with latest gcc


* Sat Mar 03 2007 Christiaan Welvaart <cjw@daneel.dyndns.org>
+ 2007-03-03 09:29:12 (131751)
- drop exclusivearch

* Mon Feb 26 2007 Olivier Blin <oblin@mandriva.com> 0.6-6mdv2007.1
+ 2007-02-26 12:33:01 (125782)
- fix linking with dns-sd

* Thu Feb 22 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-5mdv2007.1
+ 2007-02-22 21:47:49 (124826)
- Update patch4 to set avahi cflags/ldflags in nucleo-config too

* Thu Feb 22 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-4mdv2007.1
+ 2007-02-22 18:47:44 (124743)
- Update patch4 to link libnucleo with avahi and add cflags/ldflags to pkgconfig file

* Fri Feb 09 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-3mdv2007.1
+ 2007-02-09 15:47:42 (118488)
- Enable SD_DNS support, QT4 plugin
- Move ffmpeg and QT4 plugins in separate packages
- Patch3(CVS) : fix plugins name
- Patch4: fix DNS_SD build with Avahi

* Wed Feb 07 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-2mdv2007.1
+ 2007-02-07 15:17:03 (117176)
- Patch2: fix debug output for 32bit system

* Mon Feb 05 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-1mdv2007.1
+ 2007-02-05 17:25:52 (116235)
- Release 0.6 final
-Patch1 (CVS): fix build when dns-sd isn't available
-Remove merged patches upstream
- from Gwenole Beauchesne <gbeauchesne@mandriva.com>
    - 64-bit fixes and enable on x86_64

* Mon Jan 15 2007 Frederic Crozat <fcrozat@mandriva.com> 0.6-0.20061224.2mdv2007.1
+ 2007-01-15 19:31:45 (109307)
- Patch2 : add support for qmix/qmax in ffmpeg plugin
-Fix buildrequires, ensure xinput support is built

* Fri Dec 29 2006 Frederic Crozat <fcrozat@mandriva.com> 0.6-0.20061224.1mdv2007.1
+ 2006-12-29 18:00:31 (102611)
- New snapshot (20061224)
- Remove patch0, no longer needed

* Fri Dec 15 2006 Frederic Crozat <fcrozat@mandriva.com> 0.6-0.20061214.1mdv2007.1
+ 2006-12-15 16:45:35 (97470)
- New snapshot (20061214) with shader support
  Patch0: fix build with current mesa

* Thu Nov 30 2006 Frederic Crozat <fcrozat@mandriva.com> 0.6-0.20061130.1mdv2007.1
+ 2006-11-30 13:16:20 (89138)
- Update snapshot (20061130)
- Remove patches 0, 2 (merged upstream)

* Wed Nov 29 2006 Frederic Crozat <fcrozat@mandriva.com> 0.5-0.20061014.3mdv2007.1
+ 2006-11-29 18:45:32 (88695)
- Update patch0
- Disable patch1, it breaks nucleo
- Patch2: allow disabling howl at compile time
- Disable x86-64 arch for now

* Sun Oct 15 2006 Olivier Blin <oblin@mandriva.com> 0.5-0.20061014.2mdv2006.0
+ 2006-10-14 16:57:03 (65163)
- bump release
- add GLuint id in sgNode instances to fix glPushName() on x86_64
- add buildrequires
- initial nucleo package
- Created package structure for nucleo.