Ignore:
Timestamp:
Mar 20, 2017, 11:20:17 AM (9 years ago)
Author:
Silvan Scherrer
Message:

spec: qpdfview: Release version 0.4.17-2beta1.

File:
1 edited

Legend:

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

    r1060 r1063  
     1%global prerelease beta1
     2
    13Name:           qpdfview
    24Version:        0.4.17
    3 Release:        1%{?dist}
     5Release:        2%{?prerelease}%{?dist}
    46License:        GPLv2+
    57Summary:        Tabbed PDF Viewer
     
    911%scm_source github https://github.com/bitwiseworks/qpdfview %{version}
    1012
     13Requires:       bwwres
    1114Requires:       libqt4
    1215Requires:       cups
     
    1619Requires:       djvulibre
    1720Requires:       libjpeg libtiff libpng
     21Requires:       %{name}-common = %{version}-%{release}
    1822
    1923BuildRequires:  libqt4-devel
     
    3034It provides a clear and simple graphical user interface using the Qt framework.
    3135
     36%package common
     37Summary:        Common files for %{name}
     38BuildArch:      noarch
     39
     40%description common
     41This package provides common files for %{name}.
    3242
    3343%prep
     
    6070# unknown language
    6171rm -f %{buildroot}/%{_datadir}/%{name}/%{name}_ast.qm
     72
     73# remove not needed desktop files
    6274rm -rf %{buildroot}/%{_datadir}/appdata
    6375rm -rf %{buildroot}/%{_datadir}/applications
    6476rm -rf %{buildroot}/%{_datadir}/icons
    6577
     78# adjust install.os2 with the right version and build
    6679sed -i -e "s|_VERSION_|%{version}|" -e "s|_BUILD_|%{release}|" %{_builddir}/%{buildsubdir}/install.os2
    6780
     
    8295
    8396
    84 %files -f %{name}.lang
    85 %doc CHANGES CONTRIBUTORS COPYING README TODO install.os2
     97%files
    8698%{_bindir}/%{name}.exe
    8799%{_libdir}/%{name}/
     100
     101%files common -f %{name}.lang
     102%license COPYING
     103%doc CHANGES CONTRIBUTORS README TODO
     104%doc install.os2
    88105%dir %{_datadir}/%{name}
    89106%{_datadir}/%{name}/help*.html
     
    91108
    92109%changelog
     110* Mon Mar 20 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.4.17-2.beta1
     111- rebuild with latest bwwres
     112- added noarch rpm for the really noarch files
     113
    93114* Fri Mar 17 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.4.17-1
    94115- initial version
Note: See TracChangeset for help on using the changeset viewer.