[fritzing] Updated to 0.7.5b release, update patches, cleanup and modernise spec

Peter Robinson pbrobinson at fedoraproject.org
Tue Jul 3 11:42:42 UTC 2012


commit 9a4273c839532490b542e45fc226d1f8b9596e71
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Jul 3 12:42:32 2012 +0100

    Updated to 0.7.5b release, update patches, cleanup and modernise spec

 fritzing-disable-autoupdate.patch |  324 +++++++++++++++++++------------------
 fritzing-use-external-libs.patch  |   69 ++++++--
 fritzing.spec                     |   25 ++--
 sources                           |    2 +-
 4 files changed, 231 insertions(+), 189 deletions(-)
---
diff --git a/fritzing-disable-autoupdate.patch b/fritzing-disable-autoupdate.patch
index da6b7c2..eda3a00 100644
--- a/fritzing-disable-autoupdate.patch
+++ b/fritzing-disable-autoupdate.patch
@@ -1,166 +1,176 @@
-diff -urP fritzing-0.7.1b.source.orig/src/fapplication.cpp fritzing-0.7.1b.source/src/fapplication.cpp
---- fritzing-0.7.1b.source.orig/src/fapplication.cpp	2012-03-10 07:09:14.000000000 -0800
-+++ fritzing-0.7.1b.source/src/fapplication.cpp	2012-03-10 23:55:35.017018480 -0800
-@@ -762,10 +762,6 @@
- 	if (m_progressIndex >= 0) splash.showProgress(m_progressIndex, 0.825);
- 	ProcessEventBlocker::processEvents();
- 
--	m_updateDialog = new UpdateDialog();
--	connect(m_updateDialog, SIGNAL(enableAgainSignal(bool)), this, SLOT(enableCheckUpdates(bool)));
--	checkForUpdates(false);
--
- 	if (m_progressIndex >= 0) splash.showProgress(m_progressIndex, 0.875);
- 
- 	loadSomething(firstRun, prevVersion);
-@@ -963,57 +959,6 @@
-         ViewLayer::ViewLayerID viewLayerID;
- };
- 
--
--
--void FApplication::checkForUpdates() {
--	checkForUpdates(true);
--}
--
--void FApplication::checkForUpdates(bool atUserRequest)
--{
--	if (atUserRequest) {
--		enableCheckUpdates(false);
--	}
--
--	VersionChecker * versionChecker = new VersionChecker();
--
--	QSettings settings;
--	if (!atUserRequest) {
--		// if I've already been notified about these updates, don't bug me again
--		QString lastMainVersionChecked = settings.value("lastMainVersionChecked").toString();
--		if (!lastMainVersionChecked.isEmpty()) {
--			versionChecker->ignore(lastMainVersionChecked, false);
--		}
--		QString lastInterimVersionChecked = settings.value("lastInterimVersionChecked").toString();
--		if (!lastInterimVersionChecked.isEmpty()) {
--			versionChecker->ignore(lastInterimVersionChecked, true);
--		}
--	}
--
--    QString atom = QString("http://fritzing.org/download/feed/atom/%1/%2")
--		.arg(PLATFORM_NAME)
--		.arg(makeRequestParamsString());
--    DebugDialog::debug(atom);
--    versionChecker->setUrl(atom);
--	m_updateDialog->setAtUserRequest(atUserRequest);
--	m_updateDialog->setVersionChecker(versionChecker);
--
--	if (atUserRequest) {
--		m_updateDialog->show();
--	}
--}
--
--void FApplication::enableCheckUpdates(bool enabled)
--{
--    foreach (QWidget *widget, QApplication::topLevelWidgets()) {
--        MainWindow *mainWindow = qobject_cast<MainWindow *>(widget);
--		if (mainWindow) {
--			mainWindow->enableCheckUpdates(enabled);
--		}
--	}
--}
--
--
- void FApplication::createUserDataStoreFolderStructure() {
- 	// make sure that the folder structure for parts and bins, exists
- 	QString userDataStorePath = FolderUtils::getUserDataStorePath();
-diff -urP fritzing-0.7.1b.source.orig/src/fapplication.h fritzing-0.7.1b.source/src/fapplication.h
---- fritzing-0.7.1b.source.orig/src/fapplication.h	2012-03-10 07:09:14.000000000 -0800
-+++ fritzing-0.7.1b.source/src/fapplication.h	2012-03-10 23:55:35.018018458 -0800
-@@ -64,9 +64,6 @@
+--- fritzing-0.7.5b.source/src/fapplication.cpp.orig	2012-07-03 09:34:29.216464149 +0100
++++ fritzing-0.7.5b.source/src/fapplication.cpp	2012-07-03 09:36:25.500449472 +0100
+@@ -125,7 +125,6 @@
+ 	m_referenceModel = NULL;
+ 	m_paletteBinModel = NULL;
+ 	m_started = false;
+-	m_updateDialog = NULL;
+ 	m_lastTopmostWindow = NULL;
+ 	m_serviceType = NoService;
+ 	m_splash = NULL;
+@@ -246,7 +245,6 @@
+ 	}
  
+ 	m_started = false;
+-	m_updateDialog = NULL;
+ 	m_lastTopmostWindow = NULL;
+ 
+ 	connect(&m_activationTimer, SIGNAL(timeout()), this, SLOT(updateActivation()));
+@@ -303,10 +301,6 @@
+ 		
+ 	clearModels();
+ 
+-	if (m_updateDialog) {
+-		delete m_updateDialog;
+-	}
+-
+ 	FSvgRenderer::cleanup();
+ 	ViewIdentifierClass::cleanup();
+ 	ViewLayer::cleanup();
+@@ -766,10 +760,6 @@
+ 	if (m_progressIndex >= 0) splash.showProgress(m_progressIndex, 0.825);
+ 	ProcessEventBlocker::processEvents();
+ 
+-	m_updateDialog = new UpdateDialog();
+-	connect(m_updateDialog, SIGNAL(enableAgainSignal(bool)), this, SLOT(enableCheckUpdates(bool)));
+-	checkForUpdates(false);
+-
+ 	if (m_progressIndex >= 0) splash.showProgress(m_progressIndex, 0.875);
+ 
+ 	DebugDialog::debug("load something");
+@@ -952,59 +942,6 @@
+         ViewLayer::ViewLayerID viewLayerID;
+ };
+ 
+-
+-
+-void FApplication::checkForUpdates() {
+-	checkForUpdates(true);
+-}
+-
+-void FApplication::checkForUpdates(bool atUserRequest)
+-{
+-	if (atUserRequest) {
+-		enableCheckUpdates(false);
+-	}
+-
+-	VersionChecker * versionChecker = new VersionChecker();
+-
+-	QSettings settings;
+-	if (!atUserRequest) {
+-		// if I've already been notified about these updates, don't bug me again
+-		QString lastMainVersionChecked = settings.value("lastMainVersionChecked").toString();
+-		if (!lastMainVersionChecked.isEmpty()) {
+-			versionChecker->ignore(lastMainVersionChecked, false);
+-		}
+-		QString lastInterimVersionChecked = settings.value("lastInterimVersionChecked").toString();
+-		if (!lastInterimVersionChecked.isEmpty()) {
+-			versionChecker->ignore(lastInterimVersionChecked, true);
+-		}
+-	}
+-
+-    QString atom = QString("http://fritzing.org/download/feed/atom/%1/%2")
+-		.arg(PLATFORM_NAME)
+-		.arg(makeRequestParamsString());
+-    DebugDialog::debug(atom);
+-    versionChecker->setUrl(atom);
+-	m_updateDialog->setAtUserRequest(atUserRequest);
+-	m_updateDialog->setVersionChecker(versionChecker);
+-
+-	if (atUserRequest) {
+-		m_updateDialog->show();
+-	}
+-}
+-
+-void FApplication::enableCheckUpdates(bool enabled)
+-{
+-	DebugDialog::debug("before enable check updates");
+-    foreach (QWidget *widget, QApplication::topLevelWidgets()) {
+-        MainWindow *mainWindow = qobject_cast<MainWindow *>(widget);
+-		if (mainWindow) {
+-			mainWindow->enableCheckUpdates(enabled);
+-		}
+-	}
+-	DebugDialog::debug("after enable check updates");
+-}
+-
+-
+ void FApplication::createUserDataStoreFolderStructure() {
+ 	// make sure that the folder structure for parts and bins, exists
+ 	QString userDataStorePath = FolderUtils::getUserDataStorePath();
+--- fritzing-0.7.5b.source/src/fapplication.h.orig	2012-07-03 09:36:43.825457172 +0100
++++ fritzing-0.7.5b.source/src/fapplication.h	2012-07-03 09:37:19.645455254 +0100
+@@ -65,9 +65,6 @@
  public slots:
  	void preferences();
+ 	void preferencesAfter();
 -	void checkForUpdates();
 -	void checkForUpdates(bool atUserRequest);
 -	void enableCheckUpdates(bool enabled);
  	void createUserDataStoreFolderStructure();
  	void changeActivation(bool activate, QWidget * originator);
  	void updateActivation();
-diff -urP fritzing-0.7.1b.source.orig/src/mainwindow.cpp fritzing-0.7.1b.source/src/mainwindow.cpp
---- fritzing-0.7.1b.source.orig/src/mainwindow.cpp	2012-03-10 07:09:14.000000000 -0800
-+++ fritzing-0.7.1b.source/src/mainwindow.cpp	2012-03-10 23:58:33.173816017 -0800
-@@ -166,7 +166,6 @@
- 	m_windowMenuSeparator = NULL;
- 	m_wireColorMenu = NULL;
- 	m_viewSwitcherDock = NULL;
--	m_checkForUpdatesAct = NULL;
- 	m_fileProgressDialog = NULL;
- 	m_currentGraphicsView = NULL;
- 	m_comboboxChanged = false;
-@@ -1757,13 +1756,6 @@
- 	m_showInViewHelpAct->setChecked(show);
- }
- 
--void MainWindow::enableCheckUpdates(bool enabled)
--{
--	if (m_checkForUpdatesAct != NULL) {
--		m_checkForUpdatesAct->setEnabled(enabled);
--	}
--}
--
- 
- void MainWindow::swapSelectedDelay(const QString & family, const QString & prop, QMap<QString, QString> & currPropsMap, ItemBase * itemBase) 
- {
-diff -urP fritzing-0.7.1b.source.orig/src/mainwindow.h fritzing-0.7.1b.source/src/mainwindow.h
---- fritzing-0.7.1b.source.orig/src/mainwindow.h	2012-03-10 07:09:09.000000000 -0800
-+++ fritzing-0.7.1b.source/src/mainwindow.h	2012-03-10 23:55:35.020018428 -0800
-@@ -93,7 +93,6 @@
- 	QSizeGrip *sizeGrip();
- 	QStatusBar *realStatusBar();
- 	void showAllFirstTimeHelp(bool show);
--	void enableCheckUpdates(bool enabled);
- 
- 	class PartsEditorMainWindow* getPartsEditor(ModelPart *modelPart, long id, ItemBase * fromItem, class PartsBinPaletteWidget* requester);
- 	ModelPart *loadPartFromFile(const QString& newPartPath, bool connectorsChanged=false);
-@@ -669,7 +668,6 @@
-     QAction *m_partsRefAct;
-     QAction *m_showInViewHelpAct;;
-     QAction *m_visitFritzingDotOrgAct;
--    QAction *m_checkForUpdatesAct;
-     QAction *m_aboutQtAct;
-     QAction *m_reportBugAct;
- 	QAction *m_enableDebugAct;
-diff -urP fritzing-0.7.1b.source.orig/src/mainwindow_menu.cpp fritzing-0.7.1b.source/src/mainwindow_menu.cpp
---- fritzing-0.7.1b.source.orig/src/mainwindow_menu.cpp	2012-03-10 07:09:14.000000000 -0800
-+++ fritzing-0.7.1b.source/src/mainwindow_menu.cpp	2012-03-10 23:55:35.022018373 -0800
-@@ -938,10 +938,6 @@
- 	m_visitFritzingDotOrgAct->setStatusTip(tr("www.fritzing.org"));
- 	connect(m_visitFritzingDotOrgAct, SIGNAL(triggered(bool)), this, SLOT(visitFritzingDotOrg()));*/
- 
--	m_checkForUpdatesAct = new QAction(tr("Check for updates..."), this);
--	m_checkForUpdatesAct->setStatusTip(tr("Check whether a newer version of Fritzing is available for download"));
--	connect(m_checkForUpdatesAct, SIGNAL(triggered()), QApplication::instance(), SLOT(checkForUpdates()));
--
- 	m_aboutAct = new QAction(tr("&About"), this);
- 	m_aboutAct->setStatusTip(tr("Show the application's about box"));
- 	connect(m_aboutAct, SIGNAL(triggered()), this, SLOT(about()));
-@@ -1180,7 +1176,6 @@
-     m_helpMenu->addAction(m_examplesAct);
-     m_helpMenu->addAction(m_partsRefAct);
- 	m_helpMenu->addSeparator();
--	m_helpMenu->addAction(m_checkForUpdatesAct);
- 	m_helpMenu->addAction(m_importFilesFromPrevInstallAct);
- 	m_helpMenu->addSeparator();
- 	m_helpMenu->addAction(m_reportBugAct);
-diff -urP fritzing-0.7.1b.source.orig/translations/fritzing_de.ts fritzing-0.7.1b.source/translations/fritzing_de.ts
---- fritzing-0.7.1b.source.orig/translations/fritzing_de.ts	2012-03-10 23:55:24.377324371 -0800
-+++ fritzing-0.7.1b.source/translations/fritzing_de.ts	2012-03-10 23:59:04.140396287 -0800
-@@ -3280,11 +3280,6 @@
-         <translation>Notiz hinzufügen</translation>
-     </message>
-     <message>
--        <location filename="../src/mainwindow_menu.cpp" line="940"/>
--        <source>Check for updates...</source>
--        <translation>Nach Updates suchen...</translation>
--    </message>
--    <message>
-         <location filename="../src/mainwindow_menu.cpp" line="941"/>
-         <source>Check whether a newer version of Fritzing is available for download</source>
-         <translation>Überprüfen, ob eine neuere Fritzing-Version zum Download bereit steht</translation>
+--- fritzing-0.7.5b.source/src/mainwindow.cpp.orig	2012-07-03 09:37:32.273459712 +0100
++++ fritzing-0.7.5b.source/src/mainwindow.cpp	2012-07-03 09:38:01.261461430 +0100
+@@ -167,7 +167,6 @@
+ 	m_windowMenuSeparator = NULL;
+ 	m_wireColorMenu = NULL;
+ 	m_viewSwitcherDock = NULL;
+-	m_checkForUpdatesAct = NULL;
+ 	m_fileProgressDialog = NULL;
+ 	m_currentGraphicsView = NULL;
+ 	m_comboboxChanged = false;
+@@ -1705,14 +1704,6 @@
+ 	m_showInViewHelpAct->setChecked(show);
+ }
+ 
+-void MainWindow::enableCheckUpdates(bool enabled)
+-{
+-	if (m_checkForUpdatesAct != NULL) {
+-		m_checkForUpdatesAct->setEnabled(enabled);
+-	}
+-}
+-
+-
+ void MainWindow::swapSelectedDelay(const QString & family, const QString & prop, QMap<QString, QString> & currPropsMap, ItemBase * itemBase) 
+ {
+ 	m_swapTimer.stop();
+--- fritzing-0.7.5b.source/src/mainwindow.h.orig	2012-07-02 13:05:48.000000000 +0100
++++ fritzing-0.7.5b.source/src/mainwindow.h	2012-07-03 09:42:52.512457624 +0100
+@@ -120,7 +120,6 @@
+ 	QSizeGrip *sizeGrip();
+ 	QStatusBar *realStatusBar();
+ 	void showAllFirstTimeHelp(bool show);
+-	void enableCheckUpdates(bool enabled);
+ 
+ 	class PartsEditorMainWindow* getPartsEditor(ModelPart *modelPart, long id, ItemBase * fromItem, class PartsBinPaletteWidget* requester);
+ 	ModelPart *loadPartFromFile(const QString& newPartPath, bool connectorsChanged=false);
+@@ -714,7 +713,6 @@
+     QAction *m_partsRefAct;
+     QAction *m_showInViewHelpAct;;
+     QAction *m_visitFritzingDotOrgAct;
+-    QAction *m_checkForUpdatesAct;
+     QAction *m_aboutQtAct;
+     QAction *m_reportBugAct;
+ 	QAction *m_enableDebugAct;
+--- fritzing-0.7.5b.source/src/mainwindow_menu.cpp.orig	2012-07-03 09:50:29.301413105 +0100
++++ fritzing-0.7.5b.source/src/mainwindow_menu.cpp	2012-07-03 09:50:47.031409549 +0100
+@@ -1007,10 +1007,6 @@
+ 	m_visitFritzingDotOrgAct->setStatusTip(tr("www.fritzing.org"));
+ 	connect(m_visitFritzingDotOrgAct, SIGNAL(triggered(bool)), this, SLOT(visitFritzingDotOrg()));*/
+ 
+-	m_checkForUpdatesAct = new QAction(tr("Check for updates..."), this);
+-	m_checkForUpdatesAct->setStatusTip(tr("Check whether a newer version of Fritzing is available for download"));
+-	connect(m_checkForUpdatesAct, SIGNAL(triggered()), QApplication::instance(), SLOT(checkForUpdates()));
+-
+ 	m_aboutAct = new QAction(tr("&About"), this);
+ 	m_aboutAct->setStatusTip(tr("Show the application's about box"));
+ 	connect(m_aboutAct, SIGNAL(triggered()), this, SLOT(about()));
+@@ -1255,7 +1251,6 @@
+     m_helpMenu->addAction(m_examplesAct);
+     m_helpMenu->addAction(m_partsRefAct);
+ 	m_helpMenu->addSeparator();
+-	m_helpMenu->addAction(m_checkForUpdatesAct);
+ 	m_helpMenu->addAction(m_importFilesFromPrevInstallAct);
+ 	m_helpMenu->addSeparator();
+ 	m_helpMenu->addAction(m_reportBugAct);
diff --git a/fritzing-use-external-libs.patch b/fritzing-use-external-libs.patch
index 470fd99..0a6f984 100644
--- a/fritzing-use-external-libs.patch
+++ b/fritzing-use-external-libs.patch
@@ -112,24 +112,6 @@ diff -ur fritzing-0.7.0b.source.orig/translations/fritzing_de.ts fritzing-0.7.0b
      <name>RecoveryDialog</name>
      <message>
          <location filename="../src/dialogs/recoverydialog.cpp" line="65"/>
-diff -ur fritzing-0.7.0b.source.orig/translations/fritzing_el.ts fritzing-0.7.0b.source/translations/fritzing_el.ts
---- fritzing-0.7.0b.source.orig/translations/fritzing_el.ts	2012-02-03 12:19:36.000000000 -0800
-+++ fritzing-0.7.0b.source/translations/fritzing_el.ts	2012-02-03 17:49:46.887942173 -0800
-@@ -5560,14 +5560,6 @@
-     </message>
- </context>
- <context>
--    <name>QuaZipFile</name>
--    <message>
--        <location filename="../src/lib/quazip/quazipfile.cpp" line="141"/>
--        <source>ZIP/UNZIP API error %1</source>
--        <translation type="unfinished"></translation>
--    </message>
--</context>
--<context>
-     <name>RecoveryDialog</name>
-     <message>
-         <location filename="../src/dialogs/recoverydialog.cpp" line="65"/>
 diff -ur fritzing-0.7.0b.source.orig/translations/fritzing_en.ts fritzing-0.7.0b.source/translations/fritzing_en.ts
 --- fritzing-0.7.0b.source.orig/translations/fritzing_en.ts	2012-02-03 12:19:35.000000000 -0800
 +++ fritzing-0.7.0b.source/translations/fritzing_en.ts	2012-02-03 17:49:51.288801491 -0800
@@ -364,3 +346,54 @@ diff -ur fritzing-0.7.0b.source.orig/translations/fritzing_zh_tw.ts fritzing-0.7
      <name>RecoveryDialog</name>
      <message>
          <location filename="../src/dialogs/recoverydialog.cpp" line="65"/>
+--- fritzing-0.7.5b.source/translations/fritzing_el.ts.orig	2012-07-03 09:21:32.552506648 +0100
++++ fritzing-0.7.5b.source/translations/fritzing_el.ts	2012-07-03 09:22:36.529512021 +0100
+@@ -6134,14 +6134,6 @@
+     </message>
+ </context>
+ <context>
+-    <name>QuaZipFile</name>
+-    <message>
+-        <location filename="../src/lib/quazip/quazipfile.cpp" line="141"/>
+-        <source>ZIP/UNZIP API error %1</source>
+-        <translation>ZIP/UNZIP API σφάλμα %1</translation>
+-    </message>
+-</context>
+-<context>
+     <name>RecoveryDialog</name>
+     <message>
+         <location filename="../src/dialogs/recoverydialog.cpp" line="65"/>
+--- fritzing-0.7.5b.source/translations/fritzing_id.ts.orig	2012-07-03 09:23:54.791497260 +0100
++++ fritzing-0.7.5b.source/translations/fritzing_id.ts	2012-07-03 09:24:26.474497169 +0100
+@@ -6045,14 +6045,6 @@
+     </message>
+ </context>
+ <context>
+-    <name>QuaZipFile</name>
+-    <message>
+-        <location filename="../src/lib/quazip/quazipfile.cpp" line="141"/>
+-        <source>ZIP/UNZIP API error %1</source>
+-        <translation type="unfinished"></translation>
+-    </message>
+-</context>
+-<context>
+     <name>RecoveryDialog</name>
+     <message>
+         <location filename="../src/dialogs/recoverydialog.cpp" line="65"/>
+--- fritzing-0.7.5b.source/translations/fritzing_sk.ts.orig	2012-07-03 09:24:01.750498341 +0100
++++ fritzing-0.7.5b.source/translations/fritzing_sk.ts	2012-07-03 09:24:35.203504254 +0100
+@@ -6063,14 +6063,6 @@
+     </message>
+ </context>
+ <context>
+-    <name>QuaZipFile</name>
+-    <message>
+-        <location filename="../src/lib/quazip/quazipfile.cpp" line="141"/>
+-        <source>ZIP/UNZIP API error %1</source>
+-        <translation type="unfinished"></translation>
+-    </message>
+-</context>
+-<context>
+     <name>RecoveryDialog</name>
+     <message>
+         <location filename="../src/dialogs/recoverydialog.cpp" line="65"/>
diff --git a/fritzing.spec b/fritzing.spec
index 5a1397d..bbb9236 100644
--- a/fritzing.spec
+++ b/fritzing.spec
@@ -1,5 +1,5 @@
 Name:           fritzing
-Version:        0.7.1b
+Version:        0.7.5b
 Release:        1%{?dist}
 Summary:        Electronic Design Automation software; from prototype to product
 
@@ -13,7 +13,6 @@ Source1:        fritzing.desktop
 Patch0:         fritzing-use-external-libs.patch
 # Fedora-specific patch to disable internal auto-updating feature.
 Patch1:         fritzing-disable-autoupdate.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  qt4-devel qt-webkit-devel desktop-file-utils boost-devel quazip-devel minizip-devel
 Requires:       electronics-menu
@@ -33,20 +32,18 @@ rm -f pri/quazip.pri
 rm -rf src/lib/boost_1_43_0
 rm -rf src/lib/quazip
 
-%{__sed} -i 's/\r//' README.txt
-%{__sed} -i 's/\r//' LICENSE.CC-BY-SA
+sed -i 's/\r//' README.txt
+sed -i 's/\r//' LICENSE.CC-BY-SA
 
-%patch0 -p1
-%patch1 -p1
+%patch0 -p1 -b .ext-libs
+%patch1 -p1 -b .disable-updates
 
 %build
 CXXFLAGS="%{optflags}"
 %{_qt4_qmake}
-make %{?_smp_mflags}
-
+make %{?_smp_mflags} V=1
 
 %install
-rm -rf %{buildroot}
 make install INSTALL_ROOT=%{buildroot}
 
 # A few files in /usr/share/fritzing end up executable.
@@ -54,14 +51,11 @@ find %{buildroot}%{_datadir}/%{name} -type f -exec %{__chmod} 644 {} \;
 find %{buildroot}%{_datadir}/%{name} -type d -exec %{__chmod} 755 {} \;
 
 # Icon is dumped in /usr/share/icons by default, need to move it.
-%{__mv} %{buildroot}%{_datadir}/icons %{buildroot}%{_datadir}/pixmaps
+mv %{buildroot}%{_datadir}/icons %{buildroot}%{_datadir}/pixmaps
 
 # Included .desktop file is suitable for SuSE, not Fedora.
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc README.txt LICENSE.GPL2 LICENSE.GPL3 LICENSE.CC-BY-SA
@@ -72,6 +66,11 @@ rm -rf %{buildroot}
 %{_mandir}/man?/*
 
 %changelog
+* Tue Jul  3 2012 Peter Robinson <pbrobinson at fedoraproject.org> - 0.7.5b-1
+- Updated to 0.7.5b release.
+- Update patches
+- Cleanup and modernise spec
+
 * Sat Mar 10 2012 Ed Marshall <esm at logic.net> - 0.7.1b-1
 - Updated to 0.7.1b release.
 
diff --git a/sources b/sources
index 01fb53b..e40028b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4f62d9f95439028bcc0bb7efad5d6780  fritzing-0.7.1b.source.tar.bz2
+3692ad2ed3dd4ca2ecfa3e20a99afd4f  fritzing-0.7.5b.source.tar.bz2


More information about the scm-commits mailing list