Package jabber-jit: 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 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | %define dname jabberd-jit %define username _jabber_jit Name: jabber-jit Version: 1.2.1 Release: alt0.5 Summary: Jabber ICQ Transport Group: System/Servers License: %gpl2plus URL: http://omever.ya.ru/ #SVN URL: svn://ns1.mytlt.ru/jit/ Packager: Nikolay A. Fetisov <naf@altlinux.ru> Source: jit-%version.tar Source1: %name.xml Source2: %name.logrotate Source3: %name.init Source4: %name.adapter Patch1: %name-1.1.5-no-thanks-we-have-logrotate.patch Patch2: %name-1.2.1-alt-headers_fix.patch Patch3: %name-1.2.1-alt-time_header.patch Patch4: %name-1.2.1-alt-istream.patch Obsoletes: ejabberd-jit #Requires(post): jabber-common Requires(post): rpm-macros-jabber BuildRequires(pre): rpm-build-licenses jabber-common # Automatically added by buildreq on Mon Jan 23 2017 # optimized out: libstdc++-devel python-base python-modules python3 BuildRequires: gcc-c++ libmhash-devel python-module-distribute python-module-google python3-base ruby ruby-stdlibs %description Jabber ICQ Transport is a Jabber component which provides interoperability between ICQ and Jabber IM systems. JIT is based on a special fast jabberd core with pthreads. %prep %setup -q -n jit-%version %patch1 -p1 %patch2 %patch3 %patch4 pushd jit/jit ../../makeversion.sh popd %build subst '/^COMMON_CFLAGS/ s|-I%_includedir ||' platform-settings subst 's|^OUT_FILE=.*|OUT_FILE=jabber-jit|' platform-settings subst '/^COMMON_CFLAGS/ s|-g ||' platform-settings subst '/^CONFIG_FILE/ s|jabber.xml|jabber-jit.xml|' platform-settings %configure %make_build %install mkdir -p %buildroot%_sbindir \ %buildroot%_libdir/%name \ %buildroot%_sysconfdir/%name \ %buildroot%_spooldir/%name \ %buildroot%_initdir \ %buildroot%_docdir/%name-%version \ %buildroot%_sysconfdir/logrotate.d /bin/install jabberd/jabberd-jit %buildroot%_sbindir/jabber-jit /bin/install jit/jit.so %buildroot%_libdir/%name /bin/install xdb_file/xdb_file.so %buildroot%_libdir/%name /bin/install {README,AUTHORS} %buildroot%_docdir/%name-%version /bin/install -m644 LICENSE %buildroot%_docdir/%name-%version /bin/install doc/FAQ %buildroot%_docdir/%name-%version /bin/install jit/{INSTALL,*.example} %buildroot%_docdir/%name-%version /bin/install -m644 ChangeLog %buildroot%_docdir/%name-%version /bin/install -m640 %SOURCE1 %buildroot%_sysconfdir/%name/%name.xml /bin/install -m644 %SOURCE2 %buildroot%_sysconfdir/logrotate.d/%name /bin/install -m755 %SOURCE3 %buildroot%_initdir/%name /bin/install -pD -m0755 %SOURCE4 %buildroot%_jabber_component_dir/%name subst 's#@libdir@#%_libdir/%{name}#g' %buildroot%_initdir/%name \ %buildroot%_sysconfdir/%name/%name.xml subst 's#@configfile@#%_sysconfdir/%name/%name.xml#g' %buildroot%_jabber_component_dir/%name %pre %_sbindir/groupadd -r -f %username 2>/dev/null ||: %_sbindir/useradd -r -g %username -c 'jabber transport' -d %_datadir/%name \ -s /dev/null %username 2>/dev/null ||: %post %_jabber_config %post_service %name %preun %preun_service %name %files %_sbindir/%name %_libdir/%name %config(noreplace) %attr(0640,root,%username) %_sysconfdir/%name/%name.xml %dir %attr(1770,root,%username) %_spooldir/%name %_initdir/%name %_docdir/%name-%version %_sysconfdir/logrotate.d/%name %_jabber_component_dir/%name %changelog * Sat Jun 10 2017 Nikolay A. Fetisov <naf@altlinux.org> 1.2.1-alt0.5 - Fix build with GCC 6.3 * Thu Oct 18 2012 Nikolay A. Fetisov <naf@altlinux.ru> 1.2.1-alt0.4 - Fix build with GCC 4.7 * Sun Sep 09 2012 Nikolay A. Fetisov <naf@altlinux.ru> 1.2.1-alt0.3 - Fix build with GCC 4.6.3 * Tue May 26 2009 Nikolay A. Fetisov <naf@altlinux.ru> 1.2.1-alt0.2 - Fix build with GCC 4.4 * Wed Feb 04 2009 Nikolay A. Fetisov <naf@altlinux.ru> 1.2.1-alt0.1 - Pre-1.2.1 version from SVN trunk * Fix for ICQ protocol changes - Add LSB header into init script * Fri Dec 12 2008 Nikolay A. Fetisov <naf@altlinux.ru> 1.2.0-alt1 - New version 1.2.0 - Revives from orphaned - Fix file permissions (Closes: #13296) - Fix pathes in config files (Closes: #12558) - Fix init script (Closes: #12557) * Tue Mar 11 2008 Nikolay A. Fetisov <naf@altlinux.ru> 1.1.7-alt1.svn7.1 - Build with patches from om@mytlt.ru * Tue Mar 27 2007 Mikhail Pokidko <pma@altlinux.ru> 1.1.7-alt1 - New version. - ALT Linux Jabber Policy packaging. * Tue Dec 13 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.6-alt5 - Updated scripts and configuration to match changes in jabberd 1.4.4 * Wed Jul 27 2005 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.6-alt4 - Patch by Sergey Golovan to add browse/disco capabilities [Patch7] * Tue Jan 18 2005 ALT QA Team Robot <qa-robot@altlinux.org> 1.1.6-alt3.1 - Rebuilt with libstdc++.so.6. * Thu Oct 14 2004 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.6-alt3 - Use jabber-conftool in scripts * Wed Dec 31 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.6-alt2 - Bring C++ code to the standard in order to compile with g++ 3.3 [Patch6] * Thu Jul 17 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.6-alt1 - New version - Patch4 updated - Updated the init script for start_daemon/stop_daemon * Sun Mar 23 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.5-alt1 - new version - Patch0: avoid an unnecessary ICQ auth request when Jabber user authorizes an ICQ user's s10n - Patch1 removed (gone upstream) - Patch2 updated - Patch4 updated - Patch5: don't adorn logfile names with date - Added logrotate config * Tue Feb 18 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.4-alt1 - 1.1.4 - Patch0 removed (gone upstream) - Patch2 updated and enhanced * Sat Feb 08 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.3-alt1 - 1.1.3 - Updated Patch4 to also strip off illicit name attribute from s10n - Updated default config - More stuff in the documents * Fri Feb 07 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.2-alt3 - Patch4: get rid of origfrom hack attribute * Thu Feb 06 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.2-alt2 - Patch3: experimental patch to get rid of the /registered resource - Fixed lockfile name in the init script * Tue Jan 28 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.2-alt1 - Added init script * Fri Jan 24 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.2-alt0.2 - Patch2: Clean vCards DESC from IP address info and ego-boosting * Fri Jan 17 2003 Mikhail Zabaluev <mhz@altlinux.ru> 1.1.2-alt0.1 - Initial pre-release (no good init script as of yet) |