source: spec/trunk/SPECS/libogg.spec@ 1644

Last change on this file since 1644 was 1616, checked in by tellie, 7 years ago

spec: libogg: Release version 1.3.3-3.

File size: 2.3 KB
Line 
1Summary: The Ogg bitstream file format library
2Name: libogg
3Epoch: 2
4Version: 1.3.3
5Release: 3%{?dist}
6License: BSD
7URL: http://www.xiph.org/
8
9#Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz
10%scm_source svn http://svn.netlabs.org/repos/ports/libogg/trunk 2337
11
12BuildRequires: gcc
13
14%description
15Libogg is a library for manipulating Ogg bitstream file formats.
16Libogg supports both making Ogg bitstreams and getting packets from
17Ogg bitstreams.
18
19
20%package devel
21Summary: Files needed for development using libogg
22Requires: libogg = %{epoch}:%{version}-%{release}
23Requires: pkgconfig
24#Requires: automake
25
26
27%description devel
28Libogg is a library used for manipulating Ogg bitstreams. The
29libogg-devel package contains the header files and documentation
30needed for development using libogg.
31
32
33%package devel-docs
34Summary: Documentation for developing Ogg applications
35BuildArch: noarch
36
37
38%description devel-docs
39Documentation for developing applications with libogg
40
41
42%prep
43#%setup -q
44%scm_setup
45autoreconf -fiv
46
47%build
48export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
49export CFLAGS="-DBUILD_SDL"
50export LIBS="-lcx"
51sed -i "s|-O20|$RPM_OPT_FLAGS|" configure
52sed -i "s|-ffast-math||" configure
53
54%configure --disable-static
55make %{?_smp_mflags}
56
57
58%install
59make DESTDIR=$RPM_BUILD_ROOT install
60
61rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
62
63mv $RPM_BUILD_ROOT%{_docdir}/%{name} __installed_docs
64
65
66#%ldconfig_scriptlets
67
68
69%files
70%doc AUTHORS CHANGES COPYING README.md
71%{_libdir}/ogg*.dll
72
73
74%files devel
75%dir %{_includedir}/ogg
76%{_includedir}/ogg/ogg.h
77%{_includedir}/ogg/os_types.h
78%{_includedir}/ogg/config_types.h
79%{_libdir}/pkgconfig/ogg.pc
80%{_libdir}/*.a
81%{_datadir}/aclocal/ogg.m4
82
83
84%files devel-docs
85%doc __installed_docs/*
86
87
88%changelog
89* Thu Mar 05 2019 Elbert Pol <elbert.pol@gmail.com> 1.3.3-3
90- Change to right version
91
92* Mon Mar 04 2019 Elbert Pol <elbert.pol@gmail.com> 1.3.3-2
93- Switch back to Fedora orginal spec file
94
95* Fri Mar 01 2019 Elbert Pol <elbert.pol@gmail.com> 1.3.3-1
96- update to 1.3.3
97
98* Tue Mar 15 2016 Valery V.Sedletski <_valerius@mail.ru> - 1.3.2-1
99- Initial OS/2 packaging
Note: See TracBrowser for help on using the repository browser.