From a0cb7ea70cf53e4fa0d1bd21281e8b9fd75529a9 Mon Sep 17 00:00:00 2001 From: Jameson Pugh Date: May 22 2010 16:24:16 +0000 Subject: Don't add unneeded fonts directory Add instructions on upgrading from -3 --- diff --git a/README.libprojectM b/README.libprojectM new file mode 100644 index 0000000..c447a83 --- /dev/null +++ b/README.libprojectM @@ -0,0 +1,4 @@ +When upgrading from libprojectM-2.0.1-3 and earlier, you should make sure that the projectM configuration files in home directories point to the correct font files. You can do this with the following command: +sed -i 's/projectM\/fonts/fonts\/bitstream-vera/g' /home/*/.projectM/config.inp + +If you access libprojectM from more than one user, you will need to run this command as root. diff --git a/import.log b/import.log index 19d0b98..8093f48 100644 --- a/import.log +++ b/import.log @@ -8,3 +8,4 @@ libprojectM-2_0_1-1_fc12:HEAD:libprojectM-2.0.1-1.fc12.src.rpm:1260820819 libprojectM-2_0_1-2_fc12:HEAD:libprojectM-2.0.1-2.fc12.src.rpm:1263682561 libprojectM-2_0_1-3_fc12:HEAD:libprojectM-2.0.1-3.fc12.src.rpm:1265639585 libprojectM-2_0_1-4_fc12:HEAD:libprojectM-2.0.1-4.fc12.src.rpm:1270914969 +libprojectM-2_0_1-5_fc12:HEAD:libprojectM-2.0.1-5.fc12.src.rpm:1274545391 diff --git a/libprojectM.spec b/libprojectM.spec index 72fe749..8346991 100644 --- a/libprojectM.spec +++ b/libprojectM.spec @@ -1,11 +1,12 @@ Name: libprojectM Version: 2.0.1 -Release: 4%{?dist} +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 +Source1: README.libprojectM #Remove fonts from package: Patch0: libprojectM-fonts.patch #Bump soname @@ -39,6 +40,7 @@ developing applications that use %{name}. %patch1 -p1 %patch2 -p1 sed -i 's/\r//' ChangeLog +cp -f %{SOURCE1} README.fedora %build %cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} . @@ -49,7 +51,6 @@ make %{?_smp_mflags} VERBOSE=1 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 %clean rm -rf $RPM_BUILD_ROOT @@ -60,7 +61,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc ChangeLog +%doc ChangeLog README.fedora %{_libdir}/*.so.* %{_datadir}/projectM @@ -72,6 +73,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Fri May 21 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-5 +- Don't create fonts directory +- Add a README.fedora for instructions on upgrading from -3 + * Mon Apr 05 2010 Jameson Pugh (imntreal@gmail.com) - 2.0.1-4 - Got rid of font symlinks