-
Notifications
You must be signed in to change notification settings - Fork 0
/
chameleon.spec
59 lines (50 loc) · 1.63 KB
/
chameleon.spec
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
Summary: Common schema transformation tool
Name: chameleon
Version: 0.2
Release: 1%{?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
* Tue Jul 21 2009 jortel <jortel@redhat.com> - 0.2-1
- Fix number precision.
* Mon Jul 13 2009 jortel <jortel@redhat.com> - 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 <jortel@redhat.com> - 0.1-6
- Rename to meet packaging guidelines.
* Tue May 5 2009 jortel <jortel@redhat.com> - 0.1-5
- Reduce output and refactor main.
* Mon May 4 2009 jortel <jortel@redhat.com> - 0.1-4
- Fix noparallel and logging.
* Mon May 4 2009 jortel <jortel@redhat.com> - 0.1-3
- Add include handling.
* Wed Apr 29 2009 jortel <jortel@redhat.com> - 0.1-2
- Fix optimizer bug.
* Tue Apr 28 2009 jortel <jortel@redhat.com> - 0.1-1
- 0.1