]> git.pld-linux.org Git - packages/xcircuit.git/blob - xcircuit.spec
- amd64 configure fix
[packages/xcircuit.git] / xcircuit.spec
1 # TODO:
2 # - Rs (X at least...)
3 Summary:        Drawing electrical circuit schematic diagrams and related figure
4 Summary(pl):    Rysowanie schematów elektronicznych i zbli¿onych diagramów
5 Name:           xcircuit
6 Version:        3.4.6
7 Release:        0.1
8 License:        GPL
9 Group:          Applications/Engineering
10 Source0:        http://opencircuitdesign.com/xcircuit/archive/%{name}-%{version}.tgz
11 # Source0-md5:  8d24d164608afd65a7f098347141baed
12 Source1:        %{name}.desktop
13 URL:            http://opencircuitdesign.com/xcircuit/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  tk-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _xcircuitdir    %{_prefix}/lib/%{name}-3.4
20
21 %description
22 XCircuit is a UNIX/X11 program for drawing publishable-quality
23 electrical circuit schematic diagrams and related figures, and
24 producing circuit netlists through schematic capture. XCircuit regards
25 circuits as inherently hierarchical, and writes both hierarchical
26 PostScript output and hierarchical SPICE netlists. Circuit components
27 are saved in and retrieved from libraries which are fully editable.
28 XCircuit does not separate artistic expression from circuit drawing;
29 it maintains flexiblity in style without compromising the power of
30 schematic capture.
31
32 %description -l pl
33 XCircuit to program dla systemu UNIX/X11 do rysowania w jako¶ci
34 nadaj±cej siê do publikacji ró¿nych schematów elektronicznych i
35 zbli¿onych diagramów oraz tworzenia list po³±czeñ poprzez odczytanie
36 schematu. XCurcuit traktuje obwody jako nieod³±cznie hierarchiczne i
37 zapisuje zarówno hierarchiczne wyj¶cie w PostScripcie, jak i
38 hierarchiczne listy po³±czeñ SPICE. Sk³adniki obwodów s± zapisywane i
39 odczytywane z bibliotek, które s± w pe³ni modyfikowalne. XCircuit nie
40 oddziela wyra¿enia artystycznego od rysowania obwodów; zachowuje
41 elastyczno¶æ w stylu bez kompromisów kosztem mo¿liwo¶ci odczytu
42 schematu.
43
44 %prep
45 %setup -q
46
47 %build
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure  \
52 %if "%{_lib}" == "lib64"
53         --enable-libsuffix=64 \
54 %endif
55         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full}
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64 %{__make} install-man \
65         DESTDIR=$RPM_BUILD_ROOT \
66
67 install lib/pixmaps/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
68 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc CHANGES README* TODO examples
76 %attr(755,root,root) %{_bindir}/*
77 %dir %{_xcircuitdir}
78 %attr(755,root,root) %{_xcircuitdir}/*.so
79 %attr(755,root,root) %{_xcircuitdir}/*.tcl
80 %{_xcircuitdir}/*.lps
81 #%{_xcircuitdir}/*.script
82 %{_xcircuitdir}/*.pro
83 %dir %{_xcircuitdir}/app-defaults
84 %{_xcircuitdir}/app-defaults/XCircuit
85 %dir %{_xcircuitdir}/fonts
86 %{_xcircuitdir}/fonts/*.lps
87 %{_xcircuitdir}/fonts/*.xfe
88 %dir %{_xcircuitdir}/pixmaps
89 %{_xcircuitdir}/pixmaps/*.xpm
90 %{_xcircuitdir}/pixmaps/*.xbm
91 %{_pixmapsdir}/*
92 %{_mandir}/man1/*.1*
93 %{_desktopdir}/%{name}.desktop
This page took 0.040705 seconds and 3 git commands to generate.