Changeset 1695


Ignore:
Timestamp:
Apr 7, 2020, 8:01:09 PM (5 years ago)
Author:
tellie
Message:

spec: fribidi: Release version 0.19.5-1

Location:
spec/trunk/SPECS
Files:
1 added
1 deleted
11 edited

Legend:

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

    r1588 r1695  
    2626Url:            https://clipgrab.org
    2727#Source0:        https://download.clipgrab.org/%{name}-%{version}.tar.gz
    28 #Source1:        %{name}.desktop
    29 # PATCH-FIX-UPSTREAM clipgrab-qt5.patch aloisio@gmx.com -- build against Qt5
    30 #Patch0:         %{name}-qt5.patch
     28
    3129%scm_source github http://github.com/TeLLie/%{name}-os2 master
     30
    3231#BuildRequires:  ImageMagick
    3332#BuildRequires:  hicolor-icon-theme >= 0.15
  • spec/trunk/SPECS/cmake.spec

    r936 r1695  
    1 #define svn_url     e:/trees/cmake/trunk
    2 %define svn_url     http://svn.netlabs.org/repos/ports/cmake/trunk
    3 %define svn_rev     1949
    4 
     1# Do we add appdata-files? (disabled)
     2# consider conditional on whether %%_metainfodir is defined or not instead -- rex
     3%bcond_with appdata
     4
     5# Set to bcond_without or use --with bootstrap if bootstrapping a new release
     6# or architecture
     7%bcond_without bootstrap
     8
     9# Build with Emacs support (disabled)
     10%bcond_with emacs
     11
     12# Run git tests (disabled)
     13%bcond_with git_test
    514
    615# Set to bcond_with or use --without gui to disable qt4 gui build
    716%bcond_without gui
    817
    9 # Set to bcond_without or use --with desktop to enable desktopn stuff
    10 %bcond_with desktop
     18# Use ncurses for colorful output
     19%bcond_without ncurses
     20
     21# Setting the Python-version used by default
     22%bcond_with python3
     23
     24# Enable RPM dependency generators for cmake files written in Python
     25%bcond_without rpm
     26
     27# enable this when we have Sphinx-build (disabled)
     28%bcond_with sphinx
     29
     30# Run tests (disabled)
     31%bcond_with test
     32
     33# Enable X11 tests (disabled)
     34%bcond_with X11_test
    1135
    1236# Place rpm-macros into proper location
     
    1640%{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
    1741
    18 # enable this when we have Sphinx-build
    19 %bcond_with sphinx
    20 
    2142%global major_version 3
    22 %global minor_version 7
     43%global minor_version 10
     44# Set to RC version if building RC, else %%{nil}
     45#global rcsuf rc3
     46%{?rcsuf:%global relsuf .%{rcsuf}}
     47%{?rcsuf:%global versuf -%{rcsuf}}
     48
     49# Uncomment if building for EPEL
     50#global name_suffix %%{major_version}
    2351%global orig_name cmake
    2452
    2553
    2654Name:           %{orig_name}%{?name_suffix}
    27 Version:        %{major_version}.%{minor_version}.0
    28 Release:        2%{?dist}
     55Version:        %{major_version}.%{minor_version}.3
     56Release:        1%{?dist}
    2957Summary:        Cross-platform make system
    3058
     
    3765URL:            http://www.cmake.org
    3866Vendor:         bww bitwise works GmbH
    39 Source:         %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip
     67%scm_source github http://github.com/bitwiseworks/cmake-os2 master
    4068Source2:        macros.%{name}
    41 
    42 
     69# See https://bugzilla.redhat.com/show_bug.cgi?id=1202899
     70Source3:        %{name}.attr
     71Source4:        %{name}.prov
     72Source5:        %{name}.req
     73
     74BuildRequires:  coreutils
     75BuildRequires:  findutils
     76BuildRequires:  gcc
    4377#BuildRequires:  gcc-gfortran
    44 #BuildRequires:  ncurses-devel, libX11-devel
     78BuildRequires:  sed
     79BuildRequires:  git
     80%if %{with X11_test}
     81BuildRequires:  libX11-devel
     82%endif
     83%if %{with ncurses}
     84BuildRequires:  ncurses-devel
     85%endif
     86%if %{with sphinx}
     87BuildRequires:  %{_bindir}/sphinx-build
     88%endif
     89%if %{without bootstrap}
    4590BuildRequires:  bzip2-devel
    4691BuildRequires:  curl-devel
     
    4994#BuildRequires:  libarchive-devel
    5095#BuildRequires:  libuv-devel
    51 %if 0%{?with_sphinx:1}
    52 BuildRequires:  /@unixroot/usr/bin/sphinx-build
    53 %endif
     96#BuildRequires:  rhash-devel
    5497BuildRequires:  xz-devel
    5598BuildRequires:  zlib-devel
    56 #BuildRequires:  emacs
     99%endif
     100%if %{with emacs}
     101BuildRequires:  emacs
     102%endif
     103%if %{with rpm}
     104%if %{with python3}
     105%{!?python3_pkgversion: %global python3_pkgversion 3}
     106BuildRequires:  python%{python3_pkgversion}-devel
     107%else
    57108BuildRequires:  python2-devel
     109%endif
     110%endif
    58111%if %{with gui}
    59 BuildRequires: libqt4-devel
    60 #BuildRequires: desktop-file-utils
    61 %global qt_gui --qt-gui
     112BuildRequires: pkgconfig(Qt5Widgets)
     113%if %{with appdata}
     114BuildRequires: desktop-file-utils
     115%endif
     116%endif
     117
     118%if %{without bootstrap}
     119# Ensure we have our own rpm-macros in place during build.
     120BuildRequires:  %{name}-rpm-macros
    62121%endif
    63122
    64123Requires:       %{name}-data = %{version}-%{release}
    65 Requires:       rpm
     124Requires:       %{name}-rpm-macros = %{version}-%{release}
     125Requires:       %{name}-filesystem = %{version}-%{release}
    66126
    67127# Provide the major version name
     
    81141Summary:        Common data-files for %{name}
    82142Requires:       %{name} = %{version}-%{release}
     143Requires:       %{name}-filesystem = %{version}-%{release}
     144Requires:       %{name}-rpm-macros = %{version}-%{release}
     145%if %{with emacs}
     146Requires:       emacs-filesystem%{?_emacs_version: >= %{_emacs_version}}
     147%endif
     148
    83149BuildArch:      noarch
    84150
     
    95161
    96162
     163%package        filesystem
     164Summary:        Directories used by CMake modules
     165
     166%description    filesystem
     167This package owns all directories used by CMake modules.
     168
     169
     170%if %{with gui}
    97171%package        gui
    98172Summary:        Qt GUI for %{name}
    99173
    100174Requires:       %{name} = %{version}-%{release}
    101 #Requires:       hicolor-icon-theme
    102 #Requires:       shared-mime-info
     175%if %{with appdata}
     176Requires:       hicolor-icon-theme
     177Requires:       shared-mime-info
     178%endif
    103179
    104180%description    gui
    105181The %{name}-gui package contains the Qt based GUI for %{name}.
     182%endif
     183
     184
     185%package        rpm-macros
     186Summary:        Common RPM macros for %{name}
     187Requires:       rpm
     188# when subpkg introduced
     189Conflicts:      cmake-data < 3.10.1-2
     190
     191BuildArch:      noarch
     192
     193%description    rpm-macros
     194This package contains common RPM macros for %{name}.
    106195
    107196
     
    110199
    111200%prep
    112 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{!?svn_rev):0}
    113 %setup -q
     201%scm_setup
     202
     203%if %{with rpm}
     204%if %{with python3}
     205echo '#!%{__python3}' > %{name}.prov
     206echo '#!%{__python3}' > %{name}.req
    114207%else
    115 %setup -n "%{name}-%{version}" -Tc
    116 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force
    117 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip"
    118 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}")
     208echo '#!%{__python2}' > %{name}.prov
     209echo '#!%{__python2}' > %{name}.req
     210%endif
     211tail -n +2 %{SOURCE4} >> %{name}.prov
     212tail -n +2 %{SOURCE5} >> %{name}.req
    119213%endif
    120214
     
    128222cd build
    129223#             --%{?with_bootstrap:no-}system-libs \
     224#             --parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \
    130225../bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \
    131226             --docdir=/share/doc/%{name} --mandir=/share/man \
    132227             --verbose --system-bzip2 --system-curl --system-expat \
    133228             --system-liblzma --system-zlib \
    134              %{?with_sphinx:--sphinx-man --sphinx-html} \
    135              %{?qt_gui} -- \
    136              -DCMAKE_USE_OPENSSL:BOOL=ON
    137 
    138 make
     229%if %{with sphinx}
     230             --sphinx-man --sphinx-html} \
     231%else
     232             --sphinx-build=%{_bindir}/false \
     233%endif
     234             --%{!?with_gui:no-}qt-gui \
     235             -- -DCMAKE_USE_OPENSSL:BOOL=ON \
     236;
     237make VERBOSE=1
    139238
    140239
    141240%install
    142 cd build
    143 make install DESTDIR=%{buildroot}
     241rm -rf %{buildroot}
     242mkdir -p %{buildroot}%{_pkgdocdir}
     243%make_install -C build CMAKE_DOC_DIR=%{buildroot}%{_pkgdocdir}
    144244find %{buildroot}/%{_datadir}/%{name}/Modules -type f | xargs chmod -x
    145245[ -n "$(find %{buildroot}/%{_datadir}/%{name}/Modules -name \*.orig)" ] &&
    146246  echo "Found .orig files in %{_datadir}/%{name}/Modules, rebase patches" &&
    147247  exit 1
    148 cd ..
    149 
     248# Install major_version name links
     249%{!?name_suffix:for f in ccmake cmake cpack ctest; do ln -s ${f}.exe %{buildroot}%{_bindir}/${f}%{major_version}; done}
     250# Install bash completion symlinks
     251#mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
     252#for f in %{buildroot}%{_datadir}/%{name}/completions/*
     253#do
     254#  ln -s ../../%{name}/completions/$(basename $f) %{buildroot}%{_datadir}/bash-completion/completions
     255#done
     256%if %{with emacs}
     257# Install emacs cmake mode
     258mkdir -p %{buildroot}%{_emacs_sitelispdir}/%{name}
     259install -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{_emacs_sitelispdir}/%{name}/%{name}-mode.el
     260%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/%{name}/%{name}-mode.el
     261mkdir -p %{buildroot}%{_emacs_sitestartdir}
     262install -p -m 0644 %SOURCE1 %{buildroot}%{_emacs_sitestartdir}
     263%endif
    150264# RPM macros
    151265install -p -m0644 -D %{SOURCE2} %{buildroot}%{rpm_macros_dir}/macros.%{name}
    152266sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" -e "s|@@CMAKE_MAJOR_VERSION@@|%{major_version}|" %{buildroot}%{rpm_macros_dir}/macros.%{name}
    153267touch -r %{SOURCE2} %{buildroot}%{rpm_macros_dir}/macros.%{name}
    154 
    155 mkdir -p %{buildroot}%{_libdir}/%{name}
     268%if %{with rpm} && 0%{?_rpmconfigdir:1}
     269# RPM auto provides
     270install -p -m0644 -D %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/fileattrs/%{name}.attr
     271install -p -m0755 -D %{name}.prov %{buildroot}%{_prefix}/lib/rpm/%{name}.prov
     272install -p -m0755 -D %{name}.req %{buildroot}%{_prefix}/lib/rpm/%{name}.req
     273%endif
     274mkdir -p %{buildroot}%{_libdir}/%{orig_name}
    156275# Install copyright files for main package
    157276find Source Utilities -type f -iname copy\* | while read f
     
    162281  cp -p $f ./${fname}_${dname}
    163282done
    164 
    165283# Cleanup pre-installed documentation
    166 %if 0%{?with_sphinx:1}
     284%if %{with sphinx}
    167285mv %{buildroot}%{_docdir}/%{name}/html .
    168286%endif
     
    172290cp -pr %{buildroot}%{_datadir}/%{name}/Help %{buildroot}%{_pkgdocdir}
    173291mv %{buildroot}%{_pkgdocdir}/Help %{buildroot}%{_pkgdocdir}/rst
    174 %if 0%{?with_sphinx:1}
     292%if %{with sphinx}
    175293mv html %{buildroot}%{_pkgdocdir}
    176294%endif
    177295
    178 %if %{with desktop}
     296%if %{with gui}
    179297# Desktop file
     298%if %{with appdata}
    180299desktop-file-install --delete-original \
    181300  --dir=%{buildroot}%{_datadir}/applications \
    182   %{buildroot}/%{_datadir}/applications/CMake%{?name_suffix}.desktop
    183 %endif
    184 
    185 
     301  %{buildroot}%{_datadir}/applications/%{name}-gui.desktop
     302
     303# Register as an application to be visible in the software center
     304#
     305# NOTE: It would be *awesome* if this file was maintained by the upstream
     306# project, translated and installed into the right place during `make install`.
     307#
     308# See http://www.freedesktop.org/software/appstream/docs/ for more details.
     309#
     310mkdir -p %{buildroot}%{_metainfodir}
     311cat > %{buildroot}%{_metainfodir}/cmake-gui.appdata.xml <<EOF
     312<?xml version="1.0" encoding="UTF-8"?>
     313<!-- Copyright 2014 Ryan Lerch <rlerch@redhat.com> -->
     314<!--
     315EmailAddress: kitware@kitware.com
     316SentUpstream: 2014-09-17
     317-->
     318<application>
     319  <id type="desktop">cmake-gui.desktop</id>
     320  <metadata_license>CC0-1.0</metadata_license>
     321  <name>CMake GUI</name>
     322  <summary>Create new CMake projects</summary>
     323  <description>
     324    <p>
     325      CMake is an open source, cross platform build system that can build, test,
     326      and package software. CMake GUI is a graphical user interface that can
     327      create and edit CMake projects.
     328    </p>
     329  </description>
     330  <url type="homepage">http://www.cmake.org</url>
     331  <screenshots>
     332    <screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/CMake/a.png</screenshot>
     333  </screenshots>
     334  <!-- FIXME: change this to an upstream email address for spec updates
     335  <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
     336   -->
     337</application>
     338EOF
     339%endif
     340%endif
     341
     342# create manifests for splitting files and directories for filesystem-package
     343find %{buildroot}%{_datadir}/%{name} -type d | \
     344  sed -e 's!^%{buildroot}!%%dir "!g' -e 's!$!"!g' > data_dirs.mf
     345find %{buildroot}%{_datadir}/%{name} -type f | \
     346  sed -e 's!^%{buildroot}!"!g' -e 's!$!"!g' > data_files.mf
     347find %{buildroot}%{_libdir}/%{orig_name} -type d | \
     348  sed -e 's!^%{buildroot}!%%dir "!g' -e 's!$!"!g' > lib_dirs.mf
     349find %{buildroot}%{_libdir}/%{orig_name} -type f | \
     350  sed -e 's!^%{buildroot}!"!g' -e 's!$!"!g' > lib_files.mf
     351find %{buildroot}%{_bindir} -type f -or -type l -or -xtype l | \
     352  sed -e '/.*-gui.exe$/d' -e '/^$/d' -e 's!^%{buildroot}!"!g' -e 's!$!"!g' >> lib_files.mf
     353
     354
     355%if %{with test}
    186356%check
    187 #cd build
    188 #CMake.FileDownload, and CTestTestUpload require internet access
    189 #bin/ctest%{?name_suffix} -V -E 'CMake.FileDownload|CTestTestUpload' %{?_smp_mflags}
    190 #cd ..
    191 
    192 
    193 %if %{with desktop}
    194 %post gui
    195 update-desktop-database &> /dev/null || :
    196 /bin/touch --no-create %{_datadir}/mime || :
    197 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
    198 
    199 %postun gui
    200 update-desktop-database &> /dev/null || :
    201 if [ $1 -eq 0 ] ; then
    202     /bin/touch --no-create %{_datadir}/mime || :
    203     update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
    204     /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
    205     /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
    206 fi
    207 
    208 %posttrans gui
    209 update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
    210 /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
    211 %endif
    212 
    213 
    214 %files
     357cd build
     358#CMake.FileDownload, CTestTestUpload, and curl require internet access
     359# RunCMake.CPack_RPM is broken if disttag contains "+", bug #1499151
     360NO_TEST="CMake.FileDownload|CTestTestUpload|curl|RunCMake.CPack_RPM"
     361NO_TEST="$NO_TEST|CPackComponentsForAll-RPM-IgnoreGroup"
     362# RunCMake.File_Generate fails on S390X
     363%ifarch s390x
     364NO_TEST="$NO_TEST|RunCMake.File_Generate"
     365%endif
     366export NO_TEST
     367bin/ctest%{?name_suffix} -V -E "$NO_TEST" %{?_smp_mflags}
     368cd ..
     369%endif
     370
     371
     372%files -f lib_files.mf
    215373%doc %dir %{_pkgdocdir}
    216374%license Copyright.txt*
    217375%license COPYING*
    218 #%{_bindir}/c%{name}.exe
    219 %{_bindir}/%{name}.exe
    220 %{_bindir}/cpack.exe
    221 %{_bindir}/ctest.exe
    222 %if 0%{?with_sphinx:1}
    223 #%{_mandir}/man1/c%{name}.1.*
     376%if %{with sphinx}
     377%{_mandir}/man1/c%{name}.1.*
    224378%{_mandir}/man1/%{name}.1.*
    225 %{_mandir}/man1/cpack.1.*
    226 %{_mandir}/man1/ctest.1.*
     379%{_mandir}/man1/cpack%{?name_suffix}.1.*
     380%{_mandir}/man1/ctest%{?name_suffix}.1.*
    227381%{_mandir}/man7/*.7.*
    228382%endif
    229 %{_libdir}/%{name}/
    230 
    231 
    232 %files data
     383
     384
     385%files data -f data_files.mf
    233386%{_datadir}/aclocal/%{name}.m4
    234 %{_datadir}/%{name}/
    235 %{rpm_macros_dir}/macros.%{name}
     387#%{_datadir}/bash-completion
     388%if %{with emacs}
     389%{_emacs_sitelispdir}
     390%{_emacs_sitestartdir}
     391%endif
    236392
    237393
     
    239395# Pickup license-files from main-pkg's license-dir
    240396# If there's no license-dir they are picked up by %%doc previously
    241 %{?_licensedir:%license %{_datadir}/licenses/%{name}*}
    242 %doc %{_pkgdocdir}/
     397#%{?_licensedir:%license %{_datadir}/licenses/%{name}*}
     398%doc %{_pkgdocdir}
     399
     400
     401%files filesystem -f data_dirs.mf -f lib_dirs.mf
    243402
    244403
     
    246405%files gui
    247406%{_bindir}/%{name}-gui.exe
    248 %if %{with desktop}
     407%if %{with appdata}
     408%{_metainfodir}/*.appdata.xml
    249409%{_datadir}/applications/CMake%{?name_suffix}.desktop
    250410%{_datadir}/mime/packages/
    251411%{_datadir}/icons/hicolor/*/apps/CMake%{?name_suffix}Setup.png
    252412%endif
    253 %if 0%{?with_sphinx:1}
     413%if %{with sphinx}
    254414%{_mandir}/man1/%{name}-gui.1.*
    255415%endif
     
    257417
    258418
     419%files rpm-macros
     420%{rpm_macros_dir}/macros.%{name}
     421%if %{with rpm} && 0%{?_rpmconfigdir:1}
     422%{_rpmconfigdir}/fileattrs/%{name}.attr
     423%{_rpmconfigdir}/%{name}.prov
     424%{_rpmconfigdir}/%{name}.req
     425%endif
     426
     427
    259428%changelog
     429* Mon Sep 16 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.10.3-1
     430- update to vendor version 3.10.3
     431
    260432* Wed Jan 25 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.7.0-2
    261433- adjust def file creation
  • spec/trunk/SPECS/crosti.spec

    r1641 r1695  
    1010#Source0:       http://downloads.sourceforge.net/project/crosti/%{name}-%{version}-source.zip
    1111%scm_source github https://sourceforge.net/projects/crosti/files/latest/download crosti-1.14.0-source
    12 #BuildRequires: pkgconfig(QtCore)
    13 #BuildRequires: pkgconfig(QtGui)
     12BuildRequires:  pkgconfig(Qt5Core)
     13BuildRequires:  pkgconfig(Qt5Gui)
    1414BuildRequires:  dos2unix
    1515BuildRequires:  unzip
     
    4141LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    4242
    43 qmake -r crosti.pro
     43qmake-qt5 -r crosti.pro
    4444
    4545make %{?_smp_mflags}
     
    5454mkdir -p %{buildroot}%{_bindir}/system/theme/theme1
    5555mkdir -p %{buildroot}%{_bindir}/system/translations
    56 %__install -Dm 0644 ./crosti.exe %{buildroot}%{_bindir}/crosti.exe
     56%__install -Dm 0644 ./release/crosti.exe %{buildroot}%{_bindir}/crosti.exe
    5757%__install -Dm 0644 ./src/crosti.desktop %{buildroot}/%{_datadir}/applications/crosti.desktop
    5858%__install -Dm 0644 ./src/crosti.xml %{buildroot}/%{_datadir}/mime/packages/crosti.xml
  • spec/trunk/SPECS/dos2unix.spec

    r1094 r1695  
    11Summary:       Text file format converters
    22Name:          dos2unix
    3 Version:       7.3.4
     3Version:       7.4.1
    44Release:       1%{?dist}
    55Group:         Applications/Text
     
    88
    99Vendor:        bww bitwise works GmbH
    10 %scm_source  svn http://svn.netlabs.org/repos/ports/dos2unix/trunk 2012
     10%scm_source github https://git.code.sf.net/p/dos2unix/dos2unix dos2unix-dos2unix
    1111
    1212BuildRequires: gettext
    13 #BuildRequires: perl-Pod-Checker
     13BuildRequires: perl-Pod-Checker
    1414Provides: unix2dos = %{version}-%{release}
    1515Obsoletes: unix2dos < 5.1-1
     
    2525
    2626%build
     27export LDFLAGS="-Zomf -Zmap -Zhigh-mem -Zargs-wild -Zargs-resp"
     28export LIBS="-lcx"
    2729export prefix=%{_prefix}
    28 export LIBS_EXTRA=-lcx
    2930make %{?_smp_mflags}
    3031
  • spec/trunk/SPECS/doxygen.spec

    r1650 r1695  
    11# set this to 1 to enable
    2 %global with_docs 0
     2%global with_docs 1
    33%global with_latex 0
    44%global xapian_core_support OFF
     
    1414Url: http://www.doxygen.nl
    1515Vendor: bww bitwise works GmbH
    16 %scm_source  github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2
    17 
     16%scm_source  svn http://svn.netlabs.org/repos/ports/doxygen/trunk 1956
    1817BuildRequires: %{_bindir}/python2
    1918
    2019BuildRequires: gcc perl
    2120%if %{with_docs}
    22 BuildRequires: tex(dvips)
    23 BuildRequires: tex(latex)
    24 BuildRequires: tex(multirow.sty)
    25 BuildRequires: tex(sectsty.sty)
    26 BuildRequires: tex(tocloft.sty)
    27 BuildRequires: tex(xtab.sty)
    28 BuildRequires: tex(import.sty)
    29 BuildRequires: tex(tabu.sty)
    30 BuildRequires: tex(appendix.sty)
    31 BuildRequires: /@unixroot/usr/bin/epstopdf
    32 BuildRequires: texlive-epstopdf
    33 BuildRequires: graphviz
     21#BuildRequires: tex(dvips)
     22#BuildRequires: tex(latex)
     23#BuildRequires: tex(multirow.sty)
     24#BuildRequires: tex(sectsty.sty)
     25#BuildRequires: tex(tocloft.sty)
     26#BuildRequires: tex(xtab.sty)
     27#BuildRequires: tex(import.sty)
     28#BuildRequires: tex(tabu.sty)
     29#BuildRequires: tex(appendix.sty)
     30#BuildRequires: /@unixroot/usr/bin/epstopdf
     31#BuildRequires: texlive-epstopdf
     32#BuildRequires: graphviz
    3433%endif
    3534BuildRequires: ghostscript
     
    8887
    8988%build
    90 export LDFLAGS="-Zhigh-mem -Zomf -lcx"
    91 export VENDOR="%{vendor}"
    9289
    9390mkdir -p %{_build}
     
    9592#      -DBUILD_SHARED_LIBS=OFF \
    9693%cmake \
    97 %if %{with_docs}
    9894      -Dbuild_doc=ON \
    99 %lse
    100       -Dbuild_doc=OFF \
    101 %endif
    10295      -Dbuild_wizard=ON \
    10396      -Dbuild_xmlparser=ON \
  • spec/trunk/SPECS/fluidsynth.spec

    r1682 r1695  
    11Summary:      Real-time software synthesizer
    22Name:         fluidsynth
    3 Version:      2.1.0
     3Version:      2.1.1
    44Release:      1%{?dist}
    55URL:          http://www.fluidsynth.org/
    6 #Source0:      https://github.com/Fluidsynth/fluidsynth/archive/v%{version}/fluidsynth-%{version}.tar.gz
     6#Source0:     https://github.com/Fluidsynth/fluidsynth/archive/v%{version}/fluidsynth-%{version}.tar.gz
    77License:      LGPLv2+
    88Requires:     fluidsynth-libs%{?_isa} = %{version}-%{release}
     
    6363for building programs that link against fluidsynth.
    6464
    65 %debug_package
    66 
    6765%prep
    68 #%setup -q
    69 #%patch0 -p1 -b .no.date
    7066%scm_setup
    7167
     
    10096%{_bindir}/fluid*
    10197%{_mandir}/man1/fluidsynth*
    102 %exclude %{_bindir}/fluidsy2.dll
    103 %exclude %{_bindir}/fluidsynth.dbg
    104 %exclude %{_bindir}/fluidsy2.dbg
     98#%exclude %{_bindir}/fluidsy2.dll
     99#%exclude %{_bindir}/fluidsynth.dbg
     100#%exclude %{_bindir}/fluidsy2.dbg
    105101
    106102%files libs
     
    121117
    122118%changelog
     119* Mon Mar 02 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.1-1
     120- Updated to latest source
     121
    123122* Fri Dec 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.1.0-1
    124123- Updated to latest source
  • spec/trunk/SPECS/giflib.spec

    r1523 r1695  
    11Name:          giflib
    22Summary:       A library and utilities for processing GIFs
    3 Version:       5.1.4
    4 Release:       2%{?dist}
     3Version:       5.2.1
     4Release:       1%{?dist}
    55
    66License:       MIT
    77URL:           http://www.sourceforge.net/projects/%{name}/
    88#Source:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
    9 %scm_source git file://e:/gcc/giflib-5.1.4 giflib-5.1.4
    10 
     9%scm_source github https://git.code.sf.net/p/giflib/code giflib-5.2.1
     10                   
    1111BuildRequires: gcc
    1212BuildRequires: make
     
    3535format image files.
    3636
     37%debug_package
    3738
    3839%prep
     
    5657rm -f %{buildroot}%{_libdir}/libgif.la
    5758
    58 emximp -o %{buildroot}%{_libdir}/gif_dll.lib %{buildroot}%{_libdir}/gif7.dll
    59 emximp -o %{buildroot}%{_libdir}/gif7_dll.lib %{buildroot}%{_libdir}/gif7.dll
     59#emximp -o %{buildroot}%{_libdir}/gif_dll.lib %{buildroot}%{_libdir}/gif7.dll
     60#emximp -o %{buildroot}%{_libdir}/gif7_dll.lib %{buildroot}%{_libdir}/gif7.dll
    6061
    6162# Remove makefile relics from documentation
     
    7576%{_libdir}/gif7.dll
    7677%{_libdir}/gif*.a
    77 %{_libdir}/gif*.lib
     78#%{_libdir}/gif*.lib
    7879%{_includedir}/gif_lib.h
    7980
     
    8283#%{_mandir}/man1/gif*.1*
    8384
     85%changelog
     86* Sun Jul 07 2019 Elbert Pol <elbert.pol@gmail.com> - 5.2.1-1
     87- Updated to latest source
     88- Add debug package
    8489
    85 %changelog
    8690* Mon Nov 19 2018 Elbert Pol <elbert.pol@gmail.com> - 5.1.4-2
    8791- Some spec changes
  • spec/trunk/SPECS/luckybackup.spec

    r1417 r1695  
    1 #%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
    2 Name:           luckybackup
    3 Version:        0.4.9
    4 Release:        2%{?dist}
    5 Summary:        A powerful, fast and reliable backup and sync tool
     1#
     2# spec file for package luckybackup
     3#
     4# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
     5#
     6# All modifications and additions to the file contributed by third parties
     7# remain the property of their copyright owners, unless otherwise agreed
     8# upon. The license for this file, and modifications and additions to the
     9# file, is the same license as for the pristine package itself (unless the
     10# license for the pristine package is not an Open Source License, in which
     11# case the license is the MIT License). An "Open Source License" is a
     12# license that conforms to the Open Source Definition (Version 1.9)
     13# published by the Open Source Initiative.
    614
    7 Group:          Applications/System
    8 License:        GPLv3+
    9 URL:            http://luckybackup.sourceforge.net/index.html
    10 #Source0:       http://downloads.sourceforge.net/project/%{name}/%{version}/source/%{name}-%{version}.tar.gz
    11 %scm_source github http://github.com/TeLLie/%{name}-os2 master
    12 Source1:        %{name}.policy
    13 
    14 BuildRequires:  libqt4-devel
    15 #Buildrequires: desktop-file-utils
    16 Buildrequires:  gcc
    17 #BuildRequires: c++
    18 #Requires:      polkit
     15# Please submit bugfixes or comments via https://bugs.opensuse.org/
     16#
     17Name:           luckybackup
     18Version:        0.5.0
     19Release:        1
     20Summary:        A powerful, fast and reliable backup & sync tool
     21License:        GPL-3.0-or-later
     22Group:          Productivity/Archiving/Backup
     23URL:            http://luckybackup.sourceforge.net/
     24Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
     25BuildRequires:  pkgconfig
     26BuildRequires:  pkgconfig(Qt5Core)
     27BuildRequires:  pkgconfig(Qt5Gui)
     28BuildRequires:  pkgconfig(Qt5Network)
     29BuildRequires:  pkgconfig(Qt5Widgets)
     30#Requires:       polkit
     31Requires:       rsync
     32%if 0%{?suse_version}
     33BuildRequires:  update-desktop-files
     34%endif
    1935
    2036%description
    21 luckyBackup is an application that backs-up and/or synchronizes any
    22 directories with the power of rsync.
     37luckyBackup is an application that backs-up and/or synchronizes any directories
     38with the power of rsync.
    2339
    24 It is simple to use, fast (transfers over only changes made and not all data), 
    25 safe (keeps your data safe by checking all declared directories before 
    26 proceeding in any data manipulation ), reliable and fully customizable.
     40It is simple to use, fast (transfers over only changes made and not all data),
     41safe (keeps your data safe by checking all declared directories before
     42proceeding in any data manipulation), reliable and fully customizable.
    2743
    2844%prep
    29 %scm_setup
    30 #%setup -q
    31 #sed -i 's,/usr/share/doc/luckybackup,%{_pkgdocdir},' luckybackup.pro
    32 #sed -i 's,/usr/share/doc/luckybackup/license/gpl.html,%{_pkgdocdir}/license/gpl.html,' src/global.h
    33 #sed -i 's,/usr/share/doc/luckybackup/manual/index.html,%{_pkgdocdir}/manual/index.html,' src/global.h
    34 #sed -i 's,su-to-root -X -c,/usr/bin/pkexec,' menu/%{name}-gnome-su.desktop
    35 #sed -i '/Fedora users/d' manual/index.html
    36 #chmod a-x manual/index.html
     45%setup -q
     46# Fix permissions (fixes rpmlint errors "spurious-executable-perm" and "executable-docs")
     47chmod 644 manual/index.html
    3748
    3849%build
    39 qmake
    40 #%make_build CFLAGS="$RPM_OPT_FLAGS"
    41 export QMAKE_SH=$SHELL
     50#export QMAKE_SH=$SHELL
    4251# do a fast qt build, as runmapsym and wmapsym is not needed here
    43 export FAST_BUILD=1
     52#export FAST_BUILD=1
    4453LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    45 #TARGET_INSTALL_PATH="%{_bindir}/*"
     54
     55#qmake-qt5 QMAKE_CXXFLAGS+="%{optflags}" -config release luckybackup.pro
     56qmake-qt5
    4657make %{?_smp_mflags}
    47 echo 686-OS/2-OS/2 > luckybackup.sym
    4858
    4959%install
    50 INSTALL_ROOT=%{buildroot} \
    51   make install DESTDIR=%{buildroot}
    52 install -m 0755 -d %{buildroot}%{_datadir}/polkit-1/actions/
    53 install -m 0644 -p %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/
     60make INSTALL_ROOT=%{buildroot} install
    5461
    55 %check
    56 #desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-kde-su.desktop
    57 #desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gnome-su.desktop
    58 #desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
     62# Remove unneeded files
     63rm -rf %{buildroot}%{_bindir}/translations/*.ts
     64rm -rf %{buildroot}%{_datadir}/doc/luckybackup/
     65rm -rf %{buildroot}%{_datadir}/menu/
    5966
    60 # Remove unused files
    61 rm -rf  D:/rpmbuild/BUILDROOT/luckybackup-0.4.9-1.i386/@unixroot/usr/bin.sym
    62 rm -rf %{_bindir}/%{name}*.ts
     67%if 0%{?suse_version}
     68%suse_update_desktop_file -r %{name} Qt Utility Archiving
     69%suse_update_desktop_file -r %{name}-su Qt Utility Archiving
     70%endif
    6371
    6472%files
    65 %doc readme/README readme/changelog
    66 %license license/gpl.txt
    67 %{_bindir}/%{name}.exe
    68 %{_bindir}/translations/*.*
    69 %{_bindir}/%{name}.sym
    70 #%{_datadir}/applications/%{name}-%{version}
    71 %{_datadir}/polkit-1/actions/%{name}.policy
    72 #%{_datadir}/%{name}
    73 %{_datadir}/man/man8/*.8.*
    74 #%{_datadir}/menu
    75 #%{_datadir}/pixmaps/%{name}*
    76 #%{_docdir}/%{name}/*
     73%doc license/ manual/ readme/*
     74#%dir %{_datadir}/polkit-1
     75#%dir %{_datadir}/polkit-1/actions
     76%{_bindir}/luckybackup.exe
     77#%exclude %{_bindir}/luckybackup-pkexec
     78#%{_datadir}/applications/luckybackup*.desktop
     79%{_bindir}/
     80%{_datadir}/pixmaps/luckybackup.*
     81#%{_datadir}/polkit-1/actions/net.luckybackup.su.policy
     82%{_mandir}/man8/luckybackup*8*
    7783
    7884%changelog
    79 * Wed May 23 2018 Elbert Pol <elbert.pol@gmail.com> - 0.4.9-2
    80 - Remove the polkit dependencie
    81 * Sun May 13 2018 Elbert Pol <elbert.pol@gmail.com> - 0.4.9-1
    82 - Initial build for OS2
  • spec/trunk/SPECS/lzip.spec

    r1583 r1695  
    99#Source1:        http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz.sig
    1010%scm_source github http://github.com/TeLLie/%{name}-os2 master
     11
     12git clone https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzip
    1113BuildRequires:  gcc
    1214
  • spec/trunk/SPECS/par2cmdline.spec

    r1452 r1695  
    11Name: par2cmdline
    2 Version: 0.8.0
     2Version: 0.8.1
    33Release: 1%{?dist}
    44Summary: PAR 2.0 compatible file verification and repair tool
     
    77URL: https://github.com/Parchive/par2cmdline/
    88#Source0: https://github.com/Parchive/par2cmdline/releases/download/v%{version}/par2cmdline-%{version}.tar.bz2
    9 %scm_source git file://e:/gcc/par2cmdline-0.8.0 par2cmdline-0.8.0
     9%scm_source github https://github.com/Parchive/par2cmdline master
     10
    1011
    1112#BuildRequires: gcc-c++
  • spec/trunk/SPECS/tinyxml2.spec

    r1630 r1695  
    11Name:           tinyxml2
    2 Version:        7.0.1
    3 Release:        2%{?dist}
     2Version:        7.1.0
     3Release:        1%{?dist}
    44Summary:        Simple, small and efficient C++ XML parser
    55
     
    77URL:            https://github.com/leethomason/tinyxml2
    88#Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
    9 %scm_source git file://e:/gcc/tinyxml2 tinyxml2-master
    10 
     9%scm_source github https://github.com/TeLLie/tinyxml2.git master
    1110BuildRequires:  cmake >= 2.6
    1211BuildRequires:  gcc
     
    4443mkdir objdir
    4544cd objdir
    46 %cmake ..
     45
     46sh c:/usr/bin/conf.txt
    4747make %{?_smp_mflags}
    4848
     
    6464cd objdir
    6565make install DESTDIR=%{buildroot}
    66 cp D:/rpmbuild/Build/tinyxml2-7.0.1/objdir/*.dll %{buildroot}%{_libdir}
     66cp D:/rpmbuild/Build/tinyxml2-7.1.0/objdir/*.dll %{buildroot}%{_libdir}
    6767#rm %{buildroot}%{_bindir}/tinyxml7.dll
    6868
     
    8383
    8484%changelog
     85* Tue Dec 17 2019 Elbert Pol <elbert.pol@gmail.com> - 7.1.0-1
     86- Update to latest source
     87
    8588* Sun May 05 2019 Elbert Pol <elbert.pol@gmail.com> - 7.0.1-2
    8689- Add debug package
Note: See TracChangeset for help on using the changeset viewer.