mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
packaging: fedora: update
So at least it builds. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
d298af4d61
commit
92c0591db9
1 changed files with 13 additions and 12 deletions
|
@ -25,7 +25,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
Name: notmuch
|
Name: notmuch
|
||||||
Version: 0.4
|
Version: 0.15.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Not much of an email program
|
Summary: Not much of an email program
|
||||||
|
|
||||||
|
@ -99,14 +99,12 @@ developing applications that use %{name}.
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=/usr --libdir=%{_libdir} --sysconfdir=%{_sysconfdir}
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} --sysconfdir=%{_sysconfdir} \
|
||||||
|
--mandir=%{_mandir} --includedir=%{_includedir} --emacslispdir=%{_emacs_sitelispdir}
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
emacs -batch -f batch-byte-compile emacs/*.el
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
make install DESTDIR=%{buildroot} prefix=%{_prefix}
|
|
||||||
mv %{buildroot}%{_sysconfdir}/bash_completion.d %{buildroot}%{_datarootdir}/bash_completion
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
@ -117,25 +115,28 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO
|
%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README
|
||||||
|
|
||||||
%{_bindir}/notmuch
|
%{_bindir}/notmuch
|
||||||
%{_libdir}/libnotmuch.so.*
|
%{_libdir}/libnotmuch.so.3*
|
||||||
%{_mandir}/man1/notmuch.1*
|
%{_mandir}/man?/*
|
||||||
|
|
||||||
%{_emacs_sitelispdir}/*
|
%{_emacs_sitelispdir}/*
|
||||||
|
|
||||||
%{_datarootdir}/zsh/functions/Completion/Unix/notmuch
|
%{_datarootdir}/zsh/functions/Completion/Unix/_notmuch
|
||||||
%{_datarootdir}/bash_completion/notmuch
|
%{_sysconfdir}/bash_completion.d/notmuch
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README TODO
|
%doc AUTHORS COPYING COPYING-GPL-3 INSTALL README
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 28 2013 Felipe Contreras <felipe.contreras@gmail.com> - 0.15.2-1
|
||||||
|
- Update to latest upstream
|
||||||
|
|
||||||
* Tue Nov 2 2010 Scott Henson <shenson@redhat.com> - 0.4-1
|
* Tue Nov 2 2010 Scott Henson <shenson@redhat.com> - 0.4-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue