Package slimdata: 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 | %def_disable static Name: slimdata Version: 2.6.4 Release: alt1 Summary: Tools and library for reading and writing slim compressed data Group: System/Libraries License: GPLv3+ URL: http://slimdata.sourceforge.net/ Source: slim_%version.tgz Patch0: slimdata-name-change.diff # Automatically added by buildreq on Fri Sep 16 2011 (-bi) # optimized out: elfutils libstdc++-devel python-base python-module-numpy python-module-numpy-testing python-modules python-modules-ctypes tex-common texlive-base texlive-base-bin texlive-common texlive-latex-base BuildRequires: doxygen gcc-c++ python-module-numpy-addons BuildPreReq: texlive-latex-base %description Slim is a data compression system for scientific data sets, both a binary and a library with C linkage. Slim works with integer data from one or more channels in a file, which it can compress more rapidly than general tools like gzip. %package devel Group: Development/C Summary: Headers required when building programs against getdata Requires: %name = %version-%release Requires: pkgconfig %description devel Headers required when building projects that use the slimdata library. %if_enabled static %package devel-static Summary: Static libraries for %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static Static libs for building statically linked software that uses %name %endif %prep %setup -q -n slim_2.6.4 %patch0 -p1 # remove prebuilt pdf file rm -f doc/*.pdf # remove binary files rm -f test/generate_random_data # change opttimization flags subst 's/-O3/-O2/g' test/Makefile %build %configure %make_build OPT='' make doc %check # set PATH to slim binary files export PATH=$PATH:`pwd`/bin make test %install #make DESTDIR=%buildroot SUID_ROOT="" install %makeinstall_std #chmod a+x %buildroot/%_libdir/libslim.so.0.0 #Rename binary to slimdata; upstream will follow in subsequent releases. mv %buildroot/%_bindir/slim %buildroot/%_bindir/%name rm %buildroot/%_bindir/unslim %buildroot/%_bindir/slimcat #Don't forget the man page: BZ 506141 mv %buildroot/%_mandir/man1/slim.1 %buildroot/%_mandir/man1/%name.1 subst 's/slim/%name/' %buildroot/%_mandir/man1/slimcat.1 subst 's/slim/%name/' %buildroot/%_mandir/man1/unslim.1 pushd . cd %buildroot/%_bindir ln -s slimdata unslim ln -s slimdata slimcat popd %files %doc README COPYING AUTHORS TODO VERSIONS %_bindir/*slim* %_libdir/libslim.so.* %_mandir/man1/*slim* %files devel %doc doc/slim_format.pdf doc/html/* %_includedir/slim*.h %_libdir/libslim.so %if_enabled static %files devel-static %_libdir/libslim.a %endif %changelog * Sat Sep 17 2011 Denis G. Samsonenko <ogion@altlinux.org> 2.6.4-alt1 - build for ALT Linux - spec adapted * Wed Jun 01 2011 Jon Ciesla <limb@jcomserv.net> - 2.6.4-1 - New upstream. - Dropping check section as it fails in RPM build. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Aug 7 2009 Matthew Truch <matt at truch.net> - 2.6.3-7 - Excluearch sparcv9 and sparc64 as slimdata doesn't work on bigendian machines * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Jun 15 2009 Matthew Truch <matt at truch.net> - 2.6.3-5 - Change name of man page to slimdata as well (BZ 506141). * Tue May 5 2009 Matthew Truch <matt at truch.net> - 2.6.3-4 - Change binary name to slimdata. - Use symlinks for binaries unslim and slimcat * Tue Apr 21 2009 Matthew Truch <matt at truch.net> - 2.6.3-3 - Correct license tag. - Make tests run. - Set exec bit on /usr/lib/libslim.so.0.0 * Sat Apr 4 2009 Matthew Truch <matt at truch.net> - 2.6.3-2 - Don't run tests since they don't seem to work. * Sun Mar 22 2009 Matthew Truch <matt at truch.net> - 2.6.3-1 - Upstream 2.6.3. Includes proper licensing. * Tue Feb 24 2009 Matthew Truch <matt at truch.net> - 2.6.1b-4 - Include patch to fix gcc-4.4 compilation from Lucian. * Mon Feb 16 2009 Matthew Truch <matt at truch.net> - 2.6.1b-3 - Fix shared library generation. * Sun Jan 18 2009 Matthew Truch <matt at truch.net> - 2.6.1b-2 - Properly include BR for building docs and include those docs - Use better soname for shared library. * Sat Jan 10 2009 Matthew Truch <matt at truch.net> - 2.6.1b-1 - Update to upstream 2.6.1b. - Apply fixes to build to better follow Fedora guidelines. * Tue Oct 28 2008 Matthew Truch <matt at truch.net> - 2.6.1a-1 - Update to upstream 2.6.1a release which includes fixes pushed upstream. * Fri Oct 24 2008 Matthew Truch <matt at truch.net> - 2.6.1-1 - Initial Fedora build. |