]> git.pld-linux.org Git - packages/libxmp.git/blame - libxmp.spec
- updated to 4.6.0
[packages/libxmp.git] / libxmp.spec
CommitLineData
db0180ce
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: Extended Module Player library
6Summary(pl.UTF-8): Biblioteka XMP (Extended Module Player)
7Name: libxmp
4e8e2583 8Version: 4.6.0
db0180ce
JB
9Release: 1
10License: LGPL v2.1+
11Group: Libraries
54122d8c 12Source0: https://downloads.sourceforge.net/xmp/%{name}-%{version}.tar.gz
4e8e2583
JB
13# Source0-md5: fe12066dab71bc8656e6dd5985760b0c
14URL: https://xmp.sourceforge.net/
db0180ce
JB
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Libxmp is a library that renders module files to PCM data. It supports
19over 90 mainstream and obscure module formats including Protracker
20(MOD), Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse
21Tracker (IT).
22
23%description -l pl.UTF-8
24Libxmp to biblioteka przetwarzająca pliki modułów dźwiękowych na dane
25PCM. Obsługuje ponad 90 głównych i mniej znanych formatów, w tym:
26Protracker (MOD), Scream Tracker 3 (S3M), Fast Tracker II (XM) oraz
27Impulse Tracker (IT).
28
29%package devel
30Summary: Header files for XMP library
31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki XMP
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36Header files for XMP library.
37
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki XMP.
40
41%package static
42Summary: Static XMP library
43Summary(pl.UTF-8): Statyczna biblioteka XMP
44Group: Development/Libraries
45Requires: %{name}-devel = %{version}-%{release}
46
47%description static
48Static XMP library.
49
50%description static -l pl.UTF-8
51Statyczna biblioteka XMP.
52
53%prep
54%setup -q
55
56%build
57%configure \
58 %{?with_static_libs:--enable-static}
59%{__make} \
60 V=1
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
67
4e8e2583 68# omitted from install target
db0180ce
JB
69%{__make} install-docs \
70 DESTDIR=$RPM_BUILD_ROOT \
db0180ce
JB
71 INSTALL_DATA="cp -p"
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post -p /sbin/ldconfig
77%postun -p /sbin/ldconfig
78
79%files
80%defattr(644,root,root,755)
81%doc README docs/{CREDITS,Changelog,fixloop.txt,formats.txt}
82%attr(755,root,root) %{_libdir}/libxmp.so.*.*.*
83%attr(755,root,root) %ghost %{_libdir}/libxmp.so.4
84
85%files devel
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_libdir}/libxmp.so
88%{_includedir}/xmp.h
89%{_pkgconfigdir}/libxmp.pc
4e8e2583 90%{_libdir}/cmake/libxmp
db0180ce
JB
91%{_mandir}/man3/libxmp.3*
92
93%if %{with static_libs}
94%files static
95%defattr(644,root,root,755)
96%{_libdir}/libxmp.a
97%endif
This page took 0.137562 seconds and 4 git commands to generate.