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

Revision 10581, 3.4 KB checked in by Takemikaduchi, 6 years ago (diff)

xlockmore: new upstream release
others: rebuild with gcc-5.4.0

Line 
1%define _ftgl_ver       2.1.2
2
3Summary:        projectM music visualization library
4Name:           libprojectm
5Version:        2.0.1
6Release:        6%{?_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* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-6
91- rebuild with gcc-5.4.0
92
93* Thu Oct 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-5
94- rebuild with glew-1.13.0
95- add Patch3 (libprojectM-freetype25.patch) from fedora
96
97* Tue Jan 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-4
98- rebuild with glew-1.7.0
99
100* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-3
101- rebuild with rpm-4.8.1 for pkg-config file
102
103* Tue Jun  1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2
104- added -DUSE_OPENMP:BOOL=OFF not to use -fopenmp on VineLinux 5
105- fixed typo at changelog
106
107* Mon May 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-1
108- update to 2.0.1
109- add patch0: do not install fonts
110  - add R: TrueType-bitstream-vera
111- add patch1: bump soname
112- add patch2: disable USE_THREADS
113
114* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 0.99-1vl5
115- applied new versioning policy
116- excluded lib*.la
117
118* Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99-0vl2
119- rebuilt with new toolchain
120
121* Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.99-0vl1
122- initial build for Vine Linux
123
124* Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 0.99-2mdv2007.0
125+ Revision: 113965
126- bump
127- Import libprojectm
128
129* Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 0.99-1mdv2007.1
130- initial package
Note: See TracBrowser for help on using the repository browser.