]> git.pld-linux.org Git - packages/c99-to-c89.git/blame - c99-to-c89.spec
llvm rebuild
[packages/c99-to-c89.git] / c99-to-c89.spec
CommitLineData
df6bcbd7
JB
1Summary: Tool to convert C99 code to MSVC-compatible C89
2Summary(pl.UTF-8): Narzędzie do konwersji kodu C99 do C89 zgodnego z MSVC
3Name: c99-to-c89
4Version: 1.0.3
c6f74d6e 5Release: 10
df6bcbd7
JB
6License: Apache v2.0
7Group: Development/Tools
8#Source0Download: https://github.com/libav/c99-to-c89/releases
9Source0: https://github.com/libav/c99-to-c89/archive/release-%{version}/%{name}-%{version}.tar.gz
10# Source0-md5: 17634d419ff1019d5b5f2fa5912fdc60
11URL: https://github.com/libav/c99-to-c89
12BuildRequires: clang-devel >= 3.1
13Requires: clang-libs >= 3.1
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Tool to convert C99 code to MSVC-compatible C89.
18
19%description -l pl.UTF-8
20Narzędzie do konwersji kodu C99 do C89 zgodnego z MSVC.
21
22%prep
23%setup -q -n %{name}-release-%{version}
24
25%build
26%{__make} \
27 CC="%{__cc}" \
28 CFLAGS="%{rpmcflags}" \
29 LDFLAGS="%{rpmldflags}"
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT%{_bindir}
34
35install c99conv c99wrap $RPM_BUILD_ROOT%{_bindir}
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(644,root,root,755)
42%doc README.md
43%attr(755,root,root) %{_bindir}/c99conv
44%attr(755,root,root) %{_bindir}/c99wrap
This page took 0.123325 seconds and 4 git commands to generate.