|
a/packaging/rpm/recoll.spec |
|
b/packaging/rpm/recoll.spec |
1 |
%define name recoll
|
1 |
%define name recoll
|
2 |
%define version 1.17.2
|
2 |
%define version 3152
|
3 |
%define release 0
|
3 |
%define release 0
|
4 |
|
4 |
|
5 |
Name: %{name}
|
5 |
Name: %{name}
|
6 |
Version: %{version}
|
6 |
Version: %{version}
|
7 |
Release: %{release}
|
7 |
Release: %{release}
|
|
... |
|
... |
38 |
# ---------------------------------------------------------------------------
|
38 |
# ---------------------------------------------------------------------------
|
39 |
|
39 |
|
40 |
%install
|
40 |
%install
|
41 |
rm -rf $RPM_BUILD_ROOT
|
41 |
rm -rf $RPM_BUILD_ROOT
|
42 |
%makeinstall
|
42 |
%makeinstall
|
|
|
43 |
%{__chmod} 0755 $RPM_BUILD_ROOT/%{_libdir}/%{name}/lib%{name}.so.%{version}
|
43 |
|
44 |
|
44 |
# ---------------------------------------------------------------------------
|
45 |
# ---------------------------------------------------------------------------
|
45 |
|
46 |
|
46 |
%clean
|
47 |
%clean
|
47 |
rm -rf $RPM_BUILD_ROOT
|
48 |
rm -rf $RPM_BUILD_ROOT
|
|
... |
|
... |
50 |
|
51 |
|
51 |
%files
|
52 |
%files
|
52 |
%defattr(-,root,root,-)
|
53 |
%defattr(-,root,root,-)
|
53 |
%{_bindir}/*
|
54 |
%{_bindir}/*
|
54 |
%{python_sitearch}/
|
55 |
%{python_sitearch}/
|
|
|
56 |
%{_libdir}/%{name}
|
|
|
57 |
%{_libdir}/%{name}/lib%{name}.so.%{version}
|
55 |
%{_datadir}/%{name}
|
58 |
%{_datadir}/%{name}
|
56 |
%{_datadir}/applications/recoll-searchgui.desktop
|
59 |
%{_datadir}/applications/recoll-searchgui.desktop
|
57 |
%{_datadir}/icons/hicolor/48x48/apps/recoll.png
|
60 |
%{_datadir}/icons/hicolor/48x48/apps/recoll.png
|
58 |
%{_datadir}/pixmaps/recoll.png
|
61 |
%{_datadir}/pixmaps/recoll.png
|
59 |
%{_mandir}/man1/recoll*
|
62 |
%{_mandir}/man1/recoll*
|