65d5246
# xschem Package description for Fedora/Free Electronic Lab
65d5246
#
65d5246
%global rpm_has_recommends    %(rpm --version | awk -e '{print ($3 > 4.12)}')
65d5246
#
65d5246
Name:           xschem
e3e44dc
Version:        3.1.0
7deaad0
Release:        3%{?dist}
65d5246
Summary:        Schematic capture and Netlisting EDA tool
65d5246
e3e44dc
License:        GPL-2.0-or-later
65d5246
URL:            http://repo.hu/projects/xschem
65d5246
Source0:        http://repo.hu/projects/xschem/releases/xschem-%{version}.tar.gz
65d5246
e3e44dc
BuildRequires:  make
65d5246
BuildRequires:  gcc
65d5246
BuildRequires:  gawk
65d5246
BuildRequires:  flex, bison
65d5246
#BuildRequires:  flex-devel
65d5246
BuildRequires:  tcl-devel
65d5246
BuildRequires:  tk-devel
65d5246
BuildRequires:  pkgconfig(xpm)
65d5246
BuildRequires:  pkgconfig(cairo-xcb)
65d5246
#BuildRequires:  cairo-devel
65d5246
#BuildRequires:  xcb-util-devel
65d5246
65d5246
%if %rpm_has_recommends
65d5246
Recommends:     %{name}-doc = %{version}-%{release}
65d5246
%endif
65d5246
65d5246
#Requires:   tcl, tk
65d5246
65d5246
65d5246
%description
65d5246
%{name} is a schematic capture program, it allows creation of hierarchical
65d5246
representation of circuits with a top down approach. By focusing on
65d5246
interfaces, hierarchy and instance properties, a complex system can be
65d5246
described in terms of simpler building blocks. A VHDL or Verilog or Spice
65d5246
netlist can be generated from the drawn schematic, allowing the simulation
65d5246
of the circuit. Key feature of the program is its drawing engine written in C
65d5246
and using directly the Xlib drawing primitives; this gives very good
65d5246
speed performance, even on very big circuits. The user interface is
65d5246
built with the Tcl-Tk toolkit, Tcl is also the extension language used.
65d5246
65d5246
%package doc
65d5246
Summary:        Documentation for %{name}
65d5246
BuildArch:      noarch
65d5246
65d5246
%description doc
65d5246
Documentation for %{name}.
65d5246
65d5246
65d5246
%prep
65d5246
%autosetup
65d5246
65d5246
65d5246
%build
65d5246
./"configure" --CFLAGS="%{build_cflags}" --LDFLAGS="%{build_ldflags}" \
65d5246
    --prefix=%{_prefix} --symbols
65d5246
%make_build
65d5246
65d5246
65d5246
%install
65d5246
%make_install
65d5246
65d5246
65d5246
%files
e3e44dc
%license LICENSE
e3e44dc
%doc AUTHORS Changelog README
65d5246
%{_bindir}/%{name}
e3e44dc
%{_bindir}/rawtovcd
65d5246
%{_datadir}/%{name}
65d5246
%{_mandir}/man1/xschem.1*
65d5246
65d5246
65d5246
%files doc
65d5246
%{_docdir}/%{name}
65d5246
65d5246
65d5246
%changelog
7deaad0
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
7deaad0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
7deaad0
fe2c7e5
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
fe2c7e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
fe2c7e5
e3e44dc
* Tue Aug 02 2022 Alain Vigne <avigne@fedoraproject.org> 3.1.0-1
e3e44dc
- Bump to upstream version 3.1.0
e3e44dc
9f7a527
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-8
9f7a527
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
9f7a527
9005d39
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-7
9005d39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
9005d39
a8256a8
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-6
a8256a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a8256a8
b29ce42
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-5
b29ce42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b29ce42
264c826
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-4
264c826
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
264c826
ede72b8
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-3
ede72b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ede72b8
7f664f7
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.2-2
7f664f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7f664f7
3761430
* Sun Jul 21 2019 Alain <alain DOT vigne DOT 14 AT gmail DOT com> - 2.9.2-1
3761430
- Upstream new release
3761430
f719a7b
* Sun Jul 14 2019 Alain <alain DOT vigne DOT 14 AT gmail DOT com> - 2.9.0-1
f719a7b
- Upstream new release
f719a7b
65d5246
* Sun Feb 17 2019 Alain <alain DOT vigne DOT 14 AT gmail DOT com> - 2.8.2-2
65d5246
- apply suggestions from package reviewers
65d5246
65d5246
* Sun Jan 27 2019 Alain <alain DOT vigne DOT 14 AT gmail DOT com> - 2.8.2-1
65d5246
- Upstream new release
65d5246
65d5246
* Sun Dec 02 2018 Alain <alain DOT vigne DOT 14 AT gmail DOT com> - 2.8.1-1
65d5246
- Upstream new release
65d5246
65d5246
* Tue Nov 06 2018 Alain <alain DOT vigne DOT 14 AT gmail DOT com> - 2.8.0-1
65d5246
- Initial proposal