SPECS: resistor.spec (NEW) - init,nyf
hunter
hunter at pld-linux.org
Mon Jul 25 04:50:19 CEST 2005
Author: hunter Date: Mon Jul 25 02:50:19 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- init,nyf
---- Files affected:
SPECS:
resistor.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/resistor.spec
diff -u /dev/null SPECS/resistor.spec:1.1
--- /dev/null Mon Jul 25 04:50:19 2005
+++ SPECS/resistor.spec Mon Jul 25 04:50:14 2005
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+#
+Summary: Resistor color bands/values converter
+Summary(pl): Konwerter kolorowych pasków/vartości oporników
+Name: resistor
+Version: 1.0
+Release: 0.1
+Epoch: 0
+License: GPL v2
+Group: X11/Applications
+Source0: http://dl.sourceforge.net/resistor/%{name}.src.tar.gz
+# Source0-md5: fc681b4843eb9c58e7976d0b3473a2a5
+URL: http://resistor.sourceforge.net/
+BuildRequires: qmake
+BuildRequires: qt-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple GUI application that converts resistor color bands to
+resistor values and vice-versa. The code is C++ using the QT widget
+set.
+
+%description -l pl
+Prosta aplikacja z GUI pozwalająca na konwersję kolorów pasków na
+opornikach na wartości (i odwrotnie). Zaimplementowana jest w C++, z
+użyciem QT.
+
+%prep
+%setup -q -n %{name}
+#%patch0 -p1
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+
+# if _sysconfdir != /etc:
+#%%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+
+%attr(755,root,root) %{_bindir}/*
+
+%{_datadir}/%{name}
+
+# initscript and its config
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/07/25 02:50:14 hunter
+- init,nyf
+
================================================================
More information about the pld-cvs-commit
mailing list