[packages/gmdb2] - new, now separate from mdbtools.spec
qboosh
qboosh at pld-linux.org
Tue Jan 31 22:29:36 CET 2023
commit af7937cf566ee0d2b564902324e166e5f6fc4e80
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jan 31 22:30:51 2023 +0100
- new, now separate from mdbtools.spec
gmdb2.desktop | 10 ++++++++
gmdb2.png | Bin 0 -> 1072 bytes
gmdb2.spec | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 83 insertions(+)
---
diff --git a/gmdb2.spec b/gmdb2.spec
new file mode 100644
index 0000000..d3db98e
--- /dev/null
+++ b/gmdb2.spec
@@ -0,0 +1,73 @@
+Summary: gmdb2 - graphical interface for MDB Tools
+Summary(pl.UTF-8): gmdb2 - graficzny interfejs do narzędzi MDB
+Name: gmdb2
+Version: 0.9.1
+Release: 1
+License: GPL v2+
+Group: Applications/Databases
+#Source0Download: https://github.com/mdbtools/gmdb2/releases
+Source0: https://github.com/mdbtools/gmdb2/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 7fd322ded728c476ccc2a69998ba339c
+Source1: gmdb2.desktop
+Source2: gmdb2.png
+URL: https://github.com/mdbtools/gmdb2
+BuildRequires: glib2-devel >= 1:2.26
+BuildRequires: gtk+3-devel >= 3.22
+BuildRequires: mdbtools-devel >= 0.9.0
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.596
+BuildRequires: yelp-tools
+Requires: glib2 >= 1:2.26
+Obsoletes: mdbtools-gui < 0.9
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the official GUI for mdbtools. This standalone package (which
+was included with mdbtools prior to version 0.9.0) is considered
+beta-quality software.
+
+%description -l pl.UTF-8
+Ten program to oficjalne GUI do mdbtools. Ten samodzielny pakiet
+(dołączany do mdbtools przed wersją 0.9.0) jest uznawany za
+oprogramowanie o jakości beta.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+# useless currently (any plugins?)
+%{__rm} $RPM_BUILD_ROOT%{_includedir}/gmdb.h
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gmdb2.desktop
+install -D %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/gmdb2.png
+
+%find_lang %{name} --with-gnome
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS CHANGELOG.md README.md TODO
+%attr(755,root,root) %{_bindir}/gmdb2
+%{_datadir}/glib-2.0/schemas/mdbtools.gmdb2.gschema.xml
+%{_datadir}/gmdb
+%{_desktopdir}/gmdb2.desktop
+%{_pixmapsdir}/gmdb2.png
+%{_mandir}/man1/gmdb2.1*
diff --git a/gmdb2.desktop b/gmdb2.desktop
new file mode 100644
index 0000000..b02cbc8
--- /dev/null
+++ b/gmdb2.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=MDB Tools
+Comment=GUI for MDB Tools
+Comment[pl]=Graficzna nakładka na MDB Tools
+Exec=gmdb2
+Type=Application
+Terminal=false
+Categories=Office;Database;GTK;GNOME;
+Icon=gmdb2
+# vi: encoding=utf-8
diff --git a/gmdb2.png b/gmdb2.png
new file mode 100644
index 0000000..af3bdf7
Binary files /dev/null and b/gmdb2.png differ
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gmdb2.git/commitdiff/af7937cf566ee0d2b564902324e166e5f6fc4e80
More information about the pld-cvs-commit
mailing list