source: projects/specs/trunk/k/kcharselect/kcharselect-vl.spec @ 9222

Revision 9222, 1.6 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name:    kcharselect
2Summary: Character slector for KDE
3Summary(ja): KDE用文字セレクター
4Version: 4.14.3
5Release: 1%{?_dist_release}
6
7License: GPLv2
8Group:   Applications/Accessories
9URL:     https://www.kde.org/
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs-devel >= %{version}
16BuildRequires: soprano-devel
17
18# when split occurred
19Conflicts: kdeutils < 4.8.0
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25KCharSelect is a tool to select special characters from all installed
26fonts and copy them in didifferent format (Plain text, Unicode or HTML)
27into the clipboard.
28
29
30%prep
31%setup -q
32
33
34%build
35mkdir -p %{_target_platform}
36pushd %{_target_platform}
37%cmake \
38    -DCMAKE_BUILD_TYPE=release \
39    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
40    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
41    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
42    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
43    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
44    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
45    ..
46popd
47
48make %{?_smp_mflags} -C %{_target_platform}
49
50
51%install
52rm -rf %{buildroot}
53
54make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
55
56
57%posttrans
58update-desktop-database -q &> /dev/null ||:
59
60%postun
61if [ $1 -eq 0 ] ; then
62  update-desktop-database -q &> /dev/null ||:
63fi
64
65
66%files
67%doc COPYING COPYING.LIB
68%{_bindir}/%{name}
69%{_datadir}/applications/kde4/KCharSelect.desktop
70%{_datadir}/kde4/apps/%{name}
71%{_docdir}/HTML/en/%{name}
72
73%changelog
74* Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
75- initila build
Note: See TracBrowser for help on using the repository browser.