|
@@ -1,19 +1,28 @@
|
|
-%define _ftgl_ver 2.0.0
|
|
|
|
|
|
+%define _ftgl_ver 2.1.3
|
|
|
|
|
|
Summary: projectM music visualization library
|
|
Summary: projectM music visualization library
|
|
Name: libprojectm
|
|
Name: libprojectm
|
|
-Version: 0.99
|
|
|
|
|
|
+Version: 2.0.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://xmms-projectm.sourceforge.net/
|
|
URL: http://xmms-projectm.sourceforge.net/
|
|
|
|
+
|
|
Source0: http://prdownloads.sourceforge.net/xmms-projectm/libprojectM-%{version}.tar.bz2
|
|
Source0: http://prdownloads.sourceforge.net/xmms-projectm/libprojectM-%{version}.tar.bz2
|
|
|
|
+#Remove fonts from package:
|
|
|
|
+Patch0: libprojectM-fonts.patch
|
|
|
|
+#Bump soname
|
|
|
|
+Patch1: libprojectM-soname.patch
|
|
|
|
+#Turn off USE_THREADS until the bug is fixed upstream
|
|
|
|
+Patch2: libprojectM-USE_THREADS.patch
|
|
|
|
+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: ftgl-devel >= %{_ftgl_ver}, pkgconfig
|
|
|
|
-Requires: ftgl >= %{_ftgl_ver}
|
|
|
|
|
|
+BuildRequires: ftgl-devel >= %{_ftgl_ver}, cmake, glew-devel, pkgconfig
|
|
|
|
+Requires: TrueType-bitstream-vera
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
+Packager: daisuke
|
|
|
|
|
|
%description
|
|
%description
|
|
projectM is a music visualization library that allows applications
|
|
projectM is a music visualization library that allows applications
|
|
@@ -36,19 +45,21 @@ This package contains the libraries and header files necessary to
|
|
develop applications with projectM.
|
|
develop applications with projectM.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n libprojectM
|
|
|
|
-
|
|
|
|
-#__aclocal -I m4
|
|
|
|
-#__autoconf
|
|
|
|
-#__automake
|
|
|
|
|
|
+%setup -q -n libprojectM-%{version}
|
|
|
|
+%patch0 -p1
|
|
|
|
+%patch1 -p1
|
|
|
|
+%patch2 -p1
|
|
|
|
+sed -i 's/\r//' ChangeLog
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure --enable-shared --disable-static
|
|
|
|
-%__make
|
|
|
|
|
|
+%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
|
|
|
|
+make %{?_smp_mflags} VERBOSE=1
|
|
|
|
|
|
%install
|
|
%install
|
|
-%__rm -rf %{buildroot}
|
|
|
|
-%makeinstall
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
+mkdir $RPM_BUILD_ROOT/%{_datadir}/projectM/fonts
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
@@ -64,12 +75,18 @@ develop applications with projectM.
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%{_includedir}/projectM
|
|
|
|
|
|
+%{_includedir}/libprojectM
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
-%exclude %{_libdir}/lib*.la
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.41.1-1
|
|
|
|
+- update to 2.0.1
|
|
|
|
+- add patch0: do not install fonts
|
|
|
|
+ - add R: TrueType-bitstream-vera
|
|
|
|
+- add patch1: bump soname
|
|
|
|
+- add patch2: disable USE_THREADS
|
|
|
|
+
|
|
* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.99-1vl5
|
|
* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.99-1vl5
|
|
- applied new versioning policy
|
|
- applied new versioning policy
|
|
- excluded lib*.la
|
|
- excluded lib*.la
|