This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
freej.spec
203 lines (159 loc) · 6.32 KB
/
freej.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
# we put stuff in arch, but it should go in sitearch instead, plz fix the Makefile, alstublieft
%{!?ruby_arch: %global ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"] ')}
%{!?ruby_lib: %global ruby_lib %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"] ')}
Name: freej
Summary: Linux video DJ and mixing
Version: 1.0
Release: 3%{?dist}
Source: freej-%{version}.tar.gz
URL: http://freej.dyne.org
License: GPLv3
Group: Applications/Multimedia
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: SDL SDL_ttf freetype slang
Requires: fftw jack-audio-connection-kit
Requires: unicap
Requires: ruby(abi) = 1.8
BuildRequires: libtheora-devel SDL-devel libpng-devel libjpeg-devel
BuildRequires: SDL_ttf-devel freetype-devel libvorbis-devel slang-devel
BuildRequires: fftw-devel jack-audio-connection-kit-devel unicap-devel
BuildRequires: bluez-libs-devel nasm gcc-c++ byacc flex bison
BuildRequires: ffmpeg-devel python-devel swig python
BuildRequires: ruby ruby-devel
BuildRequires: SDL_image-devel SDL_gfx-devel
BuildRequires: gjs
BuildRequires: js-devel
BuildRequires: cwiid-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: freeglut-devel
BuildRequires: libsamplerate-devel
BuildRequires: doxygen
BuildRequires: liblo-devel
BuildRequires: libshout-devel
%description
FreeJ is a digital instrument for video livesets, featuring realtime
rendering of multilayered video and chained effect filtering directly
on the screen. It plays with video4linux devices, DIVX/AVI files, and
PNG images, letting you dynamically apply on each layer a chain of
effect plugins.
%package devel
Summary: Headers for developing programs that will use freej
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the headers that programmers will need to develop
applications which will use libraries from freej.
%prep
%setup -q -n %{name}-%{version}%{?alphatag:.%{alphatag}}
%build
%configure --enable-opengl --enable-python --enable-ruby --enable-debug
# freej does not handle multithreaded building
# it simply won't build at all
%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
rm -fr $RPM_BUILD_ROOT/usr/doc
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README AUTHORS ChangeLog KNOWN-BUGS NEWS TODO USAGE doc/*.txt doc/*.png doc/x11*
%{_bindir}/%name
%{_libdir}/lib%name.so.0.0.0
# %{_libdir}/%name/*
%{_datadir}/doc/%{name}
%{_mandir}/man1/freej.1.gz
%dir %{python_sitelib}/%{name}/
%{python_sitelib}/%{name}/*py*
%dir %{python_sitearch}/%{name}/
%{python_sitearch}/%name/_freej.*
%{ruby_lib}/freej_extensions.rb
%{ruby_arch}/Freej.la
%{ruby_arch}/Freej.so
%files devel
%defattr(-,root,root)
%doc README
%{_libdir}/libfreej.*
%{_includedir}/*.h
%{_libdir}/pkgconfig/freej.pc
%changelog
* Sat Aug 29 2009 Yaakov M. Nemoy <[email protected]> - 1.0-3
- added ruby to %%files
* Sat Aug 29 2009 Yaakov M. Nemoy <[email protected]> - 1.0-2
- updates %%files to go from lib dir to lib file
* Sat Aug 29 2009 Yaakov M. Nemoy <[email protected]> - 1.0-1
- updates upstream and BRs
* Mon Apr 6 2009 Yaakov M. Nemoy <[email protected]> - 0.10-12.20090406git.6ab131da4f54
- disables perl
- enables dynamic mmpeg and theora
* Mon Apr 6 2009 Yaakov M. Nemoy <[email protected]> - 0.10-11.20090406git.4eb509638e9f
- fixes %%files section
* Sun Apr 5 2009 Yaakov M. Nemoy <[email protected]> - 0.10-10.20090327git.8c19e5fadf51
- removes patches
- updates to git checkout
- enables python and perl bindings
* Tue Sep 23 2008 Yaakov M. Nemoy <[email protected]> - 0.10-9.20080726
- escaped macro in the changelog
- added patch to remove erros about nonexecutables with #!
- added (non-working) patch to remove warning about executable stack (more work needed upstream)
* Sun Sep 21 2008 Yaakov M. Nemoy <[email protected]> - 0.10-8.20080726
- removed explicit requires
- changed -devel's group to Dev/Libs
- Fixed the license to GPLv3 from GPL
- Removed a trailing . in the Summary.
- filled in a comment to explain the -j1 flag
- added docs to -devel package
- made BuildRoot compliant with Guidelines
* Sun Jul 26 2008 jeff <[email protected]> 0.10-7.20080726.blag.f9
- Requires: ffmpeg-libs
- BuildRequires: ffmpeg-devel
* Sun Jul 26 2008 jeff <[email protected]> 0.10-6.20080726.blag.f9
- Update to 20080726 which has ffmpeg fixes
* Sun Jul 20 2008 jeff <[email protected]> 0.10-5.20080720.blag.f9
- freej-20080720-with_skeleton.patch disables skeleton
* Sun Jul 20 2008 jeff <[email protected]> 0.10-4.20080720.blag.f9
- Update to 20080720 snapshot
- Requires: unicap
- BuildRequires: add gcc-c++ byacc flex bison unicap
- BuildRequires: remove libgoom2-devel
- Requires: remove SDL_goom libgoom2
- configure --without-goom
- %%{__make} -j1
* Sun Jun 1 2008 jeff <[email protected]> 0.10-0blag.f9
- Update to 0.10
- Add Requires: and BuildRequires:
* Mon Jan 1 2006 jeff <[email protected]> 0.8-0blag.fc6
- Update to 0.8
- Clean up spec
* Fri Mar 05 2004 jeff <[email protected]> 0.6-1blag.rh9
- Rebuild
* Wed Feb 04 2004 moe <[email protected]> 0.6-1blag.fc1
- Update to 0.6
* Fri Dec 19 2003 moe <[email protected]> 0.5.1-2blag.fc1
- Rebuild for fc1
* Tue Dec 02 2003 moe <[email protected]> 0.5.1-1blag
- Update to 0.5.1
- Remove pluggerpath patch
* Fri Oct 11 2003 moe <[email protected]> 0.5-3blag
- Rebuild
- Added pluggerpath patch so plugins can be in /usr/lib/freej instead
of /usr/local
* Thu Feb 27 2003 Austin Acton <[email protected]> 0.4.1-1plf
- 0.4.1
- buildrequires libnas
* Sat Jan 18 2003 Götz Waschk <[email protected]> 0.4-2plf
- fix installation
- drop lib* packages
- move plugins to the right dir
- autoconf 2.5 macro
- force regeneration of Makefiles with automake
* Fri Jan 17 2003 Austin Acton <[email protected]> 0.4-1plf
- initial package (depends on divx4linux)