This commit is contained in:
parent
4305aa9936
commit
72cd52f687
@ -38,17 +38,17 @@ BuildRequires: pkgconfig(packagekit-glib2)
|
||||
BuildRequires: libyaml-devel
|
||||
BuildRequires: pkgconfig(protobuf)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: libappstream3
|
||||
|
||||
%description
|
||||
AppStream-Core makes it easy to access application information from the
|
||||
AppStream database over a nice GObject-based interface.
|
||||
|
||||
%package -n libappstream1
|
||||
%package -n libappstream3
|
||||
Summary: The main library for AppStream
|
||||
Group: System/Libraries
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description -n libappstream1
|
||||
%description -n libappstream3
|
||||
The main library for AppStream.
|
||||
|
||||
%package -n libAppstreamQt1
|
||||
@ -115,10 +115,16 @@ make %{?_smp_mflags}
|
||||
|
||||
%find_lang appstream %{name}.lang
|
||||
|
||||
%post
|
||||
%post -n libappstream3
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
%postun -n libappstream3
|
||||
/sbin/ldconfig
|
||||
|
||||
%post -n libAppstreamQt1
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -n libAppstreamQt1
|
||||
/sbin/ldconfig
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
@ -132,7 +138,7 @@ make %{?_smp_mflags}
|
||||
%{_datadir}/app-info/categories.xml
|
||||
%{_mandir}/man1/appstreamcli.*
|
||||
|
||||
%files -n libappstream1
|
||||
%files -n libappstream3
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE* NEWS
|
||||
%{_libdir}/libappstream.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user