]> git.pld-linux.org Git - packages/adplug.git/blob - adplug.spec
- new
[packages/adplug.git] / adplug.spec
1 #
2 # TODO:
3 # - proper Group
4 #
5 Summary:        AdLib sound player library
6 Name:           adplug
7 Version:        1.5
8 Release:        1
9 License:        LGPL
10 Group:          Libraries
11 Source0:        http://dl.sourceforge.net/adplug/%{name}-%{version}.tar.bz2
12 # Source0-md5:  376f23f5e50ef47435c7f6e7c5319429
13 URL:            http://adplug.sourceforge.net/
14 BuildRequires:  libbinio-devel >= 1.1
15 BuildRequires:  libbinio-static >= 1.1
16 Requires:       libbinio >= 1.1
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 AdPlug is a free, multi-platform, hardware independent AdLib sound player
21 library, mainly written in C++. AdPlug plays sound data, originally created
22 for the AdLib (OPL2) audio board, on top of an OPL2 emulator or by using the
23 real hardware. No OPL2 chip is required for playback.
24
25 %package devel
26 Summary:        Development libraries and header files for termcap library
27 Group:          Development/Libraries
28
29 %description devel
30 This is the package containing the development libaries and header
31 files for adplug.
32
33 %description -l pl
34 Ten apkiet zawiera biblioteki deweloperskie i pliki nag³ówkowe dla adplug.
35
36 %package static
37 Summary:        Static adplug library
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{version}
40
41 %description static
42 Static adplug library.
43
44 %description -l pl
45 Statyczna biblioteka dla adplug.
46
47 %prep
48 %setup -q
49
50 %build
51 %configure 
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README TODO
66 %attr(755,root,root) %{_bindir}/*
67 %{_libdir}/*.so*
68 %{_infodir}/*
69 %{_mandir}/man1/*
70
71 %files devel
72 %defattr(644,root,root,755)
73 %{_includedir}/%{name}/*.h
74
75 %files static
76 %defattr(644,root,root,755)
77 %{_libdir}/*.a
This page took 0.0371 seconds and 3 git commands to generate.