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

Revision 9767, 3.4 KB checked in by Takemikaduchi, 8 years ago (diff)

blender,glew,mesa-demos: new upstream release
others: rebuild with glew-1.13.0

Line 
1%define _ftgl_ver       2.1.2
2
3Summary:        projectM music visualization library
4Name:           libprojectm
5Version:        2.0.1
6Release:        5%{?_dist_release}
7License:        LGPLv2
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
19Patch3:     libprojectM-freetype25.patch
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22BuildRequires:  ftgl-devel >= %{_ftgl_ver}, cmake, glew-devel, pkgconfig
23Requires:       TrueType-bitstream-vera
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       daisuke
28
29%description
30projectM is a music visualization library that allows applications
31to display interesting moving images while playing music. It is a
32reimplementation of Milkdrop under OpenGL.
33
34%package devel
35Summary:        Development files for libprojectM
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       mesa-libGL-devel
39Requires:       pkgconfig
40
41%description devel
42projectM is a music visualization library that allows applications
43to display interesting moving images while playing music. It is a
44reimplementation of Milkdrop under OpenGL.
45
46This package contains the libraries and header files necessary to
47develop applications with projectM.
48
49%prep
50%setup -q -n libprojectM-%{version}
51%patch0 -p1
52%patch1 -p1
53%patch2 -p1
54%patch3 -p1
55sed -i 's/\r//' ChangeLog
56
57%build
58%cmake \
59%if %{?_dist_release} == "vl5" || %{_dist_release} == "vl4"
60    -DUSE_OPENMP:BOOL=OFF \
61%endif
62    -DCMAKE_INSTALL_PREFIX=%{_prefix}
63make %{?_smp_mflags} VERBOSE=1
64
65%install
66rm -rf $RPM_BUILD_ROOT
67make install DESTDIR=$RPM_BUILD_ROOT
68find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
69mkdir $RPM_BUILD_ROOT/%{_datadir}/projectM/fonts
70
71%post -p /sbin/ldconfig
72
73%postun -p /sbin/ldconfig
74
75%clean
76%__rm -rf %{buildroot}
77
78%files
79%defattr(-,root,root)
80%{_libdir}/lib*.so.*
81%{_datadir}/projectM
82
83%files devel
84%defattr(-,root,root)
85%{_includedir}/libprojectM
86%{_libdir}/lib*.so
87%{_libdir}/pkgconfig/*.pc
88
89%changelog
90* Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-5
91- rebuild with glew-1.13.0
92- add Patch3 (libprojectM-freetype25.patch) from fedora
93
94* Tue Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-4
95- rebuild with glew-1.7.0
96
97* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-3
98- rebuild with rpm-4.8.1 for pkg-config file
99
100* Tue Jun  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2
101- added -DUSE_OPENMP:BOOL=OFF not to use -fopenmp on VineLinux 5
102- fixed typo at changelog
103
104* Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-1
105- update to 2.0.1
106- add patch0: do not install fonts
107  - add R: TrueType-bitstream-vera
108- add patch1: bump soname
109- add patch2: disable USE_THREADS
110
111* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.99-1vl5
112- applied new versioning policy
113- excluded lib*.la
114
115* Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99-0vl2
116- rebuilt with new toolchain
117
118* Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.99-0vl1
119- initial build for Vine Linux
120
121* Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 0.99-2mdv2007.0
122+ Revision: 113965
123- bump
124- Import libprojectm
125
126* Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 0.99-1mdv2007.1
127- initial package
Note: See TracBrowser for help on using the repository browser.