1 | Name: kget |
---|
2 | Summary: Downloader manager for KDE |
---|
3 | Summary(ja): KDE 用ダウンロードマネージャー |
---|
4 | Version: 4.12.5 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2, LGPLv2 |
---|
8 | Group: Applications/Internet |
---|
9 | URL: http://www.kde.org/ |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: desktop-file-utils |
---|
16 | BuildRequires: kdelibs-devel >= %{version} |
---|
17 | BuildRequires: kdebase-workspace-devel >= 4.11.6 |
---|
18 | BuildRequires: kdebase-devel >= %{version} |
---|
19 | BuildRequires: nepomuk-core >= %{version} |
---|
20 | BuildRequires: nepomuk-core-devel >= %{version} |
---|
21 | BuildRequires: nepomuk-widgets-devel >= %{version} |
---|
22 | BuildRequires: sqlite3-devel |
---|
23 | BuildRequires: qca2-devel |
---|
24 | BuildRequires: soprano-devel |
---|
25 | BuildRequires: libktorrent-devel |
---|
26 | |
---|
27 | Requires(posttrans,postun): desktop-file-utils |
---|
28 | |
---|
29 | Vendor: Project Vine |
---|
30 | Distribution: Vine Linux |
---|
31 | Packager: Takemikaduchi |
---|
32 | |
---|
33 | |
---|
34 | %description |
---|
35 | kget is the download manager for KDE. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | %build |
---|
42 | mkdir -p %{_target_platform} |
---|
43 | pushd %{_target_platform} |
---|
44 | %cmake \ |
---|
45 | -DCMAKE_BUILD_TYPE=release \ |
---|
46 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
47 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
48 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
49 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
50 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
51 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
52 | .. |
---|
53 | popd |
---|
54 | |
---|
55 | make %{?_smp_mflags} -C %{_target_platform} |
---|
56 | |
---|
57 | |
---|
58 | %install |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
61 | |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | |
---|
66 | %post |
---|
67 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
68 | |
---|
69 | %posttrans |
---|
70 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
71 | update-desktop-database -q &> /dev/null ||: |
---|
72 | |
---|
73 | %postun |
---|
74 | if [ $1 -eq 0 ] ; then |
---|
75 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
76 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
77 | update-desktop-database -q &> /dev/null ||: |
---|
78 | fi |
---|
79 | |
---|
80 | |
---|
81 | %files |
---|
82 | %defattr(-,root,root) |
---|
83 | %doc AUTHORS COPYING COPYING.DOC COPYING.LIB |
---|
84 | %{_bindir}/%{name} |
---|
85 | %{_libdir}/libkgetcore.so* |
---|
86 | %{_libdir}/kde4/*.so |
---|
87 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
88 | %{_datadir}/config.kcfg/* |
---|
89 | %{_datadir}/dbus-1/services/org.kde.%{name}.service |
---|
90 | %{_datadir}/icons/hicolor/*/*/* |
---|
91 | %{_datadir}/kde4/apps/dolphinpart/kpartplugins/kget_plug_in.* |
---|
92 | %{_datadir}/kde4/apps/kconf_update/* |
---|
93 | %{_datadir}/kde4/apps/%{name} |
---|
94 | %{_datadir}/kde4/apps/khtml/kpartplugins/kget_plug_in.* |
---|
95 | %{_datadir}/kde4/apps/kwebkitpart/kpartplugins/kget_plug_in.* |
---|
96 | %{_datadir}/kde4/services/ServiceMenus/kget_download.desktop |
---|
97 | %{_datadir}/kde4/services/*.desktop |
---|
98 | %{_datadir}/kde4/servicetypes/kget_plugin.desktop |
---|
99 | %{_datadir}/ontology/kde/kget_history.* |
---|
100 | %{_docdir}/HTML/en/* |
---|
101 | |
---|
102 | |
---|
103 | %changelog |
---|
104 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
114 | - initial build |
---|
115 | |
---|