Package cca-spec-classic: 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 | %define _ver 0_5_7 Name: cca-spec-classic Version: 0.5.7 Release: alt8 Summary: Classic Common Component Architecture Specification License: LGPL Group: Sciences/Mathematics Url: http://www.cca-forum.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: http://www.cca-forum.org/download/cca-tools/cca-tools-0.7.0/cca-spec-classic-0.5.7.tar.gz Requires: lib%name = %version-%release Requires: lib%name-devel = %version-%release Requires: %name-common = %version-%release Requires: lib%name-j = %version-%release BuildRequires(pre): rpm-build-java BuildPreReq: java-devel-default /proc doxygen gcc-c++ graphviz BuildPreReq: libgraphviz-devel babel tcl-devel %description The Classic Common Component Architecture Specification. %package -n lib%name Summary: Shared libraries of Classic CCA Specification Group: System/Libraries %description -n lib%name The Classic Common Component Architecture Specification. This package contains shared libraries of Classic CCA Specification. %package -n lib%name-devel Summary: Development files of Classic CCA Specification Group: Development/Other Requires: lib%name = %version-%release Requires: %name-common = %version-%release Requires: lib%name-j = %version-%release %description -n lib%name-devel The Classic Common Component Architecture Specification. This package contains development files of Classic CCA Specification. %package -n lib%name-j Summary: Java library of Classic CCA Specification Group: Development/Java BuildArch: noarch Requires: java Requires: %name-common = %version-%release %description -n lib%name-j The Classic Common Component Architecture Specification. This package contains java library of Classic CCA Specification. %package common Summary: Architecture independent files of Classic CCA Specification Group: Development/Other BuildArch: noarch %description common The Classic Common Component Architecture Specification. This package contains architecture independent files of Classic CCA Specification. %package doc Summary: Documentation for Classic CCA Specification Group: Development/Documentation BuildArch: noarch %description doc The Classic Common Component Architecture Specification. This package contains development documentation for Classic CCA Specification. %package javadoc Summary: Javadoc for Classic CCA Specification Group: Development/Documentation BuildArch: noarch %description javadoc The Classic Common Component Architecture Specification. This package contains javadoc for Classic CCA Specification. %prep %setup %build %autoreconf %configure \ %ifarch x86_64 --enable-64bit \ %endif --enable-showcompile \ --enable-showlibtool \ --enable-gcc \ --enable-shared \ --with-babel-libtool=%_bindir/babel-libtool \ --with-jdk12=%_libexecdir/jvm/java \ --with-gmake=%_bindir/make \ --with-tclsh=%_bindir/tclsh \ --with-doxygen=%_bindir/doxygen %make_build %install %makeinstall_std pushd %buildroot%_libdir/%name-%version rm -f libclassic.so libclassic.a ln -s %_libdir/libclassic_%_ver.so libclassic.so ln -s %_libdir/libclassic_%_ver.a libclassic.a popd install -d %buildroot%_man3dir install -d %buildroot%_javadir install -d %buildroot%_javadocdir/%name-%version install -m644 java/*.jar %buildroot%_javadir rm -f java/doc/Makefile java/doc/README rm -fR %buildroot%_docdir/%name-%version/java cp -fR java/doc/* %buildroot%_javadocdir/%name-%version/ mv %buildroot%_docdir/%name-%version/c++/man/man3/* %buildroot%_man3dir/ rm -fR %buildroot%_docdir/%name-%version/c++/man %files %_bindir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %dir %_libdir/%name-%version %_libdir/%name-%version/*.so %_includedir/* %files -n lib%name-j %_javadir/*.jar %files common %_datadir/%name-%version %files doc %_docdir/%name-%version %_man3dir/* %files javadoc %_javadocdir/%name-%version %changelog * Tue Nov 12 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt8 - Fixed build * Mon Feb 28 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt7 - Rebuilt for debuginfo * Mon Oct 18 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt6 - Rebuilt for soname set-versions * Fri Nov 13 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt5 - Rebuilt with python 2.6 * Mon Sep 14 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt4 - Rebuilt with updated babel * Tue Sep 08 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt3 - Rebuilt with fixed babel-libtool - Added requirement for %name on lib%name-devel * Thu May 14 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt2 - Rebuild with babel for gcc 4.4 * Sun Apr 26 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.5.7-alt1 - Initial build for Sisyphus |