]> git.pld-linux.org Git - packages/xcircuit.git/blame - xcircuit.spec
- Up to 3.8.82.
[packages/xcircuit.git] / xcircuit.spec
CommitLineData
1b312f39 1# TODO:
7b36f348 2# - Rs (X at least...)
1b312f39 3Summary: Drawing electrical circuit schematic diagrams and related figure
8ad34c02 4Summary(hu.UTF-8): Elektromos áramkörök rajzolása
42e1f190 5Summary(pl.UTF-8): Rysowanie schematów elektronicznych i zbliżonych diagramów
1b312f39 6Name: xcircuit
fed1c0e0
ŁM
7Version: 3.8.82
8Release: 1
1b312f39
PG
9License: GPL
10Group: Applications/Engineering
52b88835 11Source0: http://opencircuitdesign.com/xcircuit/archive/%{name}-%{version}.tgz
fed1c0e0 12# Source0-md5: c19dc0c6daaa07d04578ab45b5b62a4c
7b36f348 13Source1: %{name}.desktop
8ad34c02
ZU
14Source2: http://opencircuitdesign.com/xcircuit/archive/tutorial.tar.gz
15# Source2-md5: 16aaa9c90b0cc83f69c1837365817fe4
8e1459fd 16Patch1: %{name}-not-a-string-literal.patch
52b88835 17URL: http://opencircuitdesign.com/xcircuit/
1b312f39
PG
18BuildRequires: autoconf
19BuildRequires: automake
563f8e3c 20BuildRequires: tk-devel
f2fdf276 21BuildRequires: xorg-lib-libXt-devel
1b312f39
PG
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
079a6c1a 24%define _xcircuitdir %{_libdir}/%{name}-3.8
1b312f39
PG
25
26%description
27XCircuit is a UNIX/X11 program for drawing publishable-quality
28electrical circuit schematic diagrams and related figures, and
29producing circuit netlists through schematic capture. XCircuit regards
30circuits as inherently hierarchical, and writes both hierarchical
31PostScript output and hierarchical SPICE netlists. Circuit components
32are saved in and retrieved from libraries which are fully editable.
33XCircuit does not separate artistic expression from circuit drawing;
34it maintains flexiblity in style without compromising the power of
35schematic capture.
36
8ad34c02
ZU
37%description -l hu.UTF-8
38XCircuit egy UNIX/X11 program nyomdai minőségű elemktromos áramkörök
39és hasonlók szedéséhe. Az XCircuit figyel a hierarchiára és a
40PostScript kimenetnél és a SPICE listánál is megtartja. Az áramköri
41komponensek könyvtárakba menti illetve tölti be, amelyek
42szerkesztehtőek.
43
66f58157
JR
44%description -l pl.UTF-8
45XCircuit to program dla systemu UNIX/X11 do rysowania w jakości
46nadającej się do publikacji różnych schematów elektronicznych i
47zbliżonych diagramów oraz tworzenia list połączeń poprzez odczytanie
48schematu. XCurcuit traktuje obwody jako nieodłącznie hierarchiczne i
49zapisuje zarówno hierarchiczne wyjście w PostScripcie, jak i
50hierarchiczne listy połączeń SPICE. Składniki obwodów są zapisywane i
51odczytywane z bibliotek, które są w pełni modyfikowalne. XCircuit nie
52oddziela wyrażenia artystycznego od rysowania obwodów; zachowuje
53elastyczność w stylu bez kompromisów kosztem możliwości odczytu
db17ff35
JB
54schematu.
55
8ad34c02
ZU
56%package tutorial
57Summary: Tutorial to XCircuit
58Summary(hu.UTF-8): Tutorial az XCircuithoz
59Group: Applications/Engineering
60Requires: xcircuit = %{version}-%{release}
61
62%description tutorial
63Tutorial to XCircuit.
64
65%description tutorial -l hu.UTF-8
66Tutorial az XCircuithoz.
67
1b312f39
PG
68%prep
69%setup -q
079a6c1a 70%patch1 -p1
1b312f39
PG
71
72%build
73%{__aclocal}
74%{__autoconf}
75%{__automake}
3977615e 76%configure \
77%if "%{_lib}" == "lib64"
78 --enable-libsuffix=64 \
79%endif
80 --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full}
1b312f39
PG
81%{__make}
82
83%install
84rm -rf $RPM_BUILD_ROOT
7b36f348 85install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
1b312f39
PG
86
87%{__make} install \
f2fdf276 88 DESTDIR=$RPM_BUILD_ROOT
6b4f1ffd 89%{__make} install-man \
f2fdf276 90 DESTDIR=$RPM_BUILD_ROOT
1b312f39 91
0ef652e4 92install lib/pixmaps/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
7b36f348 93install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
0ef652e4 94
8ad34c02
ZU
95install -d $RPM_BUILD_ROOT%{_docdir}/xcircuit-tutorial
96tar xf %{SOURCE2} -C $RPM_BUILD_ROOT%{_docdir}/xcircuit-tutorial
97
079a6c1a 98rm -rf $RPM_BUILD_ROOT%{_xcircuitdir}/man
8ad34c02 99
1b312f39
PG
100%clean
101rm -rf $RPM_BUILD_ROOT
102
103%files
104%defattr(644,root,root,755)
105%doc CHANGES README* TODO examples
106%attr(755,root,root) %{_bindir}/*
107%dir %{_xcircuitdir}
6b4f1ffd
SZ
108%attr(755,root,root) %{_xcircuitdir}/*.so
109%attr(755,root,root) %{_xcircuitdir}/*.tcl
170cfc17 110%{_xcircuitdir}/*.cir
1b312f39 111%{_xcircuitdir}/*.lps
6b4f1ffd 112#%{_xcircuitdir}/*.script
1b312f39
PG
113%{_xcircuitdir}/*.pro
114%dir %{_xcircuitdir}/app-defaults
115%{_xcircuitdir}/app-defaults/XCircuit
116%dir %{_xcircuitdir}/fonts
117%{_xcircuitdir}/fonts/*.lps
118%{_xcircuitdir}/fonts/*.xfe
6b4f1ffd 119%dir %{_xcircuitdir}/pixmaps
6c621172 120%{_xcircuitdir}/pixmaps/*.gif
121%{_xcircuitdir}/pixmaps/*.ico
6b4f1ffd 122%{_xcircuitdir}/pixmaps/*.xbm
6c621172 123%{_xcircuitdir}/xcircexec
0ef652e4 124%{_pixmapsdir}/*
1b312f39 125%{_mandir}/man1/*.1*
7b36f348 126%{_desktopdir}/%{name}.desktop
8ad34c02
ZU
127
128%files tutorial
129%defattr(644,root,root,755)
130%doc %{_docdir}/%{name}-tutorial
This page took 0.088066 seconds and 4 git commands to generate.