-
Notifications
You must be signed in to change notification settings - Fork 1
/
liboggz.spec
120 lines (92 loc) · 3.34 KB
/
liboggz.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
Name: liboggz
Version: 0.9.7
Release: 1%{?dist}
Summary: Simple programming interface for Ogg files and streams
Group: System Environment/Libraries
License: BSD
URL: http://www.annodex.net/
Source: http://www.annodex.net/software/liboggz/download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libogg-devel >= 1.0
BuildRequires: doxygen
BuildRequires: docbook-utils
# libtool
BuildRequires: gcc-c++
%description
Oggz provides a simple programming interface for reading and writing Ogg files
and streams. Ogg is an interleaving data container developed by Monty at
Xiph.Org, originally to support the Ogg Vorbis audio format.
%package devel
Summary: Files needed for development using liboggz
Group: Development/Libraries
Requires: liboggz = %{version}
Requires: libogg-devel >= 1.0
Requires: pkgconfig
%description devel
Oggz provides a simple programming interface for reading and writing Ogg files
and streams. Ogg is an interleaving data container developed by Monty at
Xiph.Org, originally to support the Ogg Vorbis audio format.
This package contains the header files and documentation needed for
development using liboggz.
%prep
%setup -q -n %{name}-%{version}
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall docdir=$RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel-%{version}
# remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
# not particularly interested in the tex docs, the html version has everything
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel-%{version}/latex
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README
# 0 length NEWS file
# %doc NEWS
%{_libdir}/liboggz.so.*
%{_mandir}/man1/*
%{_bindir}/oggz*
%files devel
%defattr(-,root,root)
%{_includedir}/oggz
%{_libdir}/liboggz.so
%{_libdir}/liboggz.a
%{_libdir}/pkgconfig/oggz.pc
%doc %{_docdir}/%{name}-devel-%{version}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Sun Sep 21 2008 David Hrbáč <[email protected]> - 0.9.7-1
- new upstream version
* Sat Sep 20 2008 David Hrbáč <[email protected]> - 0.9.5-2
- initial rebuild
* Wed Feb 20 2008 Fedora Release Engineering <[email protected]> - 0.9.5-2
- Autorebuild for GCC 4.3
* Fri Jan 12 2007 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.5-1
- new upstream release
* Thu Oct 05 2006 Christian Iseli <[email protected]> 0.9.4-3
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
* Wed Sep 20 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.4-2
- rebuilt
* Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.4-1
- new upstream release
- removed patch, was applied upstream
* Sat Nov 12 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.3-1
- new upstream release
* Mon Jul 18 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.2-1
- new upstream version
- removed patches
- moved devel docs to versioned location
* Mon Jun 13 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.1-2: rpmlint cleanup
* Fri Jun 03 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.9.1-1: initial package