]>
Commit | Line | Data |
---|---|---|
cf141fc1 AM |
1 | %include /usr/lib/rpm/macros.php |
2 | Summary: Produces XMI 1.3 schemes (UML) from PHP files | |
3 | Name: PHP2XMI | |
4 | Version: 0.1.1 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: Development/Languages/PHP | |
8 | Source0: http://tech.motion-twin.com/zip/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 42821db581216c3a91dec91e1987ea24 | |
10 | URL: http://tech.motion-twin.com/php_php2xmi.html | |
11 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
12 | Requires: php | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | PHP2XMI produces XMI 1.3 schemes (UML) from PHP files. | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | ||
22 | %install | |
23 | rm -rf $RPM_BUILD_ROOT | |
24 | install -d $RPM_BUILD_ROOT%{_bindir} | |
25 | ||
26 | install php2xmi $RPM_BUILD_ROOT%{_bindir} | |
27 | ||
28 | %clean | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %files | |
32 | %defattr(644,root,root,755) | |
33 | %attr(755,root,root) %{_bindir}/* |