Changeset 1695
- Timestamp:
- Apr 7, 2020, 8:01:09 PM (5 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 1 added
- 1 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/clipgrab.spec
r1588 r1695 26 26 Url: https://clipgrab.org 27 27 #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 31 29 %scm_source github http://github.com/TeLLie/%{name}-os2 master 30 32 31 #BuildRequires: ImageMagick 33 32 #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 5 14 6 15 # Set to bcond_with or use --without gui to disable qt4 gui build 7 16 %bcond_without gui 8 17 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 11 35 12 36 # Place rpm-macros into proper location … … 16 40 %{!?_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}} 17 41 18 # enable this when we have Sphinx-build19 %bcond_with sphinx20 21 42 %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} 23 51 %global orig_name cmake 24 52 25 53 26 54 Name: %{orig_name}%{?name_suffix} 27 Version: %{major_version}.%{minor_version}. 028 Release: 2%{?dist}55 Version: %{major_version}.%{minor_version}.3 56 Release: 1%{?dist} 29 57 Summary: Cross-platform make system 30 58 … … 37 65 URL: http://www.cmake.org 38 66 Vendor: 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 40 68 Source2: macros.%{name} 41 42 69 # See https://bugzilla.redhat.com/show_bug.cgi?id=1202899 70 Source3: %{name}.attr 71 Source4: %{name}.prov 72 Source5: %{name}.req 73 74 BuildRequires: coreutils 75 BuildRequires: findutils 76 BuildRequires: gcc 43 77 #BuildRequires: gcc-gfortran 44 #BuildRequires: ncurses-devel, libX11-devel 78 BuildRequires: sed 79 BuildRequires: git 80 %if %{with X11_test} 81 BuildRequires: libX11-devel 82 %endif 83 %if %{with ncurses} 84 BuildRequires: ncurses-devel 85 %endif 86 %if %{with sphinx} 87 BuildRequires: %{_bindir}/sphinx-build 88 %endif 89 %if %{without bootstrap} 45 90 BuildRequires: bzip2-devel 46 91 BuildRequires: curl-devel … … 49 94 #BuildRequires: libarchive-devel 50 95 #BuildRequires: libuv-devel 51 %if 0%{?with_sphinx:1} 52 BuildRequires: /@unixroot/usr/bin/sphinx-build 53 %endif 96 #BuildRequires: rhash-devel 54 97 BuildRequires: xz-devel 55 98 BuildRequires: zlib-devel 56 #BuildRequires: emacs 99 %endif 100 %if %{with emacs} 101 BuildRequires: emacs 102 %endif 103 %if %{with rpm} 104 %if %{with python3} 105 %{!?python3_pkgversion: %global python3_pkgversion 3} 106 BuildRequires: python%{python3_pkgversion}-devel 107 %else 57 108 BuildRequires: python2-devel 109 %endif 110 %endif 58 111 %if %{with gui} 59 BuildRequires: libqt4-devel 60 #BuildRequires: desktop-file-utils 61 %global qt_gui --qt-gui 112 BuildRequires: pkgconfig(Qt5Widgets) 113 %if %{with appdata} 114 BuildRequires: desktop-file-utils 115 %endif 116 %endif 117 118 %if %{without bootstrap} 119 # Ensure we have our own rpm-macros in place during build. 120 BuildRequires: %{name}-rpm-macros 62 121 %endif 63 122 64 123 Requires: %{name}-data = %{version}-%{release} 65 Requires: rpm 124 Requires: %{name}-rpm-macros = %{version}-%{release} 125 Requires: %{name}-filesystem = %{version}-%{release} 66 126 67 127 # Provide the major version name … … 81 141 Summary: Common data-files for %{name} 82 142 Requires: %{name} = %{version}-%{release} 143 Requires: %{name}-filesystem = %{version}-%{release} 144 Requires: %{name}-rpm-macros = %{version}-%{release} 145 %if %{with emacs} 146 Requires: emacs-filesystem%{?_emacs_version: >= %{_emacs_version}} 147 %endif 148 83 149 BuildArch: noarch 84 150 … … 95 161 96 162 163 %package filesystem 164 Summary: Directories used by CMake modules 165 166 %description filesystem 167 This package owns all directories used by CMake modules. 168 169 170 %if %{with gui} 97 171 %package gui 98 172 Summary: Qt GUI for %{name} 99 173 100 174 Requires: %{name} = %{version}-%{release} 101 #Requires: hicolor-icon-theme 102 #Requires: shared-mime-info 175 %if %{with appdata} 176 Requires: hicolor-icon-theme 177 Requires: shared-mime-info 178 %endif 103 179 104 180 %description gui 105 181 The %{name}-gui package contains the Qt based GUI for %{name}. 182 %endif 183 184 185 %package rpm-macros 186 Summary: Common RPM macros for %{name} 187 Requires: rpm 188 # when subpkg introduced 189 Conflicts: cmake-data < 3.10.1-2 190 191 BuildArch: noarch 192 193 %description rpm-macros 194 This package contains common RPM macros for %{name}. 106 195 107 196 … … 110 199 111 200 %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} 205 echo '#!%{__python3}' > %{name}.prov 206 echo '#!%{__python3}' > %{name}.req 114 207 %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}") 208 echo '#!%{__python2}' > %{name}.prov 209 echo '#!%{__python2}' > %{name}.req 210 %endif 211 tail -n +2 %{SOURCE4} >> %{name}.prov 212 tail -n +2 %{SOURCE5} >> %{name}.req 119 213 %endif 120 214 … … 128 222 cd build 129 223 # --%{?with_bootstrap:no-}system-libs \ 224 # --parallel=`/usr/bin/getconf _NPROCESSORS_ONLN` \ 130 225 ../bootstrap --prefix=%{_prefix} --datadir=/share/%{name} \ 131 226 --docdir=/share/doc/%{name} --mandir=/share/man \ 132 227 --verbose --system-bzip2 --system-curl --system-expat \ 133 228 --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 ; 237 make VERBOSE=1 139 238 140 239 141 240 %install 142 cd build 143 make install DESTDIR=%{buildroot} 241 rm -rf %{buildroot} 242 mkdir -p %{buildroot}%{_pkgdocdir} 243 %make_install -C build CMAKE_DOC_DIR=%{buildroot}%{_pkgdocdir} 144 244 find %{buildroot}/%{_datadir}/%{name}/Modules -type f | xargs chmod -x 145 245 [ -n "$(find %{buildroot}/%{_datadir}/%{name}/Modules -name \*.orig)" ] && 146 246 echo "Found .orig files in %{_datadir}/%{name}/Modules, rebase patches" && 147 247 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 258 mkdir -p %{buildroot}%{_emacs_sitelispdir}/%{name} 259 install -p -m 0644 Auxiliary/cmake-mode.el %{buildroot}%{_emacs_sitelispdir}/%{name}/%{name}-mode.el 260 %{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/%{name}/%{name}-mode.el 261 mkdir -p %{buildroot}%{_emacs_sitestartdir} 262 install -p -m 0644 %SOURCE1 %{buildroot}%{_emacs_sitestartdir} 263 %endif 150 264 # RPM macros 151 265 install -p -m0644 -D %{SOURCE2} %{buildroot}%{rpm_macros_dir}/macros.%{name} 152 266 sed -i -e "s|@@CMAKE_VERSION@@|%{version}|" -e "s|@@CMAKE_MAJOR_VERSION@@|%{major_version}|" %{buildroot}%{rpm_macros_dir}/macros.%{name} 153 267 touch -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 270 install -p -m0644 -D %{SOURCE3} %{buildroot}%{_prefix}/lib/rpm/fileattrs/%{name}.attr 271 install -p -m0755 -D %{name}.prov %{buildroot}%{_prefix}/lib/rpm/%{name}.prov 272 install -p -m0755 -D %{name}.req %{buildroot}%{_prefix}/lib/rpm/%{name}.req 273 %endif 274 mkdir -p %{buildroot}%{_libdir}/%{orig_name} 156 275 # Install copyright files for main package 157 276 find Source Utilities -type f -iname copy\* | while read f … … 162 281 cp -p $f ./${fname}_${dname} 163 282 done 164 165 283 # Cleanup pre-installed documentation 166 %if 0%{?with_sphinx:1}284 %if %{with sphinx} 167 285 mv %{buildroot}%{_docdir}/%{name}/html . 168 286 %endif … … 172 290 cp -pr %{buildroot}%{_datadir}/%{name}/Help %{buildroot}%{_pkgdocdir} 173 291 mv %{buildroot}%{_pkgdocdir}/Help %{buildroot}%{_pkgdocdir}/rst 174 %if 0%{?with_sphinx:1}292 %if %{with sphinx} 175 293 mv html %{buildroot}%{_pkgdocdir} 176 294 %endif 177 295 178 %if %{with desktop}296 %if %{with gui} 179 297 # Desktop file 298 %if %{with appdata} 180 299 desktop-file-install --delete-original \ 181 300 --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 # 310 mkdir -p %{buildroot}%{_metainfodir} 311 cat > %{buildroot}%{_metainfodir}/cmake-gui.appdata.xml <<EOF 312 <?xml version="1.0" encoding="UTF-8"?> 313 <!-- Copyright 2014 Ryan Lerch <rlerch@redhat.com> --> 314 <!-- 315 EmailAddress: kitware@kitware.com 316 SentUpstream: 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> 338 EOF 339 %endif 340 %endif 341 342 # create manifests for splitting files and directories for filesystem-package 343 find %{buildroot}%{_datadir}/%{name} -type d | \ 344 sed -e 's!^%{buildroot}!%%dir "!g' -e 's!$!"!g' > data_dirs.mf 345 find %{buildroot}%{_datadir}/%{name} -type f | \ 346 sed -e 's!^%{buildroot}!"!g' -e 's!$!"!g' > data_files.mf 347 find %{buildroot}%{_libdir}/%{orig_name} -type d | \ 348 sed -e 's!^%{buildroot}!%%dir "!g' -e 's!$!"!g' > lib_dirs.mf 349 find %{buildroot}%{_libdir}/%{orig_name} -type f | \ 350 sed -e 's!^%{buildroot}!"!g' -e 's!$!"!g' > lib_files.mf 351 find %{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} 186 356 %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 357 cd build 358 #CMake.FileDownload, CTestTestUpload, and curl require internet access 359 # RunCMake.CPack_RPM is broken if disttag contains "+", bug #1499151 360 NO_TEST="CMake.FileDownload|CTestTestUpload|curl|RunCMake.CPack_RPM" 361 NO_TEST="$NO_TEST|CPackComponentsForAll-RPM-IgnoreGroup" 362 # RunCMake.File_Generate fails on S390X 363 %ifarch s390x 364 NO_TEST="$NO_TEST|RunCMake.File_Generate" 365 %endif 366 export NO_TEST 367 bin/ctest%{?name_suffix} -V -E "$NO_TEST" %{?_smp_mflags} 368 cd .. 369 %endif 370 371 372 %files -f lib_files.mf 215 373 %doc %dir %{_pkgdocdir} 216 374 %license Copyright.txt* 217 375 %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.* 224 378 %{_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.* 227 381 %{_mandir}/man7/*.7.* 228 382 %endif 229 %{_libdir}/%{name}/ 230 231 232 %files data 383 384 385 %files data -f data_files.mf 233 386 %{_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 236 392 237 393 … … 239 395 # Pickup license-files from main-pkg's license-dir 240 396 # 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 243 402 244 403 … … 246 405 %files gui 247 406 %{_bindir}/%{name}-gui.exe 248 %if %{with desktop} 407 %if %{with appdata} 408 %{_metainfodir}/*.appdata.xml 249 409 %{_datadir}/applications/CMake%{?name_suffix}.desktop 250 410 %{_datadir}/mime/packages/ 251 411 %{_datadir}/icons/hicolor/*/apps/CMake%{?name_suffix}Setup.png 252 412 %endif 253 %if 0%{?with_sphinx:1}413 %if %{with sphinx} 254 414 %{_mandir}/man1/%{name}-gui.1.* 255 415 %endif … … 257 417 258 418 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 259 428 %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 260 432 * Wed Jan 25 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 3.7.0-2 261 433 - adjust def file creation -
spec/trunk/SPECS/crosti.spec
r1641 r1695 10 10 #Source0: http://downloads.sourceforge.net/project/crosti/%{name}-%{version}-source.zip 11 11 %scm_source github https://sourceforge.net/projects/crosti/files/latest/download crosti-1.14.0-source 12 #BuildRequires: pkgconfig(QtCore)13 #BuildRequires: pkgconfig(QtGui)12 BuildRequires: pkgconfig(Qt5Core) 13 BuildRequires: pkgconfig(Qt5Gui) 14 14 BuildRequires: dos2unix 15 15 BuildRequires: unzip … … 41 41 LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 42 42 43 qmake -r crosti.pro43 qmake-qt5 -r crosti.pro 44 44 45 45 make %{?_smp_mflags} … … 54 54 mkdir -p %{buildroot}%{_bindir}/system/theme/theme1 55 55 mkdir -p %{buildroot}%{_bindir}/system/translations 56 %__install -Dm 0644 ./ crosti.exe %{buildroot}%{_bindir}/crosti.exe56 %__install -Dm 0644 ./release/crosti.exe %{buildroot}%{_bindir}/crosti.exe 57 57 %__install -Dm 0644 ./src/crosti.desktop %{buildroot}/%{_datadir}/applications/crosti.desktop 58 58 %__install -Dm 0644 ./src/crosti.xml %{buildroot}/%{_datadir}/mime/packages/crosti.xml -
spec/trunk/SPECS/dos2unix.spec
r1094 r1695 1 1 Summary: Text file format converters 2 2 Name: dos2unix 3 Version: 7. 3.43 Version: 7.4.1 4 4 Release: 1%{?dist} 5 5 Group: Applications/Text … … 8 8 9 9 Vendor: bww bitwise works GmbH 10 %scm_source svn http://svn.netlabs.org/repos/ports/dos2unix/trunk 201210 %scm_source github https://git.code.sf.net/p/dos2unix/dos2unix dos2unix-dos2unix 11 11 12 12 BuildRequires: gettext 13 #BuildRequires: perl-Pod-Checker13 BuildRequires: perl-Pod-Checker 14 14 Provides: unix2dos = %{version}-%{release} 15 15 Obsoletes: unix2dos < 5.1-1 … … 25 25 26 26 %build 27 export LDFLAGS="-Zomf -Zmap -Zhigh-mem -Zargs-wild -Zargs-resp" 28 export LIBS="-lcx" 27 29 export prefix=%{_prefix} 28 export LIBS_EXTRA=-lcx29 30 make %{?_smp_mflags} 30 31 -
spec/trunk/SPECS/doxygen.spec
r1650 r1695 1 1 # set this to 1 to enable 2 %global with_docs 02 %global with_docs 1 3 3 %global with_latex 0 4 4 %global xapian_core_support OFF … … 14 14 Url: http://www.doxygen.nl 15 15 Vendor: 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 18 17 BuildRequires: %{_bindir}/python2 19 18 20 19 BuildRequires: gcc perl 21 20 %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/epstopdf32 BuildRequires: texlive-epstopdf33 BuildRequires: graphviz21 #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 34 33 %endif 35 34 BuildRequires: ghostscript … … 88 87 89 88 %build 90 export LDFLAGS="-Zhigh-mem -Zomf -lcx"91 export VENDOR="%{vendor}"92 89 93 90 mkdir -p %{_build} … … 95 92 # -DBUILD_SHARED_LIBS=OFF \ 96 93 %cmake \ 97 %if %{with_docs}98 94 -Dbuild_doc=ON \ 99 %lse100 -Dbuild_doc=OFF \101 %endif102 95 -Dbuild_wizard=ON \ 103 96 -Dbuild_xmlparser=ON \ -
spec/trunk/SPECS/fluidsynth.spec
r1682 r1695 1 1 Summary: Real-time software synthesizer 2 2 Name: fluidsynth 3 Version: 2.1. 03 Version: 2.1.1 4 4 Release: 1%{?dist} 5 5 URL: http://www.fluidsynth.org/ 6 #Source0: 6 #Source0: https://github.com/Fluidsynth/fluidsynth/archive/v%{version}/fluidsynth-%{version}.tar.gz 7 7 License: LGPLv2+ 8 8 Requires: fluidsynth-libs%{?_isa} = %{version}-%{release} … … 63 63 for building programs that link against fluidsynth. 64 64 65 %debug_package66 67 65 %prep 68 #%setup -q69 #%patch0 -p1 -b .no.date70 66 %scm_setup 71 67 … … 100 96 %{_bindir}/fluid* 101 97 %{_mandir}/man1/fluidsynth* 102 %exclude %{_bindir}/fluidsy2.dll103 %exclude %{_bindir}/fluidsynth.dbg104 %exclude %{_bindir}/fluidsy2.dbg98 #%exclude %{_bindir}/fluidsy2.dll 99 #%exclude %{_bindir}/fluidsynth.dbg 100 #%exclude %{_bindir}/fluidsy2.dbg 105 101 106 102 %files libs … … 121 117 122 118 %changelog 119 * Mon Mar 02 2020 Elbert Pol <elbert.pol@gmail.com> - 2.1.1-1 120 - Updated to latest source 121 123 122 * Fri Dec 06 2019 Elbert Pol <elbert.pol@gmail.com> - 2.1.0-1 124 123 - Updated to latest source -
spec/trunk/SPECS/giflib.spec
r1523 r1695 1 1 Name: giflib 2 2 Summary: A library and utilities for processing GIFs 3 Version: 5. 1.44 Release: 2%{?dist}3 Version: 5.2.1 4 Release: 1%{?dist} 5 5 6 6 License: MIT 7 7 URL: http://www.sourceforge.net/projects/%{name}/ 8 8 #Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 9 %scm_source git file://e:/gcc/giflib-5.1.4 giflib-5.1.410 9 %scm_source github https://git.code.sf.net/p/giflib/code giflib-5.2.1 10 11 11 BuildRequires: gcc 12 12 BuildRequires: make … … 35 35 format image files. 36 36 37 %debug_package 37 38 38 39 %prep … … 56 57 rm -f %{buildroot}%{_libdir}/libgif.la 57 58 58 emximp -o %{buildroot}%{_libdir}/gif_dll.lib %{buildroot}%{_libdir}/gif7.dll59 emximp -o %{buildroot}%{_libdir}/gif7_dll.lib %{buildroot}%{_libdir}/gif7.dll59 #emximp -o %{buildroot}%{_libdir}/gif_dll.lib %{buildroot}%{_libdir}/gif7.dll 60 #emximp -o %{buildroot}%{_libdir}/gif7_dll.lib %{buildroot}%{_libdir}/gif7.dll 60 61 61 62 # Remove makefile relics from documentation … … 75 76 %{_libdir}/gif7.dll 76 77 %{_libdir}/gif*.a 77 %{_libdir}/gif*.lib78 #%{_libdir}/gif*.lib 78 79 %{_includedir}/gif_lib.h 79 80 … … 82 83 #%{_mandir}/man1/gif*.1* 83 84 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 84 89 85 %changelog86 90 * Mon Nov 19 2018 Elbert Pol <elbert.pol@gmail.com> - 5.1.4-2 87 91 - 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. 6 14 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 # 17 Name: luckybackup 18 Version: 0.5.0 19 Release: 1 20 Summary: A powerful, fast and reliable backup & sync tool 21 License: GPL-3.0-or-later 22 Group: Productivity/Archiving/Backup 23 URL: http://luckybackup.sourceforge.net/ 24 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz 25 BuildRequires: pkgconfig 26 BuildRequires: pkgconfig(Qt5Core) 27 BuildRequires: pkgconfig(Qt5Gui) 28 BuildRequires: pkgconfig(Qt5Network) 29 BuildRequires: pkgconfig(Qt5Widgets) 30 #Requires: polkit 31 Requires: rsync 32 %if 0%{?suse_version} 33 BuildRequires: update-desktop-files 34 %endif 19 35 20 36 %description 21 luckyBackup is an application that backs-up and/or synchronizes any 22 directorieswith the power of rsync.37 luckyBackup is an application that backs-up and/or synchronizes any directories 38 with the power of rsync. 23 39 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 40 It is simple to use, fast (transfers over only changes made and not all data), 41 safe (keeps your data safe by checking all declared directories before 42 proceeding in any data manipulation), reliable and fully customizable. 27 43 28 44 %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") 47 chmod 644 manual/index.html 37 48 38 49 %build 39 qmake 40 #%make_build CFLAGS="$RPM_OPT_FLAGS" 41 export QMAKE_SH=$SHELL 50 #export QMAKE_SH=$SHELL 42 51 # do a fast qt build, as runmapsym and wmapsym is not needed here 43 export FAST_BUILD=152 #export FAST_BUILD=1 44 53 LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 45 #TARGET_INSTALL_PATH="%{_bindir}/*" 54 55 #qmake-qt5 QMAKE_CXXFLAGS+="%{optflags}" -config release luckybackup.pro 56 qmake-qt5 46 57 make %{?_smp_mflags} 47 echo 686-OS/2-OS/2 > luckybackup.sym48 58 49 59 %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/ 60 make INSTALL_ROOT=%{buildroot} install 54 61 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 63 rm -rf %{buildroot}%{_bindir}/translations/*.ts 64 rm -rf %{buildroot}%{_datadir}/doc/luckybackup/ 65 rm -rf %{buildroot}%{_datadir}/menu/ 59 66 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 63 71 64 72 %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* 77 83 78 84 %changelog 79 * Wed May 23 2018 Elbert Pol <elbert.pol@gmail.com> - 0.4.9-280 - Remove the polkit dependencie81 * Sun May 13 2018 Elbert Pol <elbert.pol@gmail.com> - 0.4.9-182 - Initial build for OS2 -
spec/trunk/SPECS/lzip.spec
r1583 r1695 9 9 #Source1: http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz.sig 10 10 %scm_source github http://github.com/TeLLie/%{name}-os2 master 11 12 git clone https://git.progress-linux.org/users/daniel.baumann/debian/packages/lzip 11 13 BuildRequires: gcc 12 14 -
spec/trunk/SPECS/par2cmdline.spec
r1452 r1695 1 1 Name: par2cmdline 2 Version: 0.8. 02 Version: 0.8.1 3 3 Release: 1%{?dist} 4 4 Summary: PAR 2.0 compatible file verification and repair tool … … 7 7 URL: https://github.com/Parchive/par2cmdline/ 8 8 #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 10 11 11 12 #BuildRequires: gcc-c++ -
spec/trunk/SPECS/tinyxml2.spec
r1630 r1695 1 1 Name: tinyxml2 2 Version: 7. 0.13 Release: 2%{?dist}2 Version: 7.1.0 3 Release: 1%{?dist} 4 4 Summary: Simple, small and efficient C++ XML parser 5 5 … … 7 7 URL: https://github.com/leethomason/tinyxml2 8 8 #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 11 10 BuildRequires: cmake >= 2.6 12 11 BuildRequires: gcc … … 44 43 mkdir objdir 45 44 cd objdir 46 %cmake .. 45 46 sh c:/usr/bin/conf.txt 47 47 make %{?_smp_mflags} 48 48 … … 64 64 cd objdir 65 65 make install DESTDIR=%{buildroot} 66 cp D:/rpmbuild/Build/tinyxml2-7. 0.1/objdir/*.dll %{buildroot}%{_libdir}66 cp D:/rpmbuild/Build/tinyxml2-7.1.0/objdir/*.dll %{buildroot}%{_libdir} 67 67 #rm %{buildroot}%{_bindir}/tinyxml7.dll 68 68 … … 83 83 84 84 %changelog 85 * Tue Dec 17 2019 Elbert Pol <elbert.pol@gmail.com> - 7.1.0-1 86 - Update to latest source 87 85 88 * Sun May 05 2019 Elbert Pol <elbert.pol@gmail.com> - 7.0.1-2 86 89 - Add debug package
Note:
See TracChangeset
for help on using the changeset viewer.