Projects
Multimedia
qmp3gain
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
qmp3gain.spec
Changed
@@ -58,6 +58,10 @@ %make_build %install +ts='1234567890' +date="`date -u --iso-8601=seconds -d @${ts} | sed 's@+.*@@'`" +TimeStamp="${date}" +LastRegisterTime="${date}.123" %qmake5_install install -D -m0644 resources/kde4/icons/48x48/qmp3gain.png %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file -r %{name} Qt AudioVideo AudioVideoEditing @@ -66,17 +70,17 @@ if pushd %{buildroot}%{_datadir}/%{name}/help then - ts='1234567890' - date="`date -u --iso-8601=seconds -d @${ts} | sed 's@+.*@.123@'`" sqlite3 qmp3gain.qhc .dump > dump.old - sqlite3 qmp3gain.qhc "UPDATE SettingsTable SET Value = '${date}' WHERE Key = 'LastRegisterTime'" + sqlite3 qmp3gain.qhc "UPDATE SettingsTable SET Value = '${LastRegisterTime}' WHERE Key = 'LastRegisterTime'" sqlite3 qmp3gain.qhc "UPDATE SettingsTable SET Value = ${ts} WHERE Key = 'CreationTime'" + sqlite3 qmp3gain.qhc "UPDATE TimeStampTable SET TimeStamp = '${TimeStamp}' WHERE NamespaceId = 1" sqlite3 qmp3gain.qhc .dump > dump.new if diff -u dump.old dump.new then exit 12 fi rm -f dump.old dump.new + touch -d "@${ts}" * . fi %files
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.