- Merge-review cleanup (#225681)
This commit is contained in:
parent
48d77875bd
commit
9e21dff9b4
@ -1,16 +1,16 @@
|
||||
%global pkg desktop-file-utils
|
||||
%global pkgname desktop-file-utils
|
||||
|
||||
Summary: Utilities for manipulating .desktop files
|
||||
Name: desktop-file-utils
|
||||
Version: 0.16
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://www.freedesktop.org/software/desktop-file-utils
|
||||
Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.bz2
|
||||
Source1: desktop-file.prov
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=12018
|
||||
License: GPLv2+
|
||||
Group: Development/Tools
|
||||
|
||||
BuildRequires: glib2-devel >= 2.12.0
|
||||
BuildRequires: emacs
|
||||
BuildRequires: glib2-devel
|
||||
|
||||
%description
|
||||
.desktop files are used to describe an application for inclusion in
|
||||
@ -20,32 +20,59 @@ http://www.freedesktop.org/standards/, and desktop-file-install
|
||||
which installs a desktop file to the standard directory, optionally
|
||||
fixing it up in the process.
|
||||
|
||||
%package -n emacs-%{pkg}
|
||||
Summary: Compiled elisp files to run %{pkgname} under GNU Emacs
|
||||
Group: Applications/Editors
|
||||
BuildArch: noarch
|
||||
BuildRequires: emacs
|
||||
Requires: emacs(bin) >= %{_emacs_version}
|
||||
|
||||
%description -n emacs-%{pkg}
|
||||
%{pkgname} is an add-on package for GNU Emacs.
|
||||
|
||||
%package -n emacs-%{pkg}-el
|
||||
Summary: Elisp source files for %{pkgname} under GNU Emacs
|
||||
Group: Applications/Editors
|
||||
BuildArch: noarch
|
||||
Requires: emacs-%{pkg} = %{version}-%{release}
|
||||
|
||||
%description -n emacs-%{pkg}-el
|
||||
This package contains the elisp source files for %{pkgname} under
|
||||
GNU Emacs. You do not need to install this package to run %{pkgname}.
|
||||
Install the %{name} package to use %{pkgname} with GNU Emacs.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
|
||||
# add the provides script
|
||||
# disable for now, Panu seems to sehip this in rpm-build
|
||||
#install -m0755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/rpm/desktop-file.prov
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
|
||||
mv $RPM_BUILD_ROOT%{_emacs_sitelispdir}/*.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README NEWS
|
||||
%{_bindir}/*
|
||||
%{_datadir}/emacs/site-lisp/
|
||||
#%{_libdir}/rpm/desktop-file.prov
|
||||
|
||||
%files -n emacs-%{pkg}
|
||||
%defattr(-,root,root,-)
|
||||
%doc
|
||||
%{_emacs_sitelispdir}/%{pkg}/*.elc
|
||||
|
||||
%files -n emacs-%{pkg}-el
|
||||
%defattr(-,root,root,-)
|
||||
%{_emacs_sitelispdir}/%{pkg}/*.el
|
||||
|
||||
%changelog
|
||||
* Sat Sep 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.16-2
|
||||
- Merge-review cleanup (#225681)
|
||||
|
||||
* Thu Apr 1 2010 Matthias Clasen <mclasen@redhat.com> 0.16-1
|
||||
- Update to 0.16
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user