- x32 rebuild
[packages/kde4-nepomuk-core.git] / kde4-nepomuk-core.spec
1 # $Revision:$, $Date:$
2 %define         _state          stable
3 %define         orgname         nepomuk-core
4 %define         qtver           4.8.3
5
6 Summary:        Nepomuk Core utilities and libraries
7 Name:           kde4-nepomuk-core
8 Version:        4.14.3
9 Release:        2
10 License:        LGPLv2 or LGPLv3
11 Group:          X11/Applications
12 URL:            http://www.kde.org/
13 Source0:        http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
14 # Source0-md5:  8c25048fce09e23469b2fb149331a58a
15 BuildRequires:  QtCore-devel >= %{qtver}
16 BuildRequires:  acl-devel
17 BuildRequires:  attr-devel
18 BuildRequires:  doxygen
19 BuildRequires:  ebook-tools-devel
20 BuildRequires:  exiv2-devel
21 BuildRequires:  ffmpeg-devel
22 BuildRequires:  kde4-baloo-devel >= %{version}
23 BuildRequires:  kde4-kdegraphics-mobipocket-devel >= %{version}
24 BuildRequires:  kde4-kdelibs-devel >= %{version}
25 BuildRequires:  kde4-kfilemetadata-devel >= %{version}
26 BuildRequires:  libdbusmenu-qt-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  poppler-qt4-devel
29 BuildRequires:  qca-devel
30 BuildRequires:  shared-desktop-ontologies => 0.11.0
31 BuildRequires:  soprano-devel => 2.9.3
32 BuildRequires:  strigi-devel
33 BuildRequires:  taglib-devel
34 BuildRequires:  zlib-devel
35 Requires:       QtCore >= %{qtver}
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Nepomuk Core utilities.
40
41 %package devel
42 Summary:        Developer files for %{name}
43 Group:          X11/Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45
46 %description devel
47 Nepomuk Core development files and libraries.
48
49 %prep
50 %setup -q -n %{orgname}-%{version}
51
52 %build
53 install -d build
54 cd build
55 %cmake \
56                 -DHTML_INSTALL_DIR=%{_kdedocdir} \
57                 -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \
58                 -DKDE4_ENABLE_FINAL=OFF \
59                 ../
60
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} -C build install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/nepomuk2-rcgen
78 %attr(755,root,root) %{_bindir}/nepomukbackup
79 %attr(755,root,root) %{_bindir}/nepomukbaloomigrator
80 %attr(755,root,root) %{_bindir}/nepomukcleaner
81 %attr(755,root,root) %{_bindir}/nepomukcmd
82 %attr(755,root,root) %{_bindir}/nepomukctl
83 %attr(755,root,root) %{_bindir}/nepomukfileindexer
84 %attr(755,root,root) %{_bindir}/nepomukfilewatch
85 %attr(755,root,root) %{_bindir}/nepomukindexer
86 %attr(755,root,root) %{_bindir}/nepomukmigrator
87 %attr(755,root,root) %{_bindir}/nepomuksearch
88 %attr(755,root,root) %{_bindir}/nepomukserver
89 %attr(755,root,root) %{_bindir}/nepomukservicestub
90 %attr(755,root,root) %{_bindir}/nepomukshow
91 %attr(755,root,root) %{_bindir}/nepomuk-simpleresource-rcgen
92 %attr(755,root,root) %{_bindir}/nepomukstorage
93 %attr(755,root,root) %{_libdir}/kde4/libexec/kde_nepomuk_filewatch_raiselimit
94 %attr(755,root,root) %{_libdir}/kde4/nepomukepubextractor.so
95 %attr(755,root,root) %{_libdir}/kde4/nepomukexiv2extractor.so
96 %attr(755,root,root) %{_libdir}/kde4/nepomukffmpegextractor.so
97 %attr(755,root,root) %{_libdir}/kde4/nepomukmobiextractor.so
98 %attr(755,root,root) %{_libdir}/kde4/nepomukodfextractor.so
99 %attr(755,root,root) %{_libdir}/kde4/nepomukoffice2007extractor.so
100 %attr(755,root,root) %{_libdir}/kde4/nepomukofficeextractor.so
101 %attr(755,root,root) %{_libdir}/kde4/nepomukplaintextextractor.so
102 %attr(755,root,root) %{_libdir}/kde4/nepomukpopplerextractor.so
103 %attr(755,root,root) %{_libdir}/kde4/nepomuktaglibextractor.so
104 %attr(755,root,root) %{_libdir}/libkdeinit4_nepomukserver.so
105 %attr(755,root,root) %{_libdir}/libnepomukcommon.so
106 %attr(755,root,root) %{_libdir}/libnepomukextractor.so
107 %attr(755,root,root) %{_libdir}/libnepomukcore.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/libnepomukcore.so.?
109 %attr(755,root,root) %{_libdir}/libnepomukcleaner.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libnepomukcleaner.so.?
111 %{_desktopdir}/kde4/nepomukbackup.desktop
112 %{_desktopdir}/kde4/nepomukcleaner.desktop
113 %{_datadir}/apps/fileindexerservice
114 %{_datadir}/apps/nepomukfilewatch
115 %{_datadir}/apps/nepomukstorage
116 %{_datadir}/autostart/nepomukserver.desktop
117 %{_datadir}/autostart/nepomukbaloomigrator.desktop
118 %{_datadir}/dbus-1/interfaces/org.kde.NepomukServer.xml
119 %{_datadir}/dbus-1/interfaces/org.kde.nepomuk.*.xml
120 %{_datadir}/dbus-1/system-services/org.kde.nepomuk.filewatch.service
121 %{_datadir}/kde4/services/nepomuk*.desktop
122 %{_datadir}/kde4/servicetypes/nepomukcleaningjob.desktop
123 %{_datadir}/kde4/servicetypes/nepomukextractor.desktop
124 %{_datadir}/kde4/servicetypes/nepomukservice2.desktop
125 %{_datadir}/kde4/servicetypes/nepomukservice.desktop
126 %{_datadir}/ontology/kde/*.ontology
127 %{_datadir}/ontology/kde/*.trig
128 %{_datadir}/polkit-1/actions/org.kde.nepomuk.filewatch.policy
129 /etc/dbus-1/system.d/org.kde.nepomuk.filewatch.conf
130
131
132 %files devel
133 %defattr(644,root,root,755)
134 %{_includedir}/Nepomuk2
135 %{_includedir}/nepomuk2
136 %{_libdir}/cmake/NepomukCore
137 %attr(755,root,root) %{_libdir}/libnepomukcore.so
138 %attr(755,root,root) %{_libdir}/libnepomukcleaner.so
This page took 0.103245 seconds and 3 git commands to generate.