]> git.pld-linux.org Git - packages/xcircuit.git/blob - xcircuit.spec
- added desktop
[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.2.18
7 Release:        0.6
8 License:        GPL
9 Group:          Applications/Engineering
10 Source0:        http://bach.ece.jhu.edu/~tim/programs/xcircuit/archive/%{name}-%{version}.tgz
11 # Source0-md5:  1469794d6a2be8b2f8b1edfe49bc6158
12 Source1:        %{name}.desktop
13 URL:            http://bach.ece.jhu.edu/~tim/programs/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.2
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 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT \
60 %{__make} install-man \
61         DESTDIR=$RPM_BUILD_ROOT \
62
63 install lib/pixmaps/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc CHANGES README* TODO examples
72 %attr(755,root,root) %{_bindir}/*
73 %dir %{_xcircuitdir}
74 %attr(755,root,root) %{_xcircuitdir}/*.so
75 %attr(755,root,root) %{_xcircuitdir}/*.tcl
76 %{_xcircuitdir}/*.lps
77 #%{_xcircuitdir}/*.script
78 %{_xcircuitdir}/*.pro
79 %dir %{_xcircuitdir}/app-defaults
80 %{_xcircuitdir}/app-defaults/XCircuit
81 %dir %{_xcircuitdir}/fonts
82 %{_xcircuitdir}/fonts/*.lps
83 %{_xcircuitdir}/fonts/*.xfe
84 %dir %{_xcircuitdir}/pixmaps
85 %{_xcircuitdir}/pixmaps/*.xpm
86 %{_xcircuitdir}/pixmaps/*.xbm
87 %{_pixmapsdir}/*
88 %{_mandir}/man1/*.1*
89 %{_desktopdir}/%{name}.desktop
This page took 0.058099 seconds and 4 git commands to generate.