|
|
b208cd1 |
Name: AllegroOGG
|
|
|
b208cd1 |
Version: 1.0.3
|
|
|
acb5e05 |
Release: 25%{?dist}
|
|
|
fc34960 |
Summary: Ogg library for use with the Allegro game library
|
|
|
b208cd1 |
License: BSD
|
|
|
b208cd1 |
URL: http://www.allegro.cc/resource/Libraries/Audio/alogg
|
|
|
fc34960 |
Source0: http://www.hero6.com/filereviver/alogg.zip
|
|
|
fc34960 |
Source1: AllegroOGG.pc.in
|
|
|
c80511f |
BuildRequires: gcc
|
|
|
b208cd1 |
BuildRequires: allegro-devel libvorbis-devel
|
|
|
fc34960 |
|
|
|
fc34960 |
%description
|
|
|
fc34960 |
%{name} is an Allegro wrapper for the Ogg Vorbis decoder from the Xiph.org
|
|
|
fc34960 |
foundation. This lib lets you play OGGs and convert OGGs to Allegro SAMPLEs
|
|
|
fc34960 |
amongst a lot of other capabilites.
|
|
|
fc34960 |
|
|
|
fc34960 |
|
|
|
fc34960 |
%package devel
|
|
|
b208cd1 |
Summary: Developmental libraries and include files for AllegroOgg
|
|
|
b208cd1 |
Requires: %{name} = %{version}-%{release}
|
|
|
b208cd1 |
Requires: allegro-devel
|
|
|
fc34960 |
|
|
|
fc34960 |
%description devel
|
|
|
fc34960 |
Development libraries and include files for developing applications using
|
|
|
fc34960 |
the %{name} library.
|
|
|
fc34960 |
|
|
|
fc34960 |
|
|
|
fc34960 |
%prep
|
|
|
fc34960 |
%setup -q -c
|
|
|
fc34960 |
%{__sed} -i 's/\r//' docs/A*.txt
|
|
|
fc34960 |
%{__sed} -e "s#@prefix@#%{_prefix}#g" -e "s#@libdir@#%{_libdir}#g" \
|
|
|
fc34960 |
-e "s#@includedir@#%{_includedir}#g" -e "s#@version@#%{version}#g" \
|
|
|
fc34960 |
-e "s#@name@#%{name}#" %{SOURCE1} > %{name}.pc
|
|
|
fc34960 |
|
|
|
fc34960 |
%build
|
|
|
fc34960 |
# makefile doesn't support creating an .so, and wants to use its own version
|
|
|
fc34960 |
# of libogg and libvorbis and there is only one source file so lets DIY
|
|
|
fc34960 |
gcc $RPM_OPT_FLAGS -fPIC -DPIC -Iinclude -c src/alogg.c -o src/alogg.o
|
|
|
fc34960 |
gcc -g -shared -Wl,-soname=lib%{name}.so.0 -o lib%{name}.so.0 \
|
|
|
b208cd1 |
src/alogg.o -logg -lvorbis -lvorbisfile $(allegro-config --libs)
|
|
|
fc34960 |
|
|
|
fc34960 |
|
|
|
fc34960 |
%install
|
|
|
fc34960 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|
|
fc34960 |
install -m 755 lib%{name}.so.0 $RPM_BUILD_ROOT%{_libdir}
|
|
|
fc34960 |
ln -s lib%{name}.so.0 $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
|
|
|
fc34960 |
install -m 644 %{name}.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
|
|
fc34960 |
|
|
|
fc34960 |
mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name}
|
|
|
fc34960 |
install -m 644 include/* $RPM_BUILD_ROOT%{_includedir}/%{name}
|
|
|
fc34960 |
|
|
|
fc34960 |
|
|
|
ad899f3 |
%ldconfig_scriptlets
|
|
|
fc34960 |
|
|
|
fc34960 |
|
|
|
fc34960 |
%files
|
|
|
fc34960 |
%doc docs/*.txt
|
|
|
fc34960 |
%{_libdir}/*.so.*
|
|
|
fc34960 |
|
|
|
fc34960 |
%files devel
|
|
|
fc34960 |
%{_includedir}/%{name}
|
|
|
fc34960 |
%{_libdir}/*.so
|
|
|
fc34960 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
fc34960 |
|
|
|
fc34960 |
|
|
|
fc34960 |
%changelog
|
|
|
acb5e05 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-25
|
|
|
acb5e05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
acb5e05 |
|
|
|
24b4432 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-24
|
|
|
24b4432 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
24b4432 |
|
|
|
aa2bd20 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-23
|
|
|
aa2bd20 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
aa2bd20 |
|
|
|
a8d281b |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-22
|
|
|
a8d281b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a8d281b |
|
|
|
83d698e |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-21
|
|
|
83d698e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
83d698e |
|
|
|
178ecc4 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-20
|
|
|
178ecc4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
178ecc4 |
|
|
|
fe1e2ce |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-19
|
|
|
fe1e2ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
fe1e2ce |
|
|
|
82cb631 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-18
|
|
|
82cb631 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
82cb631 |
|
|
|
7f25c06 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-17
|
|
|
7f25c06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7f25c06 |
|
|
|
7240b73 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-16
|
|
|
7240b73 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7240b73 |
|
|
|
201f236 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-15
|
|
|
201f236 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
201f236 |
|
|
|
262830d |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-14
|
|
|
262830d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
262830d |
|
|
|
1c05b7b |
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-13
|
|
|
1c05b7b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1c05b7b |
|
|
|
e9acc95 |
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-12
|
|
|
e9acc95 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e9acc95 |
|
|
|
2204e1c |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-11
|
|
|
2204e1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2204e1c |
|
|
|
faf3dd7 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-10
|
|
|
faf3dd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
faf3dd7 |
|
|
|
fc603d6 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-9
|
|
|
fc603d6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fc603d6 |
|
|
|
b208cd1 |
* Wed Jul 13 2011 Hans de Goede <hdegoede@redhat.com> - 1.0.3-8
|
|
|
b208cd1 |
- Rebuilt for new allegro-4.4
|
|
|
b208cd1 |
|
|
|
e2ef306 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-7
|
|
|
e2ef306 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
e2ef306 |
|
|
|
6307310 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-6
|
|
|
6307310 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
6307310 |
|
|
|
8d0e263 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-5
|
|
|
8d0e263 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
8d0e263 |
|
|
|
f04912d |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.3-4
|
|
|
f04912d |
- Autorebuild for GCC 4.3
|
|
|
f04912d |
|
|
|
adcf082 |
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.3-3
|
|
|
adcf082 |
- FE6 Rebuild
|
|
|
adcf082 |
|
|
|
fc34960 |
* Sat Apr 20 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.3-2
|
|
|
fc34960 |
- Rename .so file from liballog.so(.0) to libAllegroOGG.so(.0) and put the
|
|
|
fc34960 |
headers in /usr/include/AllegroOGG to avoid any future conflicts with the
|
|
|
fc34960 |
(unpackaged) alogg library which unsurprisingly installs libalogg.so too.
|
|
|
fc34960 |
- Add a pkgconfig file to allow apps to get the proper CFLAGS and LIBS for
|
|
|
fc34960 |
this change. (bz 188625)
|
|
|
fc34960 |
|
|
|
fc34960 |
* Tue Apr 11 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0.3-1
|
|
|
fc34960 |
- Initial spec file
|