Вынос директории с документацией в отдельный пакет

master
Artem Proskurnev 3 years ago
parent 3d361ea57c
commit 90bc116988
  1. 17
      build.sh
  2. 6
      kometa-std-desktop.spec
  3. 0
      kometa-std-desktop/Home.desktop
  4. 0
      kometa-std-desktop/brandicons.filetrigger
  5. 0
      kometa-std-desktop/chromium.json
  6. 0
      kometa-std-desktop/inkscape.xml
  7. 0
      kometa-std-desktop/kdeglobals
  8. 0
      kometa-std-desktop/previewplugins.filetrigger
  9. 0
      kometa-std-desktop/trash.desktop
  10. 0
      kometa-std-desktop/Документ.ott
  11. 0
      kometa-std-desktop/Презентация.otp
  12. 0
      kometa-std-desktop/Таблица.ots

@ -0,0 +1,17 @@
#!/bin/sh
mkdir -p ~/RPM/SOURCES
mkdir -p ~/RPM/SPECS
for i in $(ls *.spec)
do
v=$(cat $i | grep Version | cut -c 9- | sed 's/ *//g')
n=$(basename -s .spec $i)
d=$n-$v
if [ -d $n ]; then
cp -fr $n $d
tar -cvf $d.tar $d
mv -f $d.tar ~/RPM/SOURCES/
cp -f $i ~/RPM/SPECS/
rm -rf $d
fi
rpm -ba ~/RPM/SPECS/$i
done

@ -1,5 +1,5 @@
Name: kometa-std-desktop Name: kometa-std-desktop
Version: 1.3 Version: 1.4
Release: kometa1 Release: kometa1
Summary: Kometa default desktop settings Summary: Kometa default desktop settings
@ -35,6 +35,7 @@ mkdir -p %buildroot%skelconfigdir/inkscape
mkdir -p %buildroot%skelconfigdir/chromium/Default mkdir -p %buildroot%skelconfigdir/chromium/Default
mkdir -p %buildroot%skeldesktopdir mkdir -p %buildroot%skeldesktopdir
mkdir -p %buildroot%ftdir mkdir -p %buildroot%ftdir
install -pm644 kdeglobals %buildroot%skelconfigdir install -pm644 kdeglobals %buildroot%skelconfigdir
install -pm644 inkscape.xml %buildroot%skelconfigdir/inkscape/preferences.xml install -pm644 inkscape.xml %buildroot%skelconfigdir/inkscape/preferences.xml
install -pm644 chromium.json %buildroot%skelconfigdir/chromium/Default/Preferences install -pm644 chromium.json %buildroot%skelconfigdir/chromium/Default/Preferences
@ -59,6 +60,9 @@ install -pm755 previewplugins.filetrigger %buildroot%ftdir
"/usr/lib/rpm/previewplugins.filetrigger" "/usr/lib/rpm/previewplugins.filetrigger"
%changelog %changelog
* Thu Feb 22 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.4-kometa1
- Docs -> kometa-docdir
* Thu Feb 17 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.3-kometa1 * Thu Feb 17 2022 Artem Proskurnev <tema@proskurnevs.ru> 1.3-kometa1
- KDE5 preview plugins - KDE5 preview plugins

Loading…
Cancel
Save