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

Revision 5390, 3.2 KB checked in by Takemikaduchi, 12 years ago (diff)

glew,gambas3: new upstream release
libprojectm, avogadro, kalzium, mesa-demos: rebuild with glew-1.7.0

RevLine 
[1223]1%define _ftgl_ver       2.1.2
[521]2
3Summary:        projectM music visualization library
4Name:           libprojectm
[1072]5Version:        2.0.1
[5390]6Release:        4%{?_dist_release}
[1223]7License:        LGPLv2
[521]8Group:          System Environment/Libraries
9URL:            http://xmms-projectm.sourceforge.net/
[1072]10
[521]11Source0:        http://prdownloads.sourceforge.net/xmms-projectm/libprojectM-%{version}.tar.bz2
[1072]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
[521]19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[1072]20BuildRequires:  ftgl-devel >= %{_ftgl_ver}, cmake, glew-devel, pkgconfig
21Requires:       TrueType-bitstream-vera
[521]22
23Vendor:         Project Vine
24Distribution:   Vine Linux
[1072]25Packager:       daisuke
[521]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
[1072]48%setup -q -n libprojectM-%{version}
49%patch0 -p1
50%patch1 -p1
51%patch2 -p1
52sed -i 's/\r//' ChangeLog
[521]53
54%build
[1223]55%cmake \
56%if %{?_dist_release} == "vl5" || %{_dist_release} == "vl4"
57    -DUSE_OPENMP:BOOL=OFF \
58%endif
59    -DCMAKE_INSTALL_PREFIX=%{_prefix}
[1072]60make %{?_smp_mflags} VERBOSE=1
[521]61
62%install
[1072]63rm -rf $RPM_BUILD_ROOT
64make install DESTDIR=$RPM_BUILD_ROOT
65find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
66mkdir $RPM_BUILD_ROOT/%{_datadir}/projectM/fonts
[521]67
68%post -p /sbin/ldconfig
69
70%postun -p /sbin/ldconfig
71
72%clean
73%__rm -rf %{buildroot}
74
75%files
76%defattr(-,root,root)
77%{_libdir}/lib*.so.*
78%{_datadir}/projectM
79
80%files devel
81%defattr(-,root,root)
[1072]82%{_includedir}/libprojectM
[521]83%{_libdir}/lib*.so
84%{_libdir}/pkgconfig/*.pc
85
86%changelog
[5390]87* Tue Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-4
88- rebuild with glew-1.7.0
89
[1901]90* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-3
91- rebuild with rpm-4.8.1 for pkg-config file
92
[1223]93* Tue Jun  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2
94- added -DUSE_OPENMP:BOOL=OFF not to use -fopenmp on VineLinux 5
95- fixed typo at changelog
96
97* Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-1
[1072]98- update to 2.0.1
99- add patch0: do not install fonts
100  - add R: TrueType-bitstream-vera
101- add patch1: bump soname
102- add patch2: disable USE_THREADS
103
[521]104* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.99-1vl5
105- applied new versioning policy
106- excluded lib*.la
107
108* Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99-0vl2
109- rebuilt with new toolchain
110
111* Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.99-0vl1
112- initial build for Vine Linux
113
[1223]114* Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 0.99-2mdv2007.0
[521]115+ Revision: 113965
116- bump
117- Import libprojectm
118
[1223]119* Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 0.99-1mdv2007.1
[521]120- initial package
Note: See TracBrowser for help on using the repository browser.