[glom] More spec file modernization
Kalev Lember
kalev at fedoraproject.org
Sat May 17 16:15:19 UTC 2014
commit f7984475df715ed97bae67877338d21072b33b61
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat May 17 18:08:48 2014 +0200
More spec file modernization
glom.spec | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/glom.spec b/glom.spec
index 2705759..d1d22ae 100644
--- a/glom.spec
+++ b/glom.spec
@@ -6,7 +6,6 @@ Version: %{major_version}.%{minor_version}
Release: 1%{?dist}
Summary: Easy-to-use database designer and user interface
-Group: Applications/Databases
License: GPLv2+
URL: http://www.glom.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/glom/%{major_version}/%{name}-%{major_version}.%{minor_version}.tar.xz
@@ -52,7 +51,6 @@ buttons. Glom uses the PostgreSQL database backend.
%package libs
Summary: Libraries for %{name}
-Group: System Environment/Libraries
%description libs
@@ -61,9 +59,7 @@ The %{name}-libs package contains shared libraries for %{name}.
%package devel
Summary: Headers for developing programs that will use %{name}
-Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
-Requires: pkgconfig
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
@@ -91,7 +87,7 @@ make %{?_smp_mflags}
%install
-make install DESTDIR=${RPM_BUILD_ROOT}
+%make_install
%find_lang %{name} --with-gnome
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
@@ -125,7 +121,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/%{name}
%{_bindir}/%{name}_create_from_example
@@ -141,12 +136,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/appdata/%{name}.appdata.xml
%files libs
-%defattr(-,root,root,-)
%{_libdir}/lib%{name}-%{major_version}.so.*
%files devel
-%defattr(-,root,root,-)
%{_includedir}/glom-%{major_version}
%{_libdir}/lib%{name}-%{major_version}.so
%{_libdir}/pkgconfig/*.pc
More information about the scm-commits
mailing list