Пакет liborigin: 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 | # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-macros-fedora-compat # END SourceDeps(oneline) %add_optflags %optflags_shared # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: liborigin Version: 20080225 Release: alt1_24 Summary: Library for reading OriginLab OPJ project files License: GPLv2 Group: Development/Other URL: http://sourceforge.net/projects/%{name}/ Source: http://master.dl.sourceforge.net/project/liborigin/liborigin/2008/%{name}-%{version}.tar.gz # Include <cstddef> into tree.hh Patch0: %{name}-%{version}-gcc.patch Patch1: %{name}-%{version}-cxx11.patch BuildRequires: gcc-c++ BuildRequires: ctest cmake Source44: import.info %description A library for reading OriginLab OPJ project files. %package devel Summary: Header files, libraries and development documentation for %{name} Group: Development/Other Requires: %{name} = %{version}-%{release} %description devel This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %prep %setup -q %patch0 -p1 %patch1 -p1 %build # fix for hardcoded path of %%{_libdir} sed -i "s|install(TARGETS origin DESTINATION lib)|install(TARGETS origin DESTINATION %{_lib})|" CMakeLists.txt %{fedora_cmake} make VERBOSE=1 %{?_smp_mflags} %install make INSTALL="install -p" DESTDIR=%{buildroot} install install -d %{buildroot}%{_includedir}/%{name}/ install -pm 644 OPJFile.h tree.hh %{buildroot}%{_includedir}/%{name}/ #W: spurious-executable-perm chmod 0644 ws4.opj %files %doc COPYING README ws4.opj import.qs %{_bindir}/opj2dat %{_libdir}/%{name}.so.0* %files devel %{_includedir}/%{name}/ %{_libdir}/%{name}.so %changelog * Sat Jul 14 2018 Igor Vlasenko <viy@altlinux.ru> 20080225-alt1_24 - update to new release by fcimport * Mon May 07 2018 Igor Vlasenko <viy@altlinux.ru> 20080225-alt1_23 - update to new release by fcimport * Fri Nov 10 2017 Igor Vlasenko <viy@altlinux.ru> 20080225-alt1_21 - fixed build * Sun Dec 18 2011 Igor Vlasenko <viy@altlinux.ru> 20080225-alt1_6 - initial import by fcimport * Thu May 08 2008 Yury Aliaev <mutabor@altlinux.ru> 20080225-alt1 - v.20080225 - added man page from Debian * Thu May 31 2007 Yury Aliaev <mutabor@altlinux.ru> 20070529-alt1 - v.20070529 * Sun May 06 2007 Yury Aliaev <mutabor@altlinux.ru> 20070115-alt2.1 - dummy release due to Sisyphus robots' stupidity and some responsible person insanity. Actually nothing is changed since previous release. * Tue Apr 17 2007 Yury Aliaev <mutabor@altlinux.ru> 20070115-alt2 - fixed build for 64 bit architectures * Fri Feb 16 2007 Yury Aliaev <mutabor@altlinux.ru> 20070115-alt1 - v.20070115 * Wed Jul 19 2006 Yury Aliaev <mutabor@altlinux.ru> 20060616-alt1 - v.20060616 * Sat Jun 10 2006 Yury Aliaev <mutabor@altlinux.ru> 20060607-alt1 - v.20060607 * Sat Jun 3 2006 Yury Aliaev <mutabor@altlinux.ru> 20060529-alt1 - v.20060529 * Mon May 29 2006 Yury Aliaev <mutabor@altlinux.ru> 20060517-alt2 - Ooops! Previous built always leaded to segfaults. Now fixed. * Wed May 24 2006 Yury Aliaev <mutabor@altlinux.ru> 20060517-alt1 - First build for Sisyphus. |