Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:52:42 +0000 | Пакетов: 9547
en ru
Исходные пакеты в ветвях
свернуть окно
  • 2.1.0-alt9.qa1
  • 2.1.0-alt9.qa1
  • 2.1.0-alt8.M70P.1
  • 2.1.0-alt8.M70T.1
  • 2.1.0-alt8.M60T.1
  • 2.0.1-alt2.M51.1
  • 1.2.0-alt3.2
Группа :: Система/Библиотеки
Исходный пакет: libprojectM
Необработанный spec-файл

# FIXME: soname
%define oname projectM

Name: libprojectM
Version: 1.2.0
Release: alt3.2

License: LGPL
Group: System/Libraries
Url: http://projectm.sourceforge.net/

Summary: Awesome music visualizer

Packager: Motsyo Gennadi <drool at altlinux.ru>

Source: http://prdownloads.sourceforge.net/projectm/%name-%version.tar.bz2
Patch0: %name-static.patch
Patch1: %name-1.2.0-gcc4.4_ftbfs.patch
Patch2: %name-1.2.0-cmake_version.patch

BuildRequires: cmake gcc-c++ libICE-devel libX11-devel libXext-devel libftgl-devel libglew-devel
BuildPreReq: rpm-build-compat >= 1.4

%description
projectM is a reimplementation of Milkdrop under OpenGL. It is an
awesome music visualizer. There is nothing better in the world of
Unix.

%package devel
Summary: Header files for projectM library
Group: Development/C
Requires: %name = %version-%release

%description devel
Header files for projectM library.

%package static
Summary: Static projectM library
Group: Development/Libraries
Requires: %name-devel = %version-%release

%description static
Static projectM library.

%prep
%setup
%patch1 -p1
%patch2 -p1
%__subst 's| m | m pthread |' CMakeLists.txt

%build
cmake \
-DCMAKE_INSTALL_PREFIX=%prefix \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DUSE_FBO:STRING=FALSE \
%ifarch x86_64
-DLIB_SUFFIX=64 \
%endif

%make_build

%install
%make DESTDIR=%buildroot install
rm -f %buildroot/%_libdir/libprojectM.a

%files
%doc ChangeLog
%_libdir/libprojectM.so.*
%dir %_datadir/%oname/
%_datadir/%oname/config.inp
%dir %_datadir/%oname/fonts/
%_datadir/%oname/fonts/*.ttf
%dir %_datadir/%oname/presets/
%_datadir/%oname/presets/*

%files devel
%_includedir/%name/
%_libdir/libprojectM.so
%_pkgconfigdir/libprojectM.pc

#%files static

#%_libdir/libprojectM.a


%changelog
* Wed Oct 21 2009 Motsyo Gennadi <drool at altlinux.ru> 1.2.0-alt3.2
- fix build without '%cmake' macros
- fix build with optflags
- fix warning for cmake version

* Wed Aug 26 2009 Motsyo Gennadi <drool at altlinux.ru> 1.2.0-alt3.1
- fix build with gcc44

* Sun Mar 01 2009 Vitaly Lipatov <lav at altlinux.ru> 1.2.0-alt3
- build with US_FBO=FALSE (disable Framebuffer Objects using)

* Tue Dec 02 2008 Valery Inozemtsev <shrek at altlinux.ru> 1.2.0-alt2.1
- NMU:
* updated build dependencies

* Fri Jun 20 2008 Vitaly Lipatov <lav at altlinux.ru> 1.2.0-alt2
- fix build on x86_64

* Sat Jun 14 2008 Vitaly Lipatov <lav at altlinux.ru> 1.2.0-alt1
- new version 1.2.0 (with rpmrb script)

* Wed Nov 07 2007 Vitaly Lipatov <lav at altlinux.ru> 1.01-alt2
- fix build on x86_64

* Sat Oct 27 2007 Vitaly Lipatov <lav at altlinux.ru> 1.01-alt1
- initial build for ALT Linux Sisyphus (spec from PLD)

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT