3 %bcond_with tests # build with tests
4 %bcond_without tests # build without tests
11 # library is under lgpl but its not separated as package so all falls under GPL imo
13 Source0: http://%{name}.seul.org/~enaroska/freehdl-%{version}.tar.gz
14 # Source0-md5: bd168382c72f9fbd392f89ab2c5fddf8
15 URL: http://freehdl.seul.org/
17 #BuildRequires: autoconf
18 #BuildRequires: automake
19 #BuildRequires: intltool
20 #BuildRequires: libtool
21 #Patch0: %{name}-DESTDIR.patch
23 #Requires(pre,post): -
32 #ExclusiveArch: %{ix86}
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 FreeHDL is an project aiming to develop VHDL simulator with following capabilities:
37 * Has a graphical waveform viewer.
38 * Has a source level debugger.
39 * Is VHDL-93 compliant.
40 * Is of commercial quality. (on par with, say, V-System - it'll take us a while to get there, but that should be our aim)
46 #%setup -q -n %{name}-%{version}.orig -a 1
50 #find '(' -name '*.php' -o -name '*.inc' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
52 # remove CVS control files
53 #find -name CVS -print0 | xargs -0 rm -rf
55 # you'll need this if you cp -a complete dir in source
56 # cleanup backups after patching
57 #find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
60 # if ac/am/* rebuilding is necessary, do it in this order and add
61 # appropriate BuildRequires
69 # if not running libtool or automake, but config.sub is too old:
70 #cp -f /usr/share/automake/config.sub .
75 # CFLAGS="%{rpmcflags}" \
76 # LDFLAGS="%{rpmldflags}"
79 rm -rf $RPM_BUILD_ROOT
80 # create directories if necessary
81 #install -d $RPM_BUILD_ROOT
82 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
85 DESTDIR=$RPM_BUILD_ROOT
86 #install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
87 #install AUTHORS COPYING COPYING.LIB README README.AIRE README.gen-nodes README.libraries README.v2cc README.vaul ChangeLog $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc AUTHORS COPYING COPYING.LIB README README.AIRE README.gen-nodes README.libraries README.v2cc README.vaul ChangeLog
98 %attr(755,root,root) %{_libdir}/*.so*
101 %dir %{_libdir}/freehdl
102 %attr(755,root,root) %{_libdir}/freehdl/*.so*
103 %{_libdir}/freehdl/*.la
104 %{_libdir}/freehdl/*.a
106 %dir %{_includedir}/freehdl
107 %{_includedir}/freehdl/*h
108 %{_includedir}/freehdl/*t
109 %attr(755,root,root) %{_bindir}/*
110 %{_pkgconfigdir}/freehdl.pc
111 #%{_docdir}/%{name}-%{version}