Name: acronym-decoder Version: 1.7.0 Release: 1%{?dist} Summary: A tool for quick finding of acronym meaning Group: Application/Text License: Public Domain URL: https://app.zdechov.net/AcronymDecoder Source0: acronym-decoder.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: lazarus %description A tool for quick finding of acronym meaning %global debug_package %{nil} %prep %setup -q -c $(RPM_NAME)-$(RPM_VERSION) %build lazbuild --build-mode=Release AcronymDecoder.lpi %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -s -m 755 AcronymDecoder $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages install -m 644 Languages/AcronymDecoder.po $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages install -m 644 Languages/AcronymDecoder.cs.po $RPM_BUILD_ROOT/usr/share/AcronymDecoder/languages install -d -m 755 $RPM_BUILD_ROOT/usr/share/AcronymDecoder/Examples install -D -m 644 Examples/* $RPM_BUILD_ROOT/usr/share/AcronymDecoder/Examples || true install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications install -m 644 Install/shared/AcronymDecoder.desktop $RPM_BUILD_ROOT/usr/share/applications install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps install -m 644 Images/AcronymDecoder.png $RPM_BUILD_ROOT/usr/share/pixmaps %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/AcronymDecoder /usr/share/applications/AcronymDecoder.desktop /usr/share/AcronymDecoder/* /usr/share/AcronymDecoder/Examples/* /usr/share/pixmaps/AcronymDecoder.png %changelog