Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/libvorbis-1.2.0/libvorbis.spec.in @ 29

Last change on this file since 29 was 16, checked in by landauf, 17 years ago

added libvorbis

File size: 3.2 KB
RevLine 
[16]1Name:           libvorbis
2Version:        @VERSION@
3Release:        0.xiph.1
4Summary:        The Vorbis General Audio Compression Codec.
5
6Group:          System Environment/Libraries
7License:        BSD
8URL:            http://www.xiph.org/
9Vendor:         Xiph.org Foundation <team@xiph.org>
10Source:         http://www.vorbis.com/files/1.0.1/unix/%{name}-%{version}.tar.gz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13# We're forced to use an epoch since both Red Hat and Ximian use it in their
14# rc packages
15Epoch:          2
16# Dirty trick to tell rpm that this package actually provides what the
17# last rc and beta was offering
18Provides:       %{name} = %{epoch}:1.0rc3-%{release}
19Provides:       %{name} = %{epoch}:1.0beta4-%{release}
20
21Requires:       libogg >= 1.1
22BuildRequires:  libogg-devel >= 1.1
23
24%description
25Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
26general-purpose compressed audio format for audio and music at fixed
27and variable bitrates from 16 to 128 kbps/channel.
28
29%package devel
30Summary:        Vorbis Library Development
31Group:          Development/Libraries
32Requires:       libogg-devel >= 1.1
33Requires:       libvorbis = %{version}
34# Dirty trick to tell rpm that this package actually provides what the
35# last rc and beta was offering
36Provides:       %{name}-devel = %{epoch}:1.0rc3-%{release}
37Provides:       %{name}-devel = %{epoch}:1.0beta4-%{release}
38
39%description devel
40The libvorbis-devel package contains the header files, static libraries
41and documentation needed to develop applications with libvorbis.
42
43%prep
44%setup -q -n %{name}-%{version}
45
46%build
47CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
48make
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53make DESTDIR=$RPM_BUILD_ROOT install
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post -p /sbin/ldconfig
59
60%postun -p /sbin/ldconfig
61
62%files
63%defattr(-,root,root)
64%doc AUTHORS COPYING README
65%{_libdir}/libvorbis.so.*
66%{_libdir}/libvorbisfile.so.*
67%{_libdir}/libvorbisenc.so.*
68
69%files devel
70%doc doc/*.html
71%doc doc/*.png
72%doc doc/*.txt
73%doc doc/vorbisfile
74%doc doc/vorbisenc
75%{_datadir}/aclocal/vorbis.m4
76%dir %{_includedir}/vorbis
77%{_includedir}/vorbis/codec.h
78%{_includedir}/vorbis/vorbisfile.h
79%{_includedir}/vorbis/vorbisenc.h
80%{_libdir}/libvorbis.a
81%{_libdir}/libvorbis.la
82%{_libdir}/libvorbis.so
83%{_libdir}/libvorbisfile.a
84%{_libdir}/libvorbisfile.la
85%{_libdir}/libvorbisfile.so
86%{_libdir}/libvorbisenc.a
87%{_libdir}/libvorbisenc.la
88%{_libdir}/libvorbisenc.so
89%{_libdir}/pkgconfig/vorbis.pc
90%{_libdir}/pkgconfig/vorbisfile.pc
91%{_libdir}/pkgconfig/vorbisenc.pc
92
93%changelog
94* Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
95- autogenerate from configure
96- fix download location
97- remove Prefix
98- own include dir
99- move ldconfig runs to -p scripts
100- change Release tag to include xiph
101
102* Tue Oct 07 2003 Warren Dukes <shank@xiph.org>
103- update for 1.0.1 release
104
105* Sun Jul 14 2002 Thomas Vander Stichele <thomas@apestaart.org>
106- Added BuildRequires:
107- updated for 1.0 release
108
109* Sat May 25 2002 Michael Smith <msmith@icecast.org>
110- Fixed requires, copyright string.
111* Sun Dec 31 2001 Jack Moffitt <jack@xiph.org>
112- Updated for rc3 release.
113
114* Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
115- Updated for configurable prefixes
116
117* Sat Oct 21 2000 Jack Moffitt <jack@icecast.org>
118- initial spec file created
Note: See TracBrowser for help on using the repository browser.