Accepting request 128591 from GNOME:Next
Split out lang package.. no importance.. just cleaning up old bugs OBS-URL: https://build.opensuse.org/request/show/128591 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=35
This commit is contained in:
parent
7c8a32dbc8
commit
89ae0bb04e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 21 17:45:55 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Split out -lang package (bnc#645077).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 07:52:10 UTC 2012 - vuntz@opensuse.org
|
||||
|
||||
|
@ -44,6 +44,7 @@ Requires: /usr/bin/fgrep
|
||||
PreReq: libxml2-2 libglib-2_0-0
|
||||
Provides: %{name}-devel = %{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Recommends: %{name}-lang
|
||||
|
||||
%description
|
||||
This package contains:
|
||||
@ -54,6 +55,7 @@ This package contains:
|
||||
|
||||
- The update-mime-database command, used to install new MIME data.
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
translation-update-upstream
|
||||
@ -65,7 +67,7 @@ make
|
||||
%install
|
||||
%makeinstall
|
||||
install %{S:1} $RPM_BUILD_ROOT%{_bindir}/
|
||||
%find_lang %{name}
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
# Install rpm macros
|
||||
install -D -m644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info
|
||||
|
||||
@ -75,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%post
|
||||
%{_bindir}/update-mime-database %{_datadir}/mime || true
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc COPYING ChangeLog NEWS README
|
||||
%{_bindir}/*
|
||||
@ -85,4 +87,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man?/*.*
|
||||
%{_sysconfdir}/rpm/macros.shared-mime-info
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user