Changeset 1784 for spec/trunk/SPECS


Ignore:
Timestamp:
Oct 8, 2021, 6:54:46 PM (4 years ago)
Author:
tellie
Message:

spec: novprog: Release version 3.2.0-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/novprog.spec

    r1701 r1784  
    11Name:           novprog
    2 Version:        3.1.7
     2Version:        3.2.0
    33Release:        1%{?dist}
    44Summary:        Tool to graph your progress in writing a NaNoWriMo style novel
    55License:        GPLv3+
    66URL:            http://gottcode.org/%{name}/
    7 #Source:         http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2
    8 %scm_source github https://github.com/gottcode/novprog master
     7%if !0%{?os2_version}
     8Source:         http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2
     9%else
     10%scm_source github https://github.com/gottcode/novprog main
     11%endif
    912
    10 #BuildRequires:  desktop-file-utils
    11 #BuildRequires:  libappstream-glib
     13%if !0%{?os2_version}
     14BuildRequires:  desktop-file-utils
     15BuildRequires:  libappstream-glib
     16%endif
    1217BuildRequires:  qt5-qttools-devel
    13 #Requires:       hicolor-icon-theme
     18%if !0%{?os2_version}
     19Requires:       hicolor-icon-theme
     20%endif
    1421
    1522%description
     
    2128
    2229%prep
    23 #%setup -q
     30%if !0%{?os2_version}
     31%setup -q
     32%else
    2433%scm_setup
     34%endif
    2535
    2636%build
     
    4050mkdir -p %{buildroot}%{_datadir}/%{name}/translations
    4151mkdir -p %{buildroot}%{_datadir}/%{name}/icons/
    42 install -p -m 644 release/%{name}.exe %{buildroot}%{_bindir}/
     52install -p -m 644 %{name}.exe %{buildroot}%{_bindir}/
    4353install -p -m 644 translations/*.qm %{buildroot}%{_datadir}/%{name}/translations/
    4454install -p -m 644 doc/%{name}.1 %{buildroot}%{_mandir}/man1/
    4555install -p -m 644 icons/hicolor/32x32/apps/*.png %{buildroot}%{_datadir}/%{name}/icons/
    4656
    47 #%find_lang %{name} --with-qt --without-mo
     57%find_lang %{name} --with-qt --without-mo
    4858
    4959%check
    50 #desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop || :
    51 #appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml || :
     60%if !0%{?os2_version}
     61desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop || :
     62appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml || :
     63%endif
    5264
    5365#%files -f %{name}.lang
     
    6577
    6678%changelog
     79* Fri Oct 08 2021 Elbert Pol <elbert.pol@gmail.com> - 3.2.0-1
     80- Updated to latest version
     81
    6782* Thu Apr 23 2020 Elbert Pol <elbert.pol@gmail.com> - 3.1.7-1
    6883- first QT5 RPM for OS2
Note: See TracChangeset for help on using the changeset viewer.