source: projects/specs/trunk/k/kio-upnp-ms/kio-upnp-ms-vl.spec @ 9328

Revision 9328, 3.5 KB checked in by inagaki, 9 years ago (diff)

2015-02-04 Ryoichi INAGAKI <ryo1@…>

  • MySQL-python, kio-upnp-ms, kio_mtp, python-oauth python-urlgrabber: new package
  • amarok: updated


Line 
1%define snap 20111102git
2
3Name:    kio-upnp-ms
4Version: 1.0.0
5Release: 7.%{snap}%{?_dist_release}
6Summary: UPnP mediaserver kio slave
7
8License: GPLv2+
9Group:   System Environment/Libraries
10URL:     https://projects.kde.org/projects/playground/base/kio-upnp-ms
11# git clone git://anongit.kde.org/kio-upnp-ms
12# git archive --prefix=kio-upnp-ms-%{version}/ master | gzip > ../kio-upnp-ms-%{version}-%{snap}.tar.gz
13%if 0%{?snap:1}
14Source0: kio-upnp-ms-%{version}-%{snap}.tar.gz
15%else
16Source0: http://download.kde.org/stable/kio-upnp-ms/%{version}/src/kio-upnp-ms-%{version}.tar.gz
17%endif
18
19Source1: SOLID_UPNP.sh
20
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22BuildRequires: kdelibs4-devel
23BuildRequires: herqq-devel
24
25# apparently requires both cagibi and SOLID_UPNP backend, the latter is disabled
26# by default due to #754530, #758008, kde#259472
27Requires: cagibi
28
29%description
30This is the UPnP MediaServer KIO-slave for the KDE platform. It supports both
31browse and search based MediaServers and is able to perform various tasks on
32them, including running queries, listing directories and files and allowing
33KDE based applications transparent access to them. Being used for Amarok UPnP
34support, the slave features many developer friendly features which allow
35faster speed or easier handling while compromising on user-friendliness when
36used “under the hood”.
37
38Functionality requires some user-intervention to re-enable the SOLID_UPNP
39backend, which is disabled by default due to many crashes ( see
40https://bugs.kde.org/show_bug.cgi?id=259472 ). To re-enable, set
41SOLID_UPNP=1 environment variable, or copy the sample SOLID_UPNP.sh to
42$HOME/.kde/env/
43to do it for you.
44
45
46%prep
47%setup -q
48
49install -m644 %{SOURCE1} .
50
51
52%build
53mkdir -p %{_target_platform}
54pushd %{_target_platform}
55%cmake \
56    -DCMAKE_BUILD_TYPE=release \
57    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
58    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
59    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
60    ..
61popd
62
63make %{?_smp_mflags} -C %{_target_platform}
64
65
66%install
67rm -rf %{buildroot}
68make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
69
70# remove unnecessary files
71rm -fv %{buildroot}%{_includedir}/kde4/kio/upnp-ms-types.h
72rm -f %{buildroot}%{_bindir}/recursive_upnp
73rm -f %{buildroot}%{_bindir}/stattest
74rm -f %{buildroot}%{_bindir}/upnpmstest
75
76%clean
77rm -rf %{buildroot}
78
79
80%files
81%doc COPYING README* TODO
82%doc SOLID_UPNP.sh
83%{_libdir}/kde4/kio_upnp_ms.so
84%{_datadir}/kde4/services/kio_upnp_ms.protocol
85
86
87%changelog
88* Wed Feb  4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.0.0-7.20111102git
89- Initial build for Vine Linux
90
91* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-6.20111102git
92- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
93
94* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-5.20111102git
95- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
96
97* Wed Aug 07 2013 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-4.20111102git
98- don't directly reference %%docdir in %%description (#993814)
99
100* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3.20111102git
101- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
102
103* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2.20111102git
104- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
105
106* Fri Sep 14 2012 Rex Dieter <rdieter@fedoraproject.org>  1.0.0-1.20111102git
107- 20111102 git snapshot
108
109* Thu Apr 19 2012 Rex Dieter <rdieter@fedoraproject.org> 0.8.0-1
110- 0.8.0
Note: See TracBrowser for help on using the repository browser.