Summary: Common schema transformation tool Name: chameleon Version: 0.2 Release: 11%{?dist} Source0: https://fedorahosted.org/releases/c/h/%{name}/%{name}-%{version}.tar.gz License: LGPLv3+ Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch BuildRequires: python >= 2.3 Requires: python >= 2.3 python-ply Url: https://fedorahosted.org/chameleon %description Chameleon is a common to database specific schema transformation tool. %define chameleon_home %{_datadir}/chameleon %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/%{chameleon_home} cp -p chameleon/*.py $RPM_BUILD_ROOT/%{chameleon_home} install -m 0755 chameleon.bin $RPM_BUILD_ROOT/%{_bindir}/chameleon %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %dir %{chameleon_home} %{chameleon_home}/* %{_bindir}/chameleon %doc LICENSE %changelog * Fri Feb 10 2017 Fedora Release Engineering - 0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Aug 11 2010 David Malcolm - 0.2-2 - recompiling .py files against Python 2.7 (rhbz#623282) * Tue Jul 21 2009 jortel - 0.2-1 - Fix number precision. * Mon Jul 13 2009 jortel - 0.1-7 - Replace hard coded "/usr/share" with %%{_datadir} and use cp -p to preserve permissions. - Add BuildRequires python. * Wed May 20 2009 jortel - 0.1-6 - Rename to meet packaging guidelines. * Tue May 5 2009 jortel - 0.1-5 - Reduce output and refactor main. * Mon May 4 2009 jortel - 0.1-4 - Fix noparallel and logging. * Mon May 4 2009 jortel - 0.1-3 - Add include handling. * Wed Apr 29 2009 jortel - 0.1-2 - Fix optimizer bug. * Tue Apr 28 2009 jortel - 0.1-1 - 0.1