mayorga pushed to ngspice (master). "Use %global instead of %define"
by notificationsï¼ fedoraproject.org
From 4e0aa0729899c1b4ca7391a85dd35e724d787b08 Mon Sep 17 00:00:00 2001
From: Eduardo Mayorga <mayorga(a)fedoraproject.org>
Date: Sun, 31 Jan 2016 17:56:53 -0600
Subject: Use %global instead of %define
---
ngspice.spec | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/ngspice.spec b/ngspice.spec
index 3d30af5..50afd9b 100644
--- a/ngspice.spec
+++ b/ngspice.spec
@@ -13,14 +13,14 @@
# tar cjf ~/rpmbuild/SOURCES/ngspice-rework-23.`date '+%Y%m%d'`cvs.tar.bz2 ngspice
# Toggle the following declaration when using version controlled snapshots
-%define devel 0
+%global devel 0
Name: ngspice
Version: 26
%if %{?devel}
-%define snap .20111129cvs
+%global snap .20111129cvs
%endif
-Release: 1%{?snap}%{?dist}
+Release: 2%{?snap}%{?dist}
Summary: A mixed level/signal circuit simulator
License: BSD
@@ -279,6 +279,9 @@ cd tests
%changelog
+* Sun Jan 31 2016 Eduardo Mayorga <mayorga(a)fedoraproject.org> - 26-2
+- Use %%global instead of %%define
+
* Thu Oct 08 2015 Marcin Juszkiewicz <mjuszkiewicz(a)redhat.com> - 26-1
- Update to 26 release.
- use licence tag
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/ngspice.git/commit/?h=master&id=4e0aa0...
7Â years, 8Â months
rombobeorn pushed to mine_detector (master). "Rebuilt with GCC 6
prerelease."
by notificationsï¼ fedoraproject.org
From 69fbff2e6962566297fbf22fa3c912d7595cb96e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Persson?= <Bjorn(a)xn--rombobjrn-67a.se>
Date: Mon, 1 Feb 2016 00:09:07 +0100
Subject: Rebuilt with GCC 6 prerelease.
---
mine_detector.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/mine_detector.spec b/mine_detector.spec
index 0a69cbb..bbc2d2d 100644
--- a/mine_detector.spec
+++ b/mine_detector.spec
@@ -1,6 +1,6 @@
Name: mine_detector
Version: 6.0
-Release: 24%{?dist}
+Release: 25%{?dist}
Summary: Mine Detector, a mine-finding game
Summary(sv): Mine Detector, ett minröjningsspel
@@ -83,6 +83,9 @@ cp -p %{SOURCE8} %{buildroot}%{_mandir}/sv/man1/mine_detector.1
%changelog
+* Sun Jan 31 2016 Björn Persson <Bjorn(a)xn--rombobjrn-67a.se> - 6.0-25
+- Rebuilt with GCC 6 prerelease.
+
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 6.0-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/mine_detector.git/commit/?h=master&id=...
7Â years, 8Â months
rombobeorn pushed to GtkAda (master). "Rebuilt with GCC 6 prerelease."
by notificationsï¼ fedoraproject.org
From cae5b3424b36f2b25209329e9f5cb9767351424c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Persson?= <Bjorn(a)xn--rombobjrn-67a.se>
Date: Sun, 31 Jan 2016 23:35:54 +0100
Subject: Rebuilt with GCC 6 prerelease.
---
GtkAda.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/GtkAda.spec b/GtkAda.spec
index fc601ac..ee43bb9 100644
--- a/GtkAda.spec
+++ b/GtkAda.spec
@@ -1,6 +1,6 @@
Name: GtkAda
Version: 2.24.2
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: GTKada 2, an Ada binding to GTK+ 2
Summary(sv): GTKada 2, en adabindning till GTK+ 2
Group: System Environment/Libraries
@@ -302,6 +302,9 @@ exit 0
%changelog
+* Sun Jan 31 2016 Björn Persson <Bjorn(a)xn--rombobjrn-67a.se> - 2.24.2-18
+- Rebuilt with GCC 6 prerelease.
+
* Sat Dec 26 2015 Björn Persson <Bjorn(a)xn--rombobjrn-67a.se> - 2.24.2-17
- GtkAda-devel now recommends GtkAda-doc.
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/GtkAda.git/commit/?h=master&id=cae5b34...
7Â years, 8Â months
rombobeorn pushed to PragmARC (master). "Rebuilt with GCC 6
prerelease."
by notificationsï¼ fedoraproject.org
From 573d5eb4b9b6551df28d9a5bb437203bc11b4946 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Persson?= <Bjorn(a)xn--rombobjrn-67a.se>
Date: Sun, 31 Jan 2016 23:30:23 +0100
Subject: Rebuilt with GCC 6 prerelease.
---
PragmARC.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/PragmARC.spec b/PragmARC.spec
index c3c6cc7..ab62bcb 100644
--- a/PragmARC.spec
+++ b/PragmARC.spec
@@ -1,6 +1,6 @@
Name: PragmARC
Version: 20130728
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: PragmAda Reusable Components, a component library for Ada
Summary(sv): PragmAda Reusable Components, ett komponentbibliotek för ada
@@ -96,6 +96,9 @@ cp -p %{SOURCE3} %{buildroot}%{_GNAT_project_dir}/
%changelog
+* Sun Jan 31 2016 Björn Persson <Bjorn(a)xn--rombobjrn-67a.se> - 20130728-8
+- Rebuilt with GCC 6 prerelease.
+
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 20130728-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/PragmARC.git/commit/?h=master&id=573d5...
7Â years, 8Â months
mbaldessari pushed to q-text-as-data (f23). "Cleanups"
by notificationsï¼ fedoraproject.org
From 65ce510ffac1d090483c5c171a3f288eee22b132 Mon Sep 17 00:00:00 2001
From: Michele Baldessari <michele(a)acksyn.org>
Date: Sun, 31 Jan 2016 22:44:01 +0100
Subject: Cleanups
---
.gitignore | 1 +
q-text-as-data.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 87 insertions(+)
create mode 100644 q-text-as-data.spec
diff --git a/.gitignore b/.gitignore
index e69de29..0004d7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/q-1.5.0.tar.gz
diff --git a/q-text-as-data.spec b/q-text-as-data.spec
new file mode 100644
index 0000000..84089f4
--- /dev/null
+++ b/q-text-as-data.spec
@@ -0,0 +1,85 @@
+# Currently does not work with python3. As soon as python3 support
+# lands via https://github.com/harelba/q/issues/109 we can default to
+# to using it below
+%if 0%{?fedora} > 12 || 0%{?rhel} > 7
+%global with_python3 0
+%endif
+
+Name: q-text-as-data
+Version: 1.5.0
+Release: 2%{?dist}
+Summary: Direct execution of SQL-like queries on tabular text files
+
+Group: Applications/Text
+License: GPLv3
+URL: https://github.com/harelba/q
+Source: https://github.com/harelba/q/archive/%{version}.tar.gz#/q-%{version}.tar.gz
+BuildArch: noarch
+
+BuildRequires: rubygem-ronn
+
+%if %{?with_python3}
+BuildRequires: python3-devel
+Requires: python3
+%else
+BuildRequires: python2-devel
+Requires: python2
+%endif
+
+
+%description
+q-text-as-data is a command line tool that allows direct execution of SQL-like
+queries on CSVs/TSVs (and any other tabular text files).
+
+q-text-as-data treats ordinary files as database tables, and supports all SQL
+constructs, such as WHERE, GROUP BY, JOINs etc. It supports automatic column
+name and column type detection, and provides full support for multiple
+encodings.
+
+%prep
+%setup -qn q-%{version}
+
+%build
+ronn doc/USAGE.markdown
+%if 0%{?with_python3}
+sed -i '1s,#!.*,#!%{__python3},' bin/q
+%else
+sed -i '1s,#!.*,#!%{__python2},' bin/q
+%endif
+
+%install
+# NB: I am not 100% comfortable in using 'q' as the command name as
+# hijacking the single-letter namespace seems a bit too much.
+# Happy to be convinced otherwise
+%{__install} -Dm 0755 bin/q ${RPM_BUILD_ROOT}%{_bindir}/q-text-as-data
+%{__install} -d -m 0755 ${RPM_BUILD_ROOT}%{_mandir}/man1/
+%{__install} -m 0644 doc/USAGE ${RPM_BUILD_ROOT}%{_mandir}/man1/q-text-as-data.1
+
+%check
+# Small smoketest
+TMPFILE=$(mktemp)
+cat > $TMPFILE <<EOF
+"ID","Region","Service Name","Service Type","PublicURL","AdminURL","InternalURL"
+"6b397af6a4ff4ac4b4b78cfb8d76d570","regionOne","nova","computev3","http://192.0.2.1:8774/v3","http://192.0.2.1:8774/v3","http://192.0.2.1:8774/v3"
+"3c890b11cd8948e8b059ac46d77c1ce9","regionOne","keystone","identity","http://192.0.2.1:5000/v2.0","http://192.0.2.1:35357/v2.0","http://192.0.2.1:5000/v2.0"
+"669015a773ba4f6191f7c71670af0eba","regionOne","ironic","baremetal","http://192.0.2.1:6385/","http://192.0.2.1:6385/","http://192.0.2.1:6385/"
+"80de1938d3884f3197b6dc5525b2160e","regionOne","ceilometer","metering","http://192.0.2.1:8777/","http://192.0.2.1:8777/","http://192.0.2.1:8777/"
+"50d58d82b16d4077854c4d7d6a963bff","regionOne","tuskar","management","http://192.0.2.1:8585/v2","http://192.0.2.1:8585/v2","http://192.0.2.1:8585/v2"
+"1d113cd9848647eaa1b47f67af8db84b","regionOne","glance","image","http://192.0.2.1:9292/","http://192.0.2.1:9292/","http://192.0.2.1:9292/"
+"735cbf3b583849c397a9eb8c3f1d0095","regionOne","neutron","network","http://192.0.2.1:9696/","http://192.0.2.1:9696/","http://192.0.2.1:9696/"
+EOF
+cat $TMPFILE | ./bin/q -d, -H "SELECT ID FROM - WHERE 'Service Name'='nova'"
+rm $TMPFILE
+
+%files
+%license doc/LICENSE
+%doc %_mandir/man1/q-text-as-data.1.*
+%doc README.markdown doc/AUTHORS doc/IMPLEMENTATION.markdown doc/RATIONALE.markdown doc/THANKS doc/USAGE.markdown
+%{_bindir}/q-text-as-data
+
+%changelog
+* Sun Jan 31 2016 Michele Baldessari <michele(a)acksyn.org> - 1.5.0-2
+- Cleanups
+
+* Tue Oct 13 2015 Michele Baldessari <michele(a)acksyn.org> - 1.5.0-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..f591986 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+16c7afeb972e4c91572115624314b395 q-1.5.0.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/q-text-as-data.git/commit/?h=f23&id=65...
7Â years, 8Â months
martinkg pushed to boomaga (f23). "Initial import (#1293735)."
by notificationsï¼ fedoraproject.org
From f67fcfcf7a5e591bea67e0ee7c43429a43dbf7f9 Mon Sep 17 00:00:00 2001
From: Martin Gansser <mgansser(a)alice.de>
Date: Sun, 31 Jan 2016 22:40:35 +0100
Subject: Initial import (#1293735).
---
.gitignore | 1 +
boomaga.spec | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 167 insertions(+)
create mode 100644 boomaga.spec
diff --git a/.gitignore b/.gitignore
index e69de29..47ea1dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/boomaga-9a6aa75.tar.gz
diff --git a/boomaga.spec b/boomaga.spec
new file mode 100644
index 0000000..a1fd2e9
--- /dev/null
+++ b/boomaga.spec
@@ -0,0 +1,165 @@
+#https://github.com/Boomaga/boomaga/commit/9a6aa75dbbcc139b982e00b5b32bdfe62e70dcb6
+%global commit0 9a6aa75dbbcc139b982e00b5b32bdfe62e70dcb6
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+
+Name: boomaga
+Version: 0.7.1
+Release: 6.git%{shortcommit0}%{?dist}
+Summary: A virtual printer for viewing a document before printing
+
+License: GPLv2 and LGPLv2+
+URL: http://www.boomaga.org
+# wget https://github.com/Boomaga/boomaga/archive/9a6aa75dbbcc139b982e00b5b32bdf...
+Source0: https://github.com/Boomaga/boomaga/archive/%{commit0}/%{name}-%{commit0}....
+
+BuildRequires: cmake
+BuildRequires: cups-devel
+BuildRequires: desktop-file-utils
+BuildRequires: poppler-devel
+BuildRequires: poppler-cpp-devel
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qttools-devel
+BuildRequires: snappy-devel
+Requires: cups
+Requires: shared-mime-info
+
+%description
+Boomaga (BOOklet MAnager) is a virtual printer for viewing a document
+before printing it out using the physical printer.
+The program is very simple to work with.
+Running any program, click "print" and select "Boomaga" to see in several
+seconds (CUPS takes some time to respond) the Boomaga window open.
+If you print out one more document,
+it gets added to the previous one, and you can also print them out as one,
+and you can also print them out as one.
+Regardless of whether your printer supports duplex printing or not,
+you would be able to easily print on both sides of the sheet.
+If your printer does not support duplex printing,
+point this out in the settings, and Booklet would ask you to turn
+over the pages half way through printing your document.
+
+The program can also help you get your documents prepared a bit
+before printing. At this stage Boomaga makes it possible to:
+
+ * Paste several documents together.
+ * Print several pages on one sheet.
+ * 1, 2, 4, 8 pages per sheet
+ * Booklet. Folding the sheets in two, you'll get a book.
+
+
+%prep
+%setup -qn %{name}-%{commit0}
+
+# delete unused directories and files
+find -name .gitignore -type f -or -name .travis.yml -type f | xargs rm -rfv
+
+%build
+%cmake \
+ -DUSE_QT5=Yes \
+ -DCUPS_BACKEND_DIR=%{_cups_serverbin}/backend \
+ -DCUPS_FILTER_DIR=%{_cups_serverbin}/filter \
+ .
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
+install -m 755 scripts/installPrinter.sh %{buildroot}%{_datadir}/%{name}/scripts/
+chmod +x %{buildroot}%{_datadir}/%{name}/scripts/installPrinter.sh
+
+%find_lang %{name} --with-qt
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+%pre
+# Start cups if is stopped
+if [ "$(systemctl is-active cups.service)" != "active" ]; then
+ systemctl start cups
+ sleep 2
+fi
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+# Install the printer to cups backends
+if [ $1 = 1 ]; then
+ sh %{_datadir}/%{name}/scripts/installPrinter.sh
+fi
+/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /bin/touch --no-create %{_datadir}/mime/packages &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+ /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+
+%preun
+# Uninstall the printer
+if [ $1 = 0 ] ; then
+ lpadmin -x "Boomaga"
+fi
+
+
+%files -f %{name}.lang
+%doc README.md
+%license COPYING GPL LGPL
+%{_bindir}/%{name}
+
+%defattr(755,root,root,-)
+%{_cups_serverbin}/backend/%{name}
+%defattr(-,root,root,-)
+%{_cups_serverbin}/filter/boomaga_pstopdf
+
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/boomagabackend
+%{_libdir}/%{name}/boomagamerger
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/dbus-1/services/org.%{name}.service
+
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/mime/packages/%{name}.xml
+
+%dir %{_datadir}/ppd/%{name}
+%{_datadir}/ppd/%{name}/%{name}.ppd
+
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/scripts
+%dir %{_datadir}/%{name}/translations/
+%{_datadir}/%{name}/scripts/installPrinter.sh
+%{_mandir}/man1/%{name}.1.gz
+
+%changelog
+* Thu Jan 28 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-6.git9a6aa75
+- Dropped %%Patch0
+- Update to new git version
+
+* Thu Jan 28 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-5.git2928eef
+- Dropped link for %%{_bindir}/boomagamerger
+- Added %%{name}-0.7.1-NONGUI_DIR.patch
+
+* Sat Jan 09 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-4.git2928eef
+- used %%{_cups_serverbin} macro provided by cups-devel
+- Update to new git version
+
+* Sat Dec 26 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-3.git8ca78b2
+- Follow https://fedoraproject.org/wiki/Packaging:SourceURL
+- corrected cups backend and filter directories
+- use if condition in %%preun script
+- linked missing %%{_bindir}/boomagamerger
+
+* Fri Dec 25 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-2.git8ca78b2
+- Rebuilt for new git release
+
+* Tue Dec 22 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-1.git8ca78b2
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..a204f7d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+402d6db2c6964d529436e75a8a1cb3f3 boomaga-9a6aa75.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/boomaga.git/commit/?h=f23&id=f67fcfcf7...
7Â years, 8Â months
mbaldessari pushed to q-text-as-data (master). "Cleanups"
by notificationsï¼ fedoraproject.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
<title>Fedora Project Packages GIT repositories</title>
<meta name='generator' content='cgit v0.11.2'/>
<meta name='robots' content='index, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit-data/cgit.css'/>
<link rel='shortcut icon' href='/favicon.ico'/>
</head>
<body>
<script src="https://apps.fedoraproject.org/fedmenu/js/jquery-1.11.2.min.js"></script>
<script src="https://apps.fedoraproject.org/fedmenu/js/fedmenu.js"></script>
<script>
var base = 'https://apps.fedoraproject.org/';
var tokens = window.location.href.split('/');
var repo = null;
if (tokens.length > 4 && tokens[4] != '') {
repo = tokens[4].split('.')[0];
}
fedmenu({
'url': base + 'js/data.js',
'mimeType': 'application/javascript',
'position': 'bottom-right',
'package': repo,
});
</script>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit-data/cgit.png' alt='cgit logo'/></a></td>
<td class='main'>Fedora Project Packages GIT repositories</td></tr>
<tr><td class='sub'>a fast webinterface for the git dscm</td></tr></table>
<table class='tabs'><tr><td>
<a class='active' href='/cgit/'>index</a></td><td class='form'><form method='get' action='/cgit/rpms/q-text-as-data.git/patch/'>
<input type='text' name='q' size='10' value=''/>
<input type='submit' value='search'/>
</form></td></tr></table>
<div class='content'><table summary='repository list' class='list nowrap'></table><div class='error'>No repositories found</div>
</div> <!-- class=content -->
<div class='footer'>generated by <a href='http://git.zx2c4.com/cgit/about/'>cgit v0.11.2</a> at 2016-01-31 21:44:22 (GMT)</div>
</div> <!-- id=cgit -->
</body>
</html>
http://pkgs.fedoraproject.org/cgit/q-text-as-data.git/commit/?h=master&id...
7Â years, 8Â months
martinkg pushed to boomaga (master). "Initial import (#1293735)."
by notificationsï¼ fedoraproject.org
From f67fcfcf7a5e591bea67e0ee7c43429a43dbf7f9 Mon Sep 17 00:00:00 2001
From: Martin Gansser <mgansser(a)alice.de>
Date: Sun, 31 Jan 2016 22:40:35 +0100
Subject: Initial import (#1293735).
---
.gitignore | 1 +
boomaga.spec | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 167 insertions(+)
create mode 100644 boomaga.spec
diff --git a/.gitignore b/.gitignore
index e69de29..47ea1dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/boomaga-9a6aa75.tar.gz
diff --git a/boomaga.spec b/boomaga.spec
new file mode 100644
index 0000000..a1fd2e9
--- /dev/null
+++ b/boomaga.spec
@@ -0,0 +1,165 @@
+#https://github.com/Boomaga/boomaga/commit/9a6aa75dbbcc139b982e00b5b32bdfe62e70dcb6
+%global commit0 9a6aa75dbbcc139b982e00b5b32bdfe62e70dcb6
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+
+Name: boomaga
+Version: 0.7.1
+Release: 6.git%{shortcommit0}%{?dist}
+Summary: A virtual printer for viewing a document before printing
+
+License: GPLv2 and LGPLv2+
+URL: http://www.boomaga.org
+# wget https://github.com/Boomaga/boomaga/archive/9a6aa75dbbcc139b982e00b5b32bdf...
+Source0: https://github.com/Boomaga/boomaga/archive/%{commit0}/%{name}-%{commit0}....
+
+BuildRequires: cmake
+BuildRequires: cups-devel
+BuildRequires: desktop-file-utils
+BuildRequires: poppler-devel
+BuildRequires: poppler-cpp-devel
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qttools-devel
+BuildRequires: snappy-devel
+Requires: cups
+Requires: shared-mime-info
+
+%description
+Boomaga (BOOklet MAnager) is a virtual printer for viewing a document
+before printing it out using the physical printer.
+The program is very simple to work with.
+Running any program, click "print" and select "Boomaga" to see in several
+seconds (CUPS takes some time to respond) the Boomaga window open.
+If you print out one more document,
+it gets added to the previous one, and you can also print them out as one,
+and you can also print them out as one.
+Regardless of whether your printer supports duplex printing or not,
+you would be able to easily print on both sides of the sheet.
+If your printer does not support duplex printing,
+point this out in the settings, and Booklet would ask you to turn
+over the pages half way through printing your document.
+
+The program can also help you get your documents prepared a bit
+before printing. At this stage Boomaga makes it possible to:
+
+ * Paste several documents together.
+ * Print several pages on one sheet.
+ * 1, 2, 4, 8 pages per sheet
+ * Booklet. Folding the sheets in two, you'll get a book.
+
+
+%prep
+%setup -qn %{name}-%{commit0}
+
+# delete unused directories and files
+find -name .gitignore -type f -or -name .travis.yml -type f | xargs rm -rfv
+
+%build
+%cmake \
+ -DUSE_QT5=Yes \
+ -DCUPS_BACKEND_DIR=%{_cups_serverbin}/backend \
+ -DCUPS_FILTER_DIR=%{_cups_serverbin}/filter \
+ .
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
+install -m 755 scripts/installPrinter.sh %{buildroot}%{_datadir}/%{name}/scripts/
+chmod +x %{buildroot}%{_datadir}/%{name}/scripts/installPrinter.sh
+
+%find_lang %{name} --with-qt
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+
+%pre
+# Start cups if is stopped
+if [ "$(systemctl is-active cups.service)" != "active" ]; then
+ systemctl start cups
+ sleep 2
+fi
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+# Install the printer to cups backends
+if [ $1 = 1 ]; then
+ sh %{_datadir}/%{name}/scripts/installPrinter.sh
+fi
+/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /bin/touch --no-create %{_datadir}/mime/packages &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+ /usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
+
+%preun
+# Uninstall the printer
+if [ $1 = 0 ] ; then
+ lpadmin -x "Boomaga"
+fi
+
+
+%files -f %{name}.lang
+%doc README.md
+%license COPYING GPL LGPL
+%{_bindir}/%{name}
+
+%defattr(755,root,root,-)
+%{_cups_serverbin}/backend/%{name}
+%defattr(-,root,root,-)
+%{_cups_serverbin}/filter/boomaga_pstopdf
+
+%dir %{_libdir}/%{name}
+%{_libdir}/%{name}/boomagabackend
+%{_libdir}/%{name}/boomagamerger
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/dbus-1/services/org.%{name}.service
+
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/mime/packages/%{name}.xml
+
+%dir %{_datadir}/ppd/%{name}
+%{_datadir}/ppd/%{name}/%{name}.ppd
+
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/scripts
+%dir %{_datadir}/%{name}/translations/
+%{_datadir}/%{name}/scripts/installPrinter.sh
+%{_mandir}/man1/%{name}.1.gz
+
+%changelog
+* Thu Jan 28 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-6.git9a6aa75
+- Dropped %%Patch0
+- Update to new git version
+
+* Thu Jan 28 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-5.git2928eef
+- Dropped link for %%{_bindir}/boomagamerger
+- Added %%{name}-0.7.1-NONGUI_DIR.patch
+
+* Sat Jan 09 2016 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-4.git2928eef
+- used %%{_cups_serverbin} macro provided by cups-devel
+- Update to new git version
+
+* Sat Dec 26 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-3.git8ca78b2
+- Follow https://fedoraproject.org/wiki/Packaging:SourceURL
+- corrected cups backend and filter directories
+- use if condition in %%preun script
+- linked missing %%{_bindir}/boomagamerger
+
+* Fri Dec 25 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-2.git8ca78b2
+- Rebuilt for new git release
+
+* Tue Dec 22 2015 Martin Gansser <martinkg(a)fedoraproject.org> - 0.7.1-1.git8ca78b2
+- Initial version of the package
diff --git a/sources b/sources
index e69de29..a204f7d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+402d6db2c6964d529436e75a8a1cb3f3 boomaga-9a6aa75.tar.gz
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/boomaga.git/commit/?h=master&id=f67fcf...
7Â years, 8Â months