Minor spec file cleanup
This commit is contained in:
parent
347bbc5942
commit
055a0cd725
11
brasero.spec
11
brasero.spec
@ -2,11 +2,10 @@ Name: brasero
|
||||
Version: 3.12.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Gnome CD/DVD burning application
|
||||
Group: Applications/Multimedia
|
||||
|
||||
# see https://bugzilla.gnome.org/show_bug.cgi?id=683503
|
||||
License: GPLv3+
|
||||
URL: http://www.gnome.org/projects/brasero/
|
||||
#VCS: git:git://git.gnome.org/brasero
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/3.12/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gtk3-devel >= 2.99.0
|
||||
@ -47,7 +46,6 @@ desktop.
|
||||
|
||||
%package libs
|
||||
Summary: Libraries for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Obsoletes: nautilus-cd-burner-libs < 2.25.4
|
||||
|
||||
|
||||
@ -58,7 +56,6 @@ The %{name}-libs package contains the runtime shared libraries for
|
||||
|
||||
%package nautilus
|
||||
Summary: Nautilus extension for %{name}
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Provides: nautilus-cd-burner = %{version}-%{release}
|
||||
Obsoletes: nautilus-cd-burner < 2.25.4
|
||||
@ -70,7 +67,6 @@ The %{name}-nautilus package contains the brasero nautilus extension.
|
||||
|
||||
%package devel
|
||||
Summary: Headers for developing programs that will use %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: nautilus-cd-burner-devel < 2.25.4
|
||||
|
||||
@ -99,7 +95,7 @@ make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||
%find_lang %{name}
|
||||
|
||||
@ -114,8 +110,6 @@ appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/brasero.ap
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/b.png \
|
||||
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/brasero/c.png
|
||||
|
||||
sed -i 's/cd:x/cd;x/' $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
desktop-file-install --vendor "" \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||
@ -159,7 +153,6 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%{!?_licensedir:%global license %doc}
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README
|
||||
%{_mandir}/man1/%{name}.*
|
||||
|
Loading…
Reference in New Issue
Block a user