]> git.pld-linux.org Git - packages/adplug.git/blob - adplug.spec
- up to 1.5.1
[packages/adplug.git] / adplug.spec
1 #
2 # TODO:
3 # - why libbinio-static?
4 #
5 Summary:        AdLib sound player library
6 Summary(pl):    Biblioteka odtwarzacza d¼wiêku AdLib
7 Name:           adplug
8 Version:        1.5.1
9 Release:        1
10 License:        LGPL
11 Group:          Libraries
12 Source0:        http://dl.sourceforge.net/adplug/%{name}-%{version}.tar.bz2
13 # Source0-md5:  95d62805cff551bed84298e737a26df9
14 URL:            http://adplug.sourceforge.net/
15 BuildRequires:  libbinio-devel >= 1.1
16 BuildRequires:  libbinio-static >= 1.1
17 Requires:       libbinio >= 1.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 AdPlug is a free, multi-platform, hardware independent AdLib sound
22 player library, mainly written in C++. AdPlug plays sound data,
23 originally created for the AdLib (OPL2) audio board, on top of an OPL2
24 emulator or by using the real hardware. No OPL2 chip is required for
25 playback.
26
27 %description -l pl
28 AdPlug to wolnodostêpna, wieloplatformowa, niezale¿na od sprzêtu
29 biblioteka odtwarzacza d¼wiêku AdLib, napisana g³ównie w C++. AdPlug
30 odtwarza dane d¼wiêkowe stworzone pierwotnie dla karty d¼wiêkowej
31 AdLib (OPL2) przy u¿yciu emulatora OPL2 lub prawdziwego sprzêtu. Do
32 odtwarzania nie jest wymagany uk³ad OPL2.
33
34 %package devel
35 Summary:        Header files for AdPlug library
36 Summary(pl):    Pliki nag³ówkowe biblioteki AdPlug.
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}-%{release}
39
40 %description devel
41 This is the package containing the header files for AdPlug library.
42
43 %description devel -l pl
44 Ten pakiet zawiera pliki nag³ówkowe biblioteki AdPlug.
45
46 %package static
47 Summary:        Static AdPlug library
48 Summary(pl):    Statyczna biblioteka AdPlug
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 Static AdPlug library.
54
55 %description static -l pl
56 Statyczna biblioteka AdPlug.
57
58 %prep
59 %setup -q
60
61 %build
62 %configure 
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS ChangeLog NEWS README TODO
80 %attr(755,root,root) %{_bindir}/*
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
82 %{_infodir}/*.info*
83 %{_mandir}/man1/*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %{_libdir}/lib*.la
89 %{_includedir}/%{name}
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/lib*.a
This page took 0.051195 seconds and 4 git commands to generate.