]> git.pld-linux.org Git - packages/xcircuit.git/blobdiff - xcircuit.spec
- up to 3.8.38
[packages/xcircuit.git] / xcircuit.spec
index cd3519040a9ccd8ca88b72db9d5aedb6e2f0e54c..81bd66868d1fe9e62ec9789545fc36f09f995763 100644 (file)
@@ -1,22 +1,27 @@
 # TODO:
 # - Rs (X at least...)
 Summary:       Drawing electrical circuit schematic diagrams and related figure
-Summary(pl.UTF-8):   Rysowanie schematów elektronicznych i zbliżonych diagramów
+Summary(hu.UTF-8):     Elektromos áramkörök rajzolása
+Summary(pl.UTF-8):     Rysowanie schematów elektronicznych i zbliżonych diagramów
 Name:          xcircuit
-Version:       3.4.21
-Release:       0.1
+Version:       3.8.38
+Release:       1
 License:       GPL
 Group:         Applications/Engineering
 Source0:       http://opencircuitdesign.com/xcircuit/archive/%{name}-%{version}.tgz
-# Source0-md5: 940c8fa26fd13b83eaf23055277fff58
+# Source0-md5: e749beb96374c89f84535d3e4629de7b
 Source1:       %{name}.desktop
+Source2:       http://opencircuitdesign.com/xcircuit/archive/tutorial.tar.gz
+# Source2-md5: 16aaa9c90b0cc83f69c1837365817fe4
+Patch1:                %{name}-not-a-string-literal.patch
 URL:           http://opencircuitdesign.com/xcircuit/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: tk-devel
+BuildRequires: xorg-lib-libXt-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _xcircuitdir    %{_libdir}/%{name}-3.4
+%define         _xcircuitdir    %{_libdir}/%{name}-3.8
 
 %description
 XCircuit is a UNIX/X11 program for drawing publishable-quality
@@ -29,6 +34,13 @@ XCircuit does not separate artistic expression from circuit drawing;
 it maintains flexiblity in style without compromising the power of
 schematic capture.
 
+%description -l hu.UTF-8
+XCircuit egy UNIX/X11 program nyomdai minőségű elemktromos áramkörök
+és hasonlók szedéséhe. Az XCircuit figyel a hierarchiára és a
+PostScript kimenetnél és a SPICE listánál is megtartja. Az áramköri
+komponensek könyvtárakba menti illetve tölti be, amelyek
+szerkesztehtőek.
+
 %description -l pl.UTF-8
 XCircuit to program dla systemu UNIX/X11 do rysowania w jakości
 nadającej się do publikacji różnych schematów elektronicznych i
@@ -41,8 +53,21 @@ oddziela wyrażenia artystycznego od rysowania obwodów; zachowuje
 elastyczność w stylu bez kompromisów kosztem możliwości odczytu
 schematu.
 
+%package tutorial
+Summary:       Tutorial to XCircuit
+Summary(hu.UTF-8):     Tutorial az XCircuithoz
+Group:         Applications/Engineering
+Requires:      xcircuit = %{version}-%{release}
+
+%description tutorial
+Tutorial to XCircuit.
+
+%description tutorial -l hu.UTF-8
+Tutorial az XCircuithoz.
+
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %{__aclocal}
@@ -60,13 +85,18 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
+       DESTDIR=$RPM_BUILD_ROOT
 %{__make} install-man \
-       DESTDIR=$RPM_BUILD_ROOT \
+       DESTDIR=$RPM_BUILD_ROOT
 
 install lib/pixmaps/%{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
+install -d $RPM_BUILD_ROOT%{_docdir}/xcircuit-tutorial
+tar xf %{SOURCE2} -C $RPM_BUILD_ROOT%{_docdir}/xcircuit-tutorial
+
+rm -rf $RPM_BUILD_ROOT%{_xcircuitdir}/man
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -77,6 +107,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_xcircuitdir}
 %attr(755,root,root) %{_xcircuitdir}/*.so
 %attr(755,root,root) %{_xcircuitdir}/*.tcl
+%{_xcircuitdir}/*.cir
 %{_xcircuitdir}/*.lps
 #%{_xcircuitdir}/*.script
 %{_xcircuitdir}/*.pro
@@ -86,8 +117,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_xcircuitdir}/fonts/*.lps
 %{_xcircuitdir}/fonts/*.xfe
 %dir %{_xcircuitdir}/pixmaps
-%{_xcircuitdir}/pixmaps/*.xpm
+%{_xcircuitdir}/pixmaps/*.gif
+%{_xcircuitdir}/pixmaps/*.ico
 %{_xcircuitdir}/pixmaps/*.xbm
+%{_xcircuitdir}/xcircexec
 %{_pixmapsdir}/*
 %{_mandir}/man1/*.1*
 %{_desktopdir}/%{name}.desktop
+
+%files tutorial
+%defattr(644,root,root,755)
+%doc %{_docdir}/%{name}-tutorial
This page took 0.052181 seconds and 4 git commands to generate.