/[smecontribs]/rpms/soxr/contribs9/soxr.spec
ViewVC logotype

Annotation of /rpms/soxr/contribs9/soxr.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Apr 26 01:49:56 2020 UTC (4 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: soxr-0_1_1-3_sdl6
Initial import

1 jpp 1.1 Name: soxr
2     Version: 0.1.1
3     Release: 3%{?dist}
4     Summary: The SoX Resampler library
5    
6     License: LGPLv2+
7     URL: https://sourceforge.net/p/soxr/wiki/Home/
8     Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-Source.tar.xz
9    
10     BuildRequires: cmake
11    
12     %description
13     The SoX Resampler library `libsoxr' performs one-dimensional sample-rate
14     conversion -- it may be used, for example, to resample PCM-encoded audio.
15    
16    
17     %package devel
18     Summary: Development files for %{name}
19     Requires: %{name}%{?_isa} = %{version}-%{release}
20    
21     %description devel
22     The %{name}-devel package contains libraries and header files for
23     developing applications that use %{name}.
24    
25    
26     %prep
27     %setup -q -n %{name}-%{version}-Source
28    
29    
30     %build
31     rm -rf build && mkdir build && pushd build
32     export LDFLAGS="-Wl,--as-needed"
33     %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
34     ../
35     make %{?_smp_mflags}
36    
37    
38     %install
39     pushd build
40     %make_install
41    
42     # Remove docs and use the rpmbuild macro instead
43     rm -rf %{buildroot}%{_docdir}/*
44    
45    
46     %check
47     pushd build
48     LD_LIBRARY_PATH=`pwd`/src make test
49    
50    
51     %post -p /sbin/ldconfig
52    
53     %postun -p /sbin/ldconfig
54    
55    
56     %files
57     %doc LICENCE NEWS README
58     %{_libdir}/*.so.*
59    
60     %files devel
61     %doc examples
62     %{_includedir}/*
63     %{_libdir}/*.so
64     %{_libdir}/pkgconfig/soxr-lsr.pc
65     %{_libdir}/pkgconfig/soxr.pc
66    
67    
68     %changelog
69     * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
70     - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
71    
72     * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
73     - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
74    
75     * Mon Apr 29 2013 Richard Shaw <hobbes1069@gmail.com> - 0.1.1-1
76     - Initial packaging.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed