Package verlihub: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | %define rel -RC2 %define verlihub_user _verlihub %define verlihub_group _verlihub %define verlihub_home %_logdir/%name Name: verlihub Version: 0.9.8e Release: alt3 Summary: Direct Connect (p2p) Server License: GPL Group: Networking/File transfer Url: http://www.verlihub-project.org Packager: Vitaly Lipatov <lav@altlinux.ru> Source: verlihub-%version%rel.tar Patch: verlihub-fix-build.patch Patch1: %name-%version-alt-gcc6.patch Patch2: %name-g++8.patch # Automatically added by buildreq on Fri Mar 21 2008 BuildRequires: gcc-c++ glibc-devel libGeoIP-devel libMySQL-devel libpcre-devel zlib-devel Requires: /usr/bin/mysql %description This program let's you have a p2p server for file sharing. %package -n lib%name-devel Summary: The files needed for %name development Summary(ru_RU.KOI8-R): \xe6\xc1\xca\xcc\xd9, \xd4\xd2\xc5\xc2\xd5\xc0\xdd\xc9\xc5\xd3\xd1 \xc4\xcc\xd1 \xd2\xc1\xda\xd2\xc1\xc2\xcf\xd4\xcb\xc9 \xd0\xd2\xc9\xcc\xcf\xd6\xc5\xce\xc9\xca \xd3 \xc9\xd3\xd0\xcf\xcc\xd8\xda\xcf\xd7\xc1\xce\xc9\xc5\xcd %name Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel The lib%name-devel package contains the necessary include files for developing applications with %name %package -n lib%name Summary: The library files needed for %name Group: Networking/File transfer %description -n lib%name The lib%name package contains the necessary library for %name %prep %setup -n %name %patch -p2 %patch1 -p2 %patch2 -p2 %build export PTHREAD_LIBS=-lpthread %autoreconf %configure --disable-static %make_build %install %makeinstall_std install -d -m1775 %buildroot%_var/run/%name install -d -m1775 %buildroot%_var/log/%name install -d %buildroot%_sysconfdir/%name/plugins install -d %buildroot%_sysconfdir/%name/scripts ln -s ../../..%_libdir/libplug_pi.so.0.0.0 %buildroot%_sysconfdir/%name/plugins %pre /usr/sbin/groupadd -r -f %verlihub_group ||: /usr/sbin/useradd -g %verlihub_group -c 'The verlihub Daemon' \ -d %verlihub_home -s /dev/null -r %verlihub_user >/dev/null 2>&1 ||: %files %doc AUTHORS README* ChangeLog TODO %dir %attr(0750,root,%verlihub_group) %_sysconfdir/%name %dir %attr(0750,root,%verlihub_group) %_sysconfdir/%name/plugins %dir %attr(0750,root,%verlihub_group) %_sysconfdir/%name/scripts %dir %attr(1775,root,%verlihub_group) %_var/run/%name %dir %attr(1775,root,%verlihub_group) %_var/log/%name %_sysconfdir/%name/plugins/* %_bindir/verlihub %_bindir/vh_* %_datadir/%name/ %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_bindir/verlihub_config %_libdir/*.so %_includedir/%name/ %changelog * Wed Feb 13 2019 Andrey Bychkov <mrdrew@altlinux.org> 0.9.8e-alt3 - no return statement in the non-void function fixed (according g++8) * Mon Jul 10 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.9.8e-alt2 - Fixed build with gcc-6 * Wed Apr 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.9.8e-alt1.2.1 - (NMU) rebuild with gcc5-c++ (for new C++ ABI). * Wed Apr 03 2013 Andrey Cherepanov <cas@altlinux.org> 0.9.8e-alt1.2 - Fix build with new glibc * Wed Nov 10 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.8e-alt1.1 - Rebuilt for soname set-versions * Wed Jun 03 2009 Vladimir V. Kamarzin <vvk@altlinux.org> 0.9.8e-alt1 - 0.9.8e * Tue Dec 09 2008 Vladimir V. Kamarzin <vvk@altlinux.org> 0.9.8d-alt4 - Remove obsolete %%post_ldconfig/%%postun_ldconfig calls * Mon Oct 27 2008 Vladimir V. Kamarzin <vvk@altlinux.org> 0.9.8d-alt3 - Fix build with gcc4.3 (patch from debian) * Wed Jul 09 2008 Vladimir V Kamarzin <vvk@altlinux.ru> 0.9.8d-alt2 - Merge older vvk's and thresh's builds with sisyphus version: + vh_install.in: default port changed to 4111 + vh_runhub.in: fixed log/pid placement + Add pseudouser creation at %%pre stage + Package directory for config files + Package directories for logs and pidfile + Add README.ALT - Apply db_charset.patch http://dc.hovel.ru/mysql41 - Add dependency on /usr/bin/mysql * Fri Mar 21 2008 Vitaly Lipatov <lav@altlinux.ru> 0.9.8d-alt1 - initial build for ALT Linux Sisyphus * Sun Nov 19 2006 Pavlov Konstantin <thresh@altlinux.ru> 0.9.9-alt0.CVS20061119 - Moved package to GIT: + upstream branch contains CVS from upstream + master branch contains patched source and all other stuff to build RPM. - Merged patches: + verlihub-0.9.8c-include.patch + verlihub-0.9.8c-vh_install.patch + verlihub-0.9.8c-vh_runhub.patch + verlihub-0.9.8c-timeyear.patch - Not merged: + verlihub-0.9.8c-gcc4.patch (merged upstream already). - CVS from 20061119. * Sun Jun 18 2006 Pavlov Konstantin <thresh@altlinux.ru> 0.9.8c-alt3.rc2 - gcc4 patch. * Sun Jan 22 2006 Pavlov Konstantin <thresh@altlinux.ru> 0.9.8c-alt2.rc2 - added time patch. * Fri Dec 16 2005 Vladimir V Kamarzin <vvk@altlinux.ru> 0.9.8c-alt1.rc2 - Initial build for Sisyphus |