Change all project url's from github to gitlab.
Jens Lody
5 years ago
0 | ![Screenshot](https://github.com/jenslody/gnome-shell-extension-panel-osd/raw/master/data/Screenshot.jpg) | |
0 | ![Screenshot](https://gitlab.com/jenslody/gnome-shell-extension-panel-osd/raw/master/data/Screenshot.jpg) | |
1 | 1 | |
2 | 2 | *gnome-shell-extension-panel-osd* is an extension to place shell notifications under the panel instead of above the message-tray. |
3 | 3 | |
33 | 33 | |
34 | 34 | Run the following commands: |
35 | 35 | |
36 | cd ~ && git clone git://github.com/jenslody/gnome-shell-extension-panel-osd.git | |
36 | cd ~ && git clone git://gitlab.com/jenslody/gnome-shell-extension-panel-osd.git | |
37 | 37 | cd ~/gnome-shell-extension-panel-osd |
38 | 38 | ./autogen.sh && make local-install |
39 | 39 |
0 | 0 | AC_PREREQ(2.63) |
1 | 1 | dnl be carefull, the version needs to be in sync with your gnome shell version |
2 | AC_INIT([gnome-shell-extension-panel-osd],[1.1],[https://github.com/jenslody/gnome-shell-extension-panel-osd/issues]) | |
2 | AC_INIT([gnome-shell-extension-panel-osd],[1.1],[https://gitlab.com/jenslody/gnome-shell-extension-panel-osd/issues]) | |
3 | 3 | |
4 | 4 | AC_CONFIG_MACRO_DIR([m4]) |
5 | 5 | AC_CONFIG_AUX_DIR([config]) |
0 | extensionurl = https://github.com/jenslody/gnome-shell-extension-panel-osd | |
0 | extensionurl = https://gitlab.com/jenslody/gnome-shell-extension-panel-osd | |
1 | 1 | |
2 | 2 | # Change these to modify how installation is performed |
3 | 3 | topextensiondir = $(datadir)/gnome-shell/extensions |
42 | 42 | <Unit filename="po/gnome-shell-extension-panel-osd.pot" /> |
43 | 43 | <Unit filename="po/pl.po" /> |
44 | 44 | <Unit filename="po/pt_BR.po" /> |
45 | <Unit filename="po/ru_RU.po" /> | |
45 | <Unit filename="po/ru.po" /> | |
46 | 46 | <Unit filename="po/zh_CN.po" /> |
47 | 47 | <Unit filename="src/Makefile.am" /> |
48 | 48 | <Unit filename="src/convenience.js" /> |
0 | 0 | %global git e35e98c |
1 | 1 | %global uuid panel-osd@berend.de.schouwer.gmail.com |
2 | %global github jenslody-gnome-shell-extension-panel-osd | |
2 | %global gitlab gnome-shell-extension-panel-osd | |
3 | 3 | %global checkout git%{git} |
4 | 4 | %global checkout_date 20170308 |
5 | 5 | |
6 | 6 | Name: gnome-shell-extension-panel-osd |
7 | 7 | Version: 1 |
8 | Release: 0.22.%{checkout_date}%{checkout}%{?dist} | |
8 | Release: 0.24.%{checkout_date}%{checkout}%{?dist} | |
9 | 9 | Summary: Configure the place where notifications are shown |
10 | 10 | |
11 | 11 | Group: User Interface/Desktops |
12 | 12 | |
13 | 13 | # The entire source code is GPLv3+ except convenience.js, which is BSD |
14 | 14 | License: GPLv3+ and BSD |
15 | URL: https://github.com/jenslody/gnome-shell-extension-panel-osd | |
16 | Source0: https://github.com/jenslody/gnome-shell-extension-panel-osd/tarball/master/%{github}-%{git}.tar.gz | |
15 | URL: https://gitlab.com/jenslody/gnome-shell-extension-panel-osd | |
16 | Source0: https://gitlab.com/jenslody/gnome-shell-extension-panel-osd/-/archive/%{git}/%{gitlab}-%{git}.tar.gz | |
17 | 17 | BuildArch: noarch |
18 | 18 | |
19 | 19 | # The version of gnome-common in CentOS7 is only 3.7.4 |
31 | 31 | quotes) on a console. |
32 | 32 | |
33 | 33 | %prep |
34 | %setup -q -n %{github}-%{git} | |
34 | %setup -q -n %{gitlab}-%{git} | |
35 | 35 | |
36 | 36 | %build |
37 | 37 | NOCONFIGURE=1 ./autogen.sh |
65 | 65 | %{_datadir}/gnome-shell/extensions/%{uuid} |
66 | 66 | |
67 | 67 | %changelog |
68 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-0.24.20170308gite35e98c | |
69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild | |
70 | ||
71 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-0.23.20170308gite35e98c | |
72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild | |
73 | ||
68 | 74 | * Wed Mar 08 2017 Jens Lody <fedora@jenslody.de> - 1-0.22.20170308gite35e98c |
69 | 75 | - Support gnome-shell 3.24. |
70 | 76 |
5 | 5 | msgid "" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: gnome-shell-extension-panel-osd\n" |
8 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
8 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
9 | 9 | "panel-osd/issues\n" |
10 | 10 | "POT-Creation-Date: 2016-07-22 02:19+0200\n" |
11 | 11 | "PO-Revision-Date: 2016-07-22 00:42+0200\n" |
5 | 5 | msgid "" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: gnome-shell-extension-panel-osd 1.1\n" |
8 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
8 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
9 | 9 | "panel-osd/issues\n" |
10 | 10 | "POT-Creation-Date: 2016-07-22 02:19+0200\n" |
11 | 11 | "PO-Revision-Date: 2017-05-14 15:10+0100\n" |
6 | 6 | msgid "" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: gnome-shell-extension-panel-osd 1.1\n" |
9 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
9 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
10 | 10 | "panel-osd/issues\n" |
11 | 11 | "POT-Creation-Date: 2016-07-22 02:19+0200\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
6 | 6 | msgid "" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: gnome-shell-extension-panel-osd\n" |
9 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
9 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
10 | 10 | "panel-osd/issues\n" |
11 | 11 | "POT-Creation-Date: 2016-07-22 02:19+0200\n" |
12 | 12 | "PO-Revision-Date: 2016-07-21 16:20+0200\n" |
6 | 6 | msgid "" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: \n" |
9 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
9 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
10 | 10 | "panel-osd/issues\n" |
11 | 11 | "POT-Creation-Date: 2016-07-22 02:19+0200\n" |
12 | 12 | "PO-Revision-Date: 2017-06-13 13:35-0300\n" |
5 | 5 | msgid "" |
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: gnome-shell-extension-panel-osd 1.1\n" |
8 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
8 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
9 | 9 | "panel-osd/issues\n" |
10 | 10 | "POT-Creation-Date: 2017-07-30 15:14+0300\n" |
11 | 11 | "PO-Revision-Date: 2017-07-30 15:28+0300\n" |
6 | 6 | msgid "" |
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: gnome-shell-extension-panel-osd VERSION\n" |
9 | "Report-Msgid-Bugs-To: https://github.com/jenslody/gnome-shell-extension-" | |
9 | "Report-Msgid-Bugs-To: https://gitlab.com/jenslody/gnome-shell-extension-" | |
10 | 10 | "panel-osd/issues\n" |
11 | 11 | "POT-Creation-Date: 2016-07-22 02:19+0200\n" |
12 | 12 | "PO-Revision-Date: 2015-09-20 18:29+0800\n" |
5 | 5 | # into the appropriate directories |
6 | 6 | # - you need to check the paths and fix the maintainers name |
7 | 7 | # |
8 | # Copyright (C) 2012 - 2015 | |
8 | # Copyright (C) 2012 - 2018 | |
9 | 9 | # Jens Lody <jens@jenslody.de>, |
10 | 10 | # |
11 | 11 | # This file is part of gnome-shell-extension-panel-osd. |
26 | 26 | # <http://www.gnu.org/licenses/>. |
27 | 27 | # |
28 | 28 | |
29 | GITHUB="jenslody-gnome-shell-extension-panel-osd" | |
30 | BASE_URL="https://github.com/jenslody/gnome-shell-extension-panel-osd/tarball/master/" | |
29 | GITLAB="gnome-shell-extension-panel-osd" | |
30 | BASE_URL="https://gitlab.com/jenslody/gnome-shell-extension-panel-osd/-/archive/" | |
31 | 31 | TARBALL_PATH="${HOME}/rpmbuild/SOURCES/" |
32 | 32 | SPEC_PATH="${HOME}/rpmbuild/SPECS/" |
33 | 33 | SPEC_FILE="gnome-shell-extension-panel-osd.spec" |
78 | 78 | rm -f ${SPEC_FILE} |
79 | 79 | mv ${SPEC_FILE}.tmp ${SPEC_FILE} |
80 | 80 | |
81 | rm -f ${TARBALL_PATH}${GITHUB}-*.tar.gz | |
82 | wget -c ${BASE_URL}${GITHUB}-${COMMIT}.tar.gz -O ${TARBALL_PATH}${GITHUB}-${COMMIT}.tar.gz | |
81 | rm -f ${TARBALL_PATH}${GITLAB}-*.tar.gz | |
82 | wget -c ${BASE_URL}${COMMIT}/${GITLAB}-${COMMIT}.tar.gz -O ${TARBALL_PATH}${GITLAB}-${COMMIT}.tar.gz | |
83 | 83 | |
84 | 84 | cd ${SPEC_PATH} |
85 | rm -f ../SRPMS/${GITHUB}*.src.rpm | |
85 | rm -f ../SRPMS/${GITLAB}*.src.rpm | |
86 | 86 | rpmbuild -bs ${SPEC_FILE} |
87 | 87 | |
88 | 88 | echo "OLD_COMMIT=$COMMIT" > ./.last_commit |