]> git.pld-linux.org Git - SPECS.git/blob - xfmedia.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / xfmedia.spec
1 # dead, Obsoleted by parole
2 #
3 # Conditional build:
4 %bcond_without  dbus    # build without dbus support
5 #
6 Summary:        Xfmedia - lightweight media player based on the xine engine
7 Summary(pl.UTF-8):      Xfmedia - lekki odtwarzacz multimedialny oparty na silniku xine
8 Name:           xfmedia
9 Version:        0.9.2
10 Release:        13.1
11 License:        GPL v2
12 Group:          X11/Applications/Multimedia
13 Source0:        http://spuriousinterrupt.org/projects/xfmedia/files/%{name}-%{version}.tar.bz2
14 # Source0-md5:  6eb8bd1f67201f829e0f45e733c02bd5
15 Patch0:         %{name}-desktop.patch
16 Patch1:         %{name}-exo-1.patch
17 Patch2:         %{name}-ui.patch
18 Patch3:         %{name}-xine-1.2.0.patch
19 URL:            https://www.spurint.org/projects/xfmedia/
20 BuildRequires:  autoconf >= 2.50
21 BuildRequires:  automake >= 1:1.8
22 %{?with_dbus:BuildRequires:     dbus-glib-devel >= 0.31}
23 BuildRequires:  exo-devel >= 0.6.0
24 BuildRequires:  gtk+2-devel >= 2:2.6.0
25 BuildRequires:  intltool
26 BuildRequires:  libtool
27 BuildRequires:  libxfce4util-devel >= 4.2.0
28 BuildRequires:  libxfce4ui-devel >= 4.8.0
29 BuildRequires:  libwnck2-devel >= 2.22
30 BuildRequires:  rpmbuild(macros) >= 1.311
31 BuildRequires:  startup-notification-devel >= 0.5
32 BuildRequires:  taglib-devel
33 BuildRequires:  xfce4-dev-tools >= 4.3.90.2
34 BuildRequires:  xine-lib-devel
35 BuildRequires:  xorg-lib-libXScrnSaver-devel
36 Requires(post,postun):  gtk-update-icon-cache
37 Requires(post,postun):  hicolor-icon-theme
38 Requires:       exo >= 0.6.0
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 Xfmedia is a lightweight media player based on the xine engine. The
43 GTK+ GUI focuses on playing and managing audio files, but, being based
44 on xine, supports video as well.
45
46 %description -l pl.UTF-8
47 Xfmedia jest lekkim odtwarzaczem multimedialnym opartym o silnik xine.
48 Interfejs GTK+ skupia się na zarządzaniu i odtwarzaniu plików audio,
49 ale, jako że jest oparty na xine, obsługuje również pliki wideo.
50
51 %package plugins
52 Summary:        Xfmedia plugins
53 Summary(pl.UTF-8):      Wtyczki dla Xfmedia
54 Group:          X11/Applications/Multimedia
55 Requires:       %{name} = %{version}-%{release}
56
57 %description plugins
58 Xfmedia plugins:
59 - infopipe
60
61 %description plugins -l pl.UTF-8
62 Wtyczki dla Xfmedia:
63 - infopipe
64
65 %package devel
66 Summary:        Header files for Xfmedia
67 Summary(pl.UTF-8):      Pliki nagłówkowe Xfmedia
68 Group:          X11/Development/Libraries
69 Requires:       %{name} = %{version}-%{release}
70
71 %description devel
72 Xfmedia - header files.
73
74 %description devel -l pl.UTF-8
75 Xfmedia - pliki nagłówkowe.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81 %patch2 -p1
82 %patch3 -p1
83
84 %build
85 %{__intltoolize}
86 %{__libtoolize}
87 %{__aclocal}
88 %{__autoconf}
89 %{__autoheader}
90 %{__automake}
91 %configure \
92         --disable-static \
93         --%{?with_dbus:en}%{!?with_dbus:dis}able-dbus \
94         --enable-startup-notification \
95         --with-taglib \
96         --x-includes=%{_includedir}/xorg \
97         --x-libraries=%{_prefix}/lib/X11
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 rm -f $RPM_BUILD_ROOT%{_libdir}/xfmedia/plugins/xfmedia-infopipe.la
108
109 %find_lang %{name}
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post
115 %update_icon_cache hicolor
116
117 %postun
118 %update_icon_cache hicolor
119
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README* TODO
123 %dir %{_sysconfdir}/xdg/%{name}
124 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/%{name}/*
125 %attr(755,root,root) %{_bindir}/*
126 %dir %{_libdir}/%{name}
127 %dir %{_libdir}/%{name}/plugins
128 %{_iconsdir}/hicolor/48x48/apps/*
129 %{_iconsdir}/hicolor/22x22/actions/*
130 %{_desktopdir}/*.desktop
131 %dir %{_datadir}/%{name}
132 %dir %{_datadir}/%{name}/doc
133 %{_datadir}/%{name}/doc/xfce.css
134 %dir %{_datadir}/%{name}/doc/C/
135 %{_datadir}/%{name}/doc/C/*
136
137 %files plugins
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
140
141 %files devel
142 %defattr(644,root,root,755)
143 %{_includedir}/%{name}
144 %{_pkgconfigdir}/*.pc
This page took 0.136976 seconds and 3 git commands to generate.