gerbv/gerbv.spec

133 lines
4.3 KiB
RPMSpec
Raw Normal View History

Name: gerbv
Version: 2.6.2
Release: 1mamba
Summary: PCB Gerber file RS-274 viewer
Group: Graphical Desktop/Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gerbv.sourceforge.net/
Source: http://downloads.sourceforge.net/project/gerbv/gerbv/gerbv-%{version}/gerbv-%{version}.tar.gz
Patch0: gerbv-2.6.1-ru_missing_translation.patch
Patch1: gerbv-2.6.1-man-russian-translation.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
BuildRequires: pkgconfig
## AUTOBUILDREQ-END
BuildRequires: po4a
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files are generated from PCB CAD system and sent to PCB manufacturers as basis for the manufacturing process.
The different layers of the PCB are separated into different files.
gerbv can load all files at the same time, though it can not show them at the same time. You have to browse through the different layers with the radio buttons on the right side.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Gerber Viewer (gerbv) is a viewer for Gerber files. Gerber files are generated from PCB CAD system and sent to PCB manufacturers as basis for the manufacturing process.
The different layers of the PCB are separated into different files.
gerbv can load all files at the same time, though it can not show them at the same time. You have to browse through the different layers with the radio buttons on the right side.
This is the development package.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
#automake --add-missing
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall install_sh=`pwd`/install-sh
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/gerbv
%{_libdir}/libgerbv.so.*
%dir %{_datadir}/gerbv
%dir %{_datadir}/gerbv/scheme
%{_datadir}/gerbv/scheme/init.scm
%{_datadir}/gerbv/scheme/gerb-debug.scm
%{_datadir}/gerbv/scheme/gerb-ps.scm
%{_datadir}/gerbv/gerbv_icon.ico
%{_datadir}/applications/gerbv.desktop
%{_datadir}/applications/mimeinfo.cache
%{_datadir}/icons/hicolor/*/apps/gerbv.png
%{_datadir}/icons/hicolor/scalable/apps/gerbv.svg
%{_datadir}/locale/ru/LC_MESSAGES/gerbv.mo
%{_mandir}/man1/gerbv.ru.1*
%{_mandir}/man1/gerbv.1*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gerbv-%{version}
%{_includedir}/gerbv-%{version}/gerbv.h
%{_libdir}/libgerbv.a
%{_libdir}/libgerbv.la
%{_libdir}/libgerbv.so
%{_libdir}/pkgconfig/libgerbv.pc
%doc ChangeLog NEWS README TODO
%changelog
* Wed May 10 2017 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
- automatic version update by autodist
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic version update by autodist
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Tue Aug 16 2011 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
- update to 2.5.0
* Mon Apr 26 2010 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic update by autodist
* Sun Jan 17 2010 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic update by autodist
* Thu May 07 2009 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic update by autodist
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
- automatic update by autodist
* Sun Sep 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- update to 1.0.3
* Thu Mar 22 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 1.02-2qilnx
- recompiled
* Fri Sep 15 2006 Tiziano Pratellesi <info@mycare.it> 1.0.2-1qilnx
- package created by autospec