]> git.pld-linux.org Git - SPECS.git/blob - ocp.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / ocp.spec
1 Summary:        A console music player
2 Summary(pl.UTF-8):      Konsolowy odtwarzacz muzyczny
3 Name:           ocp
4 Version:        0.1.20
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Sound
8 Source0:        http://stian.cubic.org/ocp/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f34eca80239e619bff0593b8bf665f98
10 Patch0:         %{name}-ini_file.patch
11 Patch1:         %{name}-desktop.patch
12 Patch2:         %{name}-Makefile.patch
13 Patch3:         %{name}-link.patch
14 URL:            http://stian.cubic.org/project-ocp.php
15 BuildRequires:  SDL-devel
16 BuildRequires:  adplug-devel
17 BuildRequires:  alsa-lib-devel
18 BuildRequires:  desktop-file-utils
19 BuildRequires:  flac-devel
20 BuildRequires:  libid3tag-devel
21 BuildRequires:  libmad-devel
22 BuildRequires:  libogg-devel
23 BuildRequires:  libsidplay-devel
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  libvorbis-devel
26 BuildRequires:  ncurses-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  sed >= 4.0
29 BuildRequires:  texinfo
30 BuildRequires:  xorg-lib-libXext-devel
31 BuildRequires:  xorg-lib-libXpm-devel
32 BuildRequires:  xorg-lib-libXxf86vm-devel
33 BuildRequires:  zlib-devel
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Open Cubic Player is a music player which can play a wide variety of
38 music formats.
39
40 %description -l pl.UTF-8
41 Open Cubic Player jest odtwarzaczem muzycznym, który potrafi odtwarzać
42 szeroką gamę formatów muzyki.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49 %patch3 -p1
50
51 %{__sed} -i 's,curses\.h,ncurses/curses\.h,' \
52         configure playsid/sidpplay.cpp
53
54 %build
55 %configure \
56         --with-dir-suffix="" \
57         CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
58 %{__make} -j1
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -j1 install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ocp.ini
72 %doc AUTHORS CREDITS Changelog README.Darwin SUID TODO doc/*
73 %attr(755,root,root) %{_bindir}/ocp*
74 %dir %{_datadir}/%{name}
75 %{_datadir}/%{name}/data
76 %{_desktopdir}/opencubicplayer.desktop
77 %dir %{_libdir}/%{name}/autoload
78 %{_libdir}/%{name}/autoload/*.so
79 %dir %{_libdir}/%{name}
80 %{_libdir}/%{name}/*.so
81 %{_pixmapsdir}/opencubicplayer.xpm
This page took 0.217625 seconds and 3 git commands to generate.