rpms/libprojectM/devel import.log, NONE, 1.1 libprojectM-fonts.patch, NONE, 1.1 libprojectM-pc-libsuffix.patch, NONE, 1.1 libprojectM.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jameson Pugh imntreal at fedoraproject.org
Fri Nov 7 00:52:31 UTC 2008


Author: imntreal

Update of /cvs/pkgs/rpms/libprojectM/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25842/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log libprojectM-fonts.patch 
	libprojectM-pc-libsuffix.patch libprojectM.spec 
Log Message:

Initial commit



--- NEW FILE import.log ---
libprojectM-1_2_0-5_fc9:HEAD:libprojectM-1.2.0-5.src.rpm:1226019019

libprojectM-fonts.patch:

--- NEW FILE libprojectM-fonts.patch ---
diff -Naur libprojectM-1.2.0-orig/CMakeLists.txt libprojectM-1.2.0/CMakeLists.txt
--- libprojectM-1.2.0-orig/CMakeLists.txt	2008-09-18 23:30:58.000000000 -0400
+++ libprojectM-1.2.0/CMakeLists.txt	2008-09-18 23:31:14.000000000 -0400
@@ -129,8 +129,6 @@
 
 FILE(GLOB presets "presets/*.milk" "presets/*.prjm" "presets/*.tga")
 INSTALL(FILES ${presets} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/projectM/presets)
-FILE(GLOB fonts "fonts/*.ttf")
-INSTALL(FILES ${fonts} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/projectM/fonts)
 INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/libprojectM.pc" DESTINATION ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/pkgconfig)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.inp DESTINATION ${CMAKE_INSTALL_PREFIX}/share/projectM)
 INSTALL(FILES projectM.hpp event.h dlldefs.h fatal.h PresetFrameIO.hpp PCM.hpp  DESTINATION include/libprojectM)
#diff -Naur libprojectM-1.2.0-orig/config.inp.in libprojectM-1.2.0/config.inp.in
#--- libprojectM-1.2.0-orig/config.inp.in	2008-09-18 23:30:58.000000000 -0400
#+++ libprojectM-1.2.0/config.inp.in	2008-09-18 23:33:38.000000000 -0400
#@@ -17,6 +17,6 @@
# Aspect Correction = true	# Custom Shape Aspect Correction
# 
# Preset Path = @CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@/presets # preset location
#-Title Font = @CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@/fonts/Vera.ttf
#-Menu Font = @CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@/fonts/VeraMono.ttf
#+Title Font = @CMAKE_INSTALL_PREFIX@/share/fonts/bitstream-vera/Vera.ttf
#+Menu Font = @CMAKE_INSTALL_PREFIX@/share/fonts/bitstream-vera/VeraMono.ttf
#  

libprojectM-pc-libsuffix.patch:

--- NEW FILE libprojectM-pc-libsuffix.patch ---
--- libprojectM-1.2.0-orig/libprojectM.pc.in	2008-10-28 23:19:23.000000000 -0400
+++ libprojectM-1.2.0/libprojectM.pc.in	2008-10-31 00:43:07.000000000 -0400
@@ -1,6 +1,6 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=@CMAKE_INSTALL_PREFIX@
-libdir=@CMAKE_INSTALL_PREFIX@/lib
+libdir=@LIB_INSTALL_DIR@
 includedir=@CMAKE_INSTALL_PREFIX@/include
 pkgdatadir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@
 sysconfdir=@CMAKE_INSTALL_PREFIX@/@RESOURCE_PREFIX@


--- NEW FILE libprojectM.spec ---
Name:		libprojectM
Version:	1.2.0
Release:	5%{?dist}
Summary:	The libraries for the projectM music visualization plugin
Group:		Applications/Multimedia
License:	LGPLv2+
URL:		http://projectm.sourceforge.net/
Source0:	http://downloads.sourceforge.net/projectm/%{name}-%{version}.tar.bz2
#Remove fonts from package:
Patch0:		libprojectM-fonts.patch

#Add LIB_SUFFIX to libprojectM.pc.in
Patch1:		libprojectM-pc-libsuffix.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	ftgl-devel, cmake, glew-devel
Requires:	bitstream-vera-fonts

%description
projectM is an awesome music visualizer. There is nothing better in the world
of Unix. projectM's greatness comes from the hard work of the community. Users
like you can create presets that connect music with incredible visuals.
projectM is an LGPL'ed reimplementation of Milkdrop under OpenGL. All projectM
requires is a video card with 3D acceleration and your favorite music.

%package	devel
Summary:	Development files for %{name}
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}, pkgconfig

%description	devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
sed -i 's/\r//' ChangeLog

%build
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} .
make %{?_smp_mflags} VERBOSE=1


%install
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
ln -s ../../fonts/bitstream-vera/Vera.ttf $RPM_BUILD_ROOT/%{_datadir}/projectM/fonts
ln -s ../../fonts/bitstream-vera/VeraMono.ttf $RPM_BUILD_ROOT/%{_datadir}/projectM/fonts

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc ChangeLog
%{_libdir}/*.so.*
%{_datadir}/projectM

%files devel
%defattr(-,root,root,-)
%doc
%{_includedir}/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%changelog
* Tue Nov 4 2008 Jameson Pugh (imntreal at gmail.com) - 1.2.0-5
- Moved sed command from prep to install
- Correct libprojectM.pc patch

* Thu Oct 30 2008 Jameson Pugh (imntreal at gmail.com) - 1.2.0-4
- Removed patch for ChangeLog, and used sed command in the spec
- Added VERBOSE=1 to the make line
- Added patch to correct libprojectM.pc

* Wed Oct 29 2008 Jameson Pugh (imntreal at gmail.com) - 1.2.0-3
- Added a patch to correct ChangeLog EOL encoding
- Cleaned up all Requires and BuildRequires
- Corrected ownership of include/libprojectM and data/projectM
- Removed unnecessary cmake arguments

* Wed Sep 24 2008 Jameson Pugh (imntreal at gmail.com) - 1.2.0-2
- Removed fonts from package
- Added symlinks to the fonts due to hard coded programing

* Tue Sep 2 2008 Jameson Pugh (imntreal at gmail.com) - 1.2.0-1
- New release
- 64-bit patch no longer needed

* Mon Mar 31 2008 Jameson Pugh (imntreal at gmail.com) - 1.1-1
- New release

* Wed Dec 5 2007 Jameson Pugh <imntreal at gmail.com> - 1.01-1
- Initial public release of the package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libprojectM/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Nov 2008 22:39:51 -0000	1.1
+++ .cvsignore	7 Nov 2008 00:52:00 -0000	1.2
@@ -0,0 +1 @@
+libprojectM-1.2.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libprojectM/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Nov 2008 22:39:51 -0000	1.1
+++ sources	7 Nov 2008 00:52:00 -0000	1.2
@@ -0,0 +1 @@
+3bb7abb0f2d929780851bad1ca4fd045  libprojectM-1.2.0.tar.bz2




More information about the scm-commits mailing list