standardize the specfile [release 5.9.0-2mamba;Wed May 06 2015]
This commit is contained in:
parent
df5ade1f1f
commit
e39a8a8d25
37
kxmlgui.spec
37
kxmlgui.spec
@ -1,7 +1,8 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: kxmlgui
|
Name: kxmlgui
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Framework for managing menu and toolbar actions
|
Summary: Framework for managing menu and toolbar actions
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -31,6 +32,8 @@ BuildRequires: libsonnet-devel
|
|||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: rpm-macros-kde5
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -42,7 +45,9 @@ Group: System/Libraries
|
|||||||
Summary: Framework for managing menu and toolbar actions
|
Summary: Framework for managing menu and toolbar actions
|
||||||
|
|
||||||
%description -n lib%{name}
|
%description -n lib%{name}
|
||||||
KXMLGUI provides a framework for managing menu and toolbar actions in an abstract way. The actions are configured through a XML description and hooks in the application code. The framework supports merging of multiple description for example for integrating actions from plugins.
|
KXMLGUI provides a framework for managing menu and toolbar actions in an abstract way.
|
||||||
|
The actions are configured through a XML description and hooks in the application code.
|
||||||
|
The framework supports merging of multiple description for example for integrating actions from plugins.
|
||||||
|
|
||||||
%package -n lib%{name}-devel
|
%package -n lib%{name}-devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -58,14 +63,14 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake_kde5 -d build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
%find_lang kxmlgui5
|
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -73,27 +78,27 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name} -f kxmlgui5.lang
|
%files -n lib%{name} -f %{name}5_qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_kde5_libdir}/libKF5XmlGui.so.*
|
||||||
|
%{_kde5_libexecdir}/ksendbugmail
|
||||||
|
%{_kde5_datadir}/kf5/kxmlgui
|
||||||
%{_sysconfdir}/xdg/ui/ui_standards.rc
|
%{_sysconfdir}/xdg/ui/ui_standards.rc
|
||||||
%{_libdir}/libKF5XmlGui.so.*
|
|
||||||
%{_libdir}/libexec/kf5/ksendbugmail
|
|
||||||
%dir %{_datadir}/kf5/kxmlgui/pics
|
|
||||||
%{_datadir}/kf5/kxmlgui/pics/*
|
|
||||||
%doc COPYING COPYING.LIB
|
%doc COPYING COPYING.LIB
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/KF5/KXmlGui
|
%{_kde5_includedir}/KXmlGui
|
||||||
%{_includedir}/KF5/KXmlGui/*
|
%{_kde5_includedir}/kxmlgui_version.h
|
||||||
%{_includedir}/KF5/kxmlgui_version.h
|
%{_kde5_libdir}/cmake/KF5XmlGui
|
||||||
%dir %{_libdir}/cmake/KF5XmlGui
|
%{_kde5_libdir}/libKF5XmlGui.so
|
||||||
%{_libdir}/cmake/KF5XmlGui/KF5XmlGui*.cmake
|
%{_kde5_mkspecsdir}/qt_KXmlGui.pri
|
||||||
%{_libdir}/libKF5XmlGui.so
|
|
||||||
/usr/mkspecs/modules/qt_KXmlGui.pri
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 06 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-2mamba
|
||||||
|
- standardize the specfile
|
||||||
|
|
||||||
* Sat Apr 18 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
* Sat Apr 18 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user