source: projects/specs/trunk/k/kio_gopher/kio_gopher-vl.spec @ 10763

Revision 10763, 2.0 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:           kio_gopher
2Summary:        Gopher KIO slave for Konqueror
3Version:        0.1.4
4Release:        2%{?_dist_release}
5
6Group:          System Environment/Libraries
7License:        GPLv2+
8URL:            http://kgopher.berlios.de/
9
10Source0:        http://ftp.kde.org/pub/kde/stable/extragear/kio-gopher-%{version}.tar.bz2
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  kdelibs4-devel >= 4.3.80
14BuildRequires:  cmake
15BuildRequires:  gettext
16
17#{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
18
19%description
20This KIO slave adds support for the Gopher protocol to Konqueror.
21
22
23%prep
24%setup -q -n kio-gopher-%{version}
25
26%build
27mkdir -p %{_target_platform}
28pushd %{_target_platform}
29%{cmake} \
30    -DCMAKE_BUILD_TYPE=release \
31    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
32    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
33    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
34    ..
35popd
36
37make %{?_smp_mflags} -C %{_target_platform}
38
39
40%install
41rm -rf %{buildroot}
42mkdir %{buildroot}
43make install DESTDIR=%{buildroot} -C %{_target_platform}
44
45rm -rf %{buildroot}%{_docdir}/HTML
46
47%find_lang kio_gopher
48
49
50%clean
51rm -rf %{buildroot}
52
53
54%files -f kio_gopher.lang
55%defattr(-,root,root,-)
56%doc README COPYING BUGS
57# FAQ is only about installation problems which shouldn't affect the RPM.
58%{_libdir}/kde4/kio_gopher.so
59%{_datadir}/kde4/services/gopher.protocol
60
61
62%changelog
63* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.1.4-2
64- rebuild with gcc-5.4.0
65
66* Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.4-1
67- updated to 0.1.4
68
69* Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.3-4
70- Initial build for Vine Linux
71
72* Sat Feb 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-3
73- new tarball from 4.4.0 extragear, contains updates translations
74
75* Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-2
76- drop postfix tag from Release
77
78* Tue Sep 15 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-1.kde4.3.1
79- Initial Fedora package
Note: See TracBrowser for help on using the repository browser.