standardize the specfile [release 5.10.0-2mamba;Sun May 31 2015]

This commit is contained in:
Davide Madrisan 2024-01-06 02:19:43 +01:00
parent af7f03bba3
commit c3dd126a62

View File

@ -1,7 +1,8 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: knotifications Name: knotifications
Version: 5.10.0 Version: 5.10.0
Release: 1mamba Release: 2mamba
Summary: Desktop notifications framework Summary: Desktop notifications framework
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -25,7 +26,10 @@ BuildRequires: libphonon-qt5-devel
BuildRequires: libqt5-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
## AUTOBUILDREQ-END
BuildRequires: cmake BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -37,7 +41,8 @@ Group: System/Libraries
Summary: Desktop notifications framework Summary: Desktop notifications framework
%description -n lib%{name} %description -n lib%{name}
KNotification is used to notify the user of an event. It covers feedback and persistent events. KNotification is used to notify the user of an event.
It covers feedback and persistent events.
%package -n lib%{name}-devel %package -n lib%{name}-devel
Group: Development/Libraries Group: Development/Libraries
@ -53,14 +58,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 %{name} || touch %{name}.lang %find_lang knotifications5_qt --with-qt --all-name || touch knotifications5_qt.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -68,27 +73,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} %files -n lib%{name} -f knotifications5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libKF5Notifications.so.* %{_kde5_libdir}/libKF5Notifications.so.*
%{_kde5_servicetypesdir}/knotificationplugin.desktop
%{_datadir}/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml %{_datadir}/dbus-1/interfaces/kf5_org.kde.StatusNotifierItem.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.StatusNotifierWatcher.xml %{_datadir}/dbus-1/interfaces/kf5_org.kde.StatusNotifierWatcher.xml
%{_datadir}/kservicetypes5/knotificationplugin.desktop
%{_datadir}/locale/*/LC_MESSAGES/knotifications5_qt.qm
%doc COPYING.LIB %doc COPYING.LIB
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/KF5/KNotifications %{_kde5_includedir}/KNotifications
%{_includedir}/KF5/KNotifications/* %{_kde5_includedir}/knotifications_version.h
%{_includedir}/KF5/knotifications_version.h %{_kde5_libdir}/cmake/KF5Notifications
%dir %{_libdir}/cmake/KF5Notifications %{_kde5_libdir}/libKF5Notifications.so
%{_libdir}/cmake/KF5Notifications/KF5Notifications*.cmake %{_kde5_mkspecsdir}/qt_KNotifications.pri
%{_libdir}/libKF5Notifications.so
/usr/mkspecs/modules/qt_KNotifications.pri
%doc README.md %doc README.md
%changelog %changelog
* Sun May 31 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.10.0-2mamba
- standardize the specfile
* Thu May 14 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba * Thu May 14 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist - automatic version update by autodist