source: projects/specs/trunk/lib/libp/libprojectm/libprojectm-vl.spec @ 1072

Revision 1072, 2.7 KB checked in by daisuke, 14 years ago (diff)

libprojectm:

  • update to 2.0.1
  • add patch0: do not install fonts
  • add patch1: bump soname
  • add patch2: disable USE_THREADS


Line 
1%define _ftgl_ver       2.1.3
2
3Summary:        projectM music visualization library
4Name:           libprojectm
5Version:        2.0.1
6Release:        1%{?_dist_release}
7License:        LGPL
8Group:          System Environment/Libraries
9URL:            http://xmms-projectm.sourceforge.net/
10
11Source0:        http://prdownloads.sourceforge.net/xmms-projectm/libprojectM-%{version}.tar.bz2
12#Remove fonts from package:
13Patch0:         libprojectM-fonts.patch
14#Bump soname
15Patch1:         libprojectM-soname.patch
16#Turn off USE_THREADS until the bug is fixed upstream
17Patch2:         libprojectM-USE_THREADS.patch
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20BuildRequires:  ftgl-devel >= %{_ftgl_ver}, cmake, glew-devel, pkgconfig
21Requires:       TrueType-bitstream-vera
22
23Vendor:         Project Vine
24Distribution:   Vine Linux
25Packager:       daisuke
26
27%description
28projectM is a music visualization library that allows applications
29to display interesting moving images while playing music. It is a
30reimplementation of Milkdrop under OpenGL.
31
32%package devel
33Summary:        Development files for libprojectM
34Group:          Development/Libraries
35Requires:       %{name} = %{version}-%{release}
36Requires:       mesa-libGL-devel
37Requires:       pkgconfig
38
39%description devel
40projectM is a music visualization library that allows applications
41to display interesting moving images while playing music. It is a
42reimplementation of Milkdrop under OpenGL.
43
44This package contains the libraries and header files necessary to
45develop applications with projectM.
46
47%prep
48%setup -q -n libprojectM-%{version}
49%patch0 -p1
50%patch1 -p1
51%patch2 -p1
52sed -i 's/\r//' ChangeLog
53
54%build
55%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix}
56make %{?_smp_mflags} VERBOSE=1
57
58%install
59rm -rf $RPM_BUILD_ROOT
60make install DESTDIR=$RPM_BUILD_ROOT
61find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
62mkdir $RPM_BUILD_ROOT/%{_datadir}/projectM/fonts
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68%clean
69%__rm -rf %{buildroot}
70
71%files
72%defattr(-,root,root)
73%{_libdir}/lib*.so.*
74%{_datadir}/projectM
75
76%files devel
77%defattr(-,root,root)
78%{_includedir}/libprojectM
79%{_libdir}/lib*.so
80%{_libdir}/pkgconfig/*.pc
81
82%changelog
83* Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.41.1-1
84- update to 2.0.1
85- add patch0: do not install fonts
86  - add R: TrueType-bitstream-vera
87- add patch1: bump soname
88- add patch2: disable USE_THREADS
89
90* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.99-1vl5
91- applied new versioning policy
92- excluded lib*.la
93
94* Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99-0vl2
95- rebuilt with new toolchain
96
97* Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.99-0vl1
98- initial build for Vine Linux
99
100* Fri Jan 26 2007 G«Ótz Waschk <waschk@mandriva.org> 0.99-2mdv2007.0
101+ Revision: 113965
102- bump
103- Import libprojectm
104
105* Fri Jan 26 2007 G«Ótz Waschk <waschk@mandriva.org> 0.99-1mdv2007.1
106- initial package
Note: See TracBrowser for help on using the repository browser.