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