source: projects/specs/trunk/n/nepomuk-widgets/nepomuk-widgets-vl.spec @ 7728

Revision 7728, 1.9 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.10.5

Line 
1Name:          nepomuk-widgets
2Summary:       Nepomuk Widgets library
3Summary(ja):   Nepomuk widget ライブラリ
4Version:       4.10.5
5Release:       1%{?_dist_release}
6
7License:       GPLv2,LGPLv2
8Group:         User Interface/Desktops
9URL:           http://nepomuk.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:  nepomuk-core-devel >= %{version}
17BuildRequires:  soprano-devel
18
19%description
20The Library containing the Nepomuk Widgets.
21
22
23%package devel
24Summary:  Developer files for %{name}
25Summary(ja): %{name} の開発用ファイル
26Group:    Development/Libraries
27Requires: %{name} = %{version}-%{release}
28Requires: nepomuk-core-devel >= %{version}-%{release}
29
30%description devel
31%{summary}.
32
33%description -l ja devel
34%{name} の開発用ファイルです.
35
36
37%prep
38%setup -q
39
40%build
41mkdir -p %{_target_platform}
42pushd %{_target_platform}
43%cmake \
44    -DCMAKE_BUILD_TYPE=release \
45    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
46    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
47    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
48    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
49    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
50    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
51    ..
52popd
53
54make %{?_smp_mflags} -C %{_target_platform}
55
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
61
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66
67%post -p /sbin/ldconfig
68%postun -p /sbin/ldconfig
69
70
71%files
72%defattr(-,root,root,-)
73%doc COPYING COPYING.LIB COPYING.README
74%{_libdir}/libnepomukwidgets.so.*
75
76%files devel
77%defattr(-,root,root,-)
78%{_includedir}/kde4/nepomuk2
79%{_libdir}/libnepomukwidgets.so
80%{_libdir}/cmake/NepomukWidgets
81
82
83%changelog
84* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
85- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.