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