Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Till Maas
85fb0841b6 2016-06-21: Retired orphaned package, because it was orphaned for
more than six weeks.
2016-06-21 18:57:30 +02:00
Fedora Release Engineering
e44ff70d51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:10:55 +00:00
Dennis Gilmore
2e7e6e94e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 03:36:56 +00:00
Eduardo Mayorga
fb6604852b Make the spec work for EPEL 2014-12-08 21:36:10 -06:00
Eduardo Mayorga
d49960e9fd Revert "Defining python2 macros for EPEL"
This reverts commit 720b096d41.
2014-12-08 20:58:58 -06:00
5 changed files with 3 additions and 205 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/twms-0.05t.tar.bz2

3
dead.package Normal file
View file

@ -0,0 +1,3 @@
2016-06-21: Retired orphaned package, because it was orphaned for
more than six weeks.

View file

@ -1 +0,0 @@
1e57db2b180ffb39480b662e9e625107 twms-0.05t.tar.bz2

View file

@ -1,138 +0,0 @@
diff -rupN twms-0.05r/Makefile twms-0.05r.new/Makefile
--- twms-0.05r/Makefile 2013-08-10 12:35:13.000000000 -0600
+++ twms-0.05r.new/Makefile 2014-11-13 21:16:08.836075323 -0600
@@ -12,13 +12,5 @@ DIRS = $(CACHEDIR)/traces $(CACHEDIR)/ti
PYTHONPKGS = twms
user-install::
- sed -i \
- -e 's,/etc/twms,$(ETCDIR),g' \
- -e 's,/var/cache/twms,$(CACHEDIR),g' \
- -e 's,/usr/share/twms,$(DATADIR),g' \
- -e 's,/usr/share/pyshared,$(PYTHONDIR),g' \
- $(DESTDIR)$(ETCDIR)/twms.conf \
- $(DESTDIR)$(PYTHONDIR)/twms/twms.conf \
- $(DESTDIR)$(PYTHONDIR)/twms/twms.py
mv $(DESTDIR)$(bindir)/twms.py $(DESTDIR)$(bindir)/twms
diff -rupN twms-0.05r/Makefile.mk twms-0.05r.new/Makefile.mk
--- twms-0.05r/Makefile.mk 2013-08-10 12:35:13.000000000 -0600
+++ twms-0.05r.new/Makefile.mk 2014-11-13 21:16:37.653173207 -0600
@@ -34,7 +34,7 @@ build: user-build
user-build user-install::
-install: install-dirs install-bin install-config install-doc install-man install-data install-python user-install
+install: install-dirs install-bin install-config install-doc install-man install-data install-python user-install
install-dirs:
for item in $(DIRS); do \
@@ -72,14 +72,14 @@ install-data:
done
install-python:
- [ -z "$(PYTHONSCRIPTS)" ] || $(INSTALL) -d $(DESTDIR)$(PYTHONDIR)
+# [ -z "$(PYTHONSCRIPTS)" ] || $(INSTALL) -d $(DESTDIR)$(PYTHONDIR)
[ -z "$(PYTHONLIBDIR)" ] || $(MKDIR) -p $(DESTDIR)$(PYTHONLIBDIR)
for pkg in $(PYTHONPKGS); do \
- $(MKDIR) -p $(DESTDIR)$(PYTHONDIR)/$$pkg; \
+ $(MKDIR) -p $(DESTDIR)$(PYTHOLIBDIR)/$$pkg; \
for item in $$(find $$pkg/*); do \
- $(INSTALL_DATA) -D $$item $(DESTDIR)$(PYTHONDIR)/$$item; \
+ $(INSTALL_DATA) -D $$item $(DESTDIR)$(PYTHONLIBDIR)/$$item; \
done; echo $(PYTHONLIBDIR); \
- [ -z "$(PYTHONLIBDIR)" ] || $(SYMLINK) $(DESTDIR)$(PYTHONDIR)/$$pkg $(DESTDIR)$(PYTHONLIBDIR); \
+ #[ -z "$(PYTHONLIBDIR)" ] || $(SYMLINK) $(DESTDIR)$(PYTHONDIR)/$$pkg $(DESTDIR)$(PYTHONLIBDIR); \
done
.PHONY: build user-build install install-dirs install-bin install-config install-doc install-man install-data install-python user-install
diff -rupN twms-0.05r/Makefile.mk.origin twms-0.05r.new/Makefile.mk.origin
--- twms-0.05r/Makefile.mk.origin 1969-12-31 18:00:00.000000000 -0600
+++ twms-0.05r.new/Makefile.mk.origin 2014-11-13 20:20:56.049021952 -0600
@@ -0,0 +1,85 @@
+PREFIX ?= /usr
+prefix ?= $(PREFIX)
+
+ifeq ($(prefix),/usr)
+sysconfdir ?= /etc
+localstatedir ?= /var
+else
+sysconfdir ?= $(prefix)/etc
+localstatedir ?= $(prefix)/var
+endif
+
+exec_prefix ?= $(prefix)
+bindir ?= $(exec_prefix)/bin
+datarootdir ?= $(prefix)/share
+docdir ?= $(datarootdir)/doc/$(PACKAGE)
+mandir ?= $(datarootdir)/man
+libdir ?= $(exec_prefix)/lib
+
+INSTALL ?= install
+INSTALL_DATA = $(INSTALL) -m 644
+INSTALL_PROGRAM = $(INSTALL) -m 755
+MKDIR = mkdir -m 755
+
+SYMLINK ?= cp -as
+
+ETCDIR = $(sysconfdir)/$(PACKAGE)
+DATADIR = $(datarootdir)/$(PACKAGE)
+PYTHONDIR ?= $(datarootdir)/pyshared
+
+PYTHON ?= python
+PYTHONLIBDIR ?= $(shell $(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib()")
+
+build: user-build
+
+user-build user-install::
+
+install: install-dirs install-bin install-config install-doc install-man install-data install-python user-install
+
+install-dirs:
+ for item in $(DIRS); do \
+ $(INSTALL) -d $(DESTDIR)$$item; \
+ done
+
+install-bin:
+ [ -z "$(BIN)" ] || $(INSTALL) -d $(DESTDIR)$(bindir)
+ for item in $(BIN); do \
+ $(INSTALL_PROGRAM) -D $$item $(DESTDIR)$(bindir)/$$(basename $$item); \
+ done
+
+install-config:
+ [ -z "$(ETC)" ] || $(INSTALL) -d $(DESTDIR)$(ETCDIR)
+ for item in $(ETC); do \
+ $(INSTALL_DATA) -D $$item $(DESTDIR)$(ETCDIR)/$$(basename $$item); \
+ done
+
+install-doc:
+ [ -z "$(DOC)" ] || $(INSTALL) -d $(DESTDIR)$(docdir)
+ for item in $(DOC); do \
+ $(INSTALL_DATA) -D $$item $(DESTDIR)$(docdir)/$$(basename $$item); \
+ done
+
+install-man:
+ [ -z "$(MANPAGES)" ] || $(INSTALL) -d $(DESTDIR)$(mandir)
+ for item in $(MANPAGES); do \
+ $(INSTALL_DATA) -D $$item $(DESTDIR)$(mandir)/man$${item##*.}/$$item; \
+ done
+
+install-data:
+ [ -z "$(DATA)" ] || $(INSTALL) -d $(DESTDIR)$(DATADIR)
+ for item in $(DATA); do \
+ $(INSTALL_DATA) -D $$item $(DESTDIR)$(DATADIR)/$$item; \
+ done
+
+install-python:
+ [ -z "$(PYTHONSCRIPTS)" ] || $(INSTALL) -d $(DESTDIR)$(PYTHONDIR)
+ [ -z "$(PYTHONLIBDIR)" ] || $(MKDIR) -p $(DESTDIR)$(PYTHONLIBDIR)
+ for pkg in $(PYTHONPKGS); do \
+ $(MKDIR) -p $(DESTDIR)$(PYTHONDIR)/$$pkg; \
+ for item in $$(find $$pkg/*); do \
+ $(INSTALL_DATA) -D $$item $(DESTDIR)$(PYTHONDIR)/$$item; \
+ done; echo $(PYTHONLIBDIR); \
+ [ -z "$(PYTHONLIBDIR)" ] || $(SYMLINK) $(DESTDIR)$(PYTHONDIR)/$$pkg $(DESTDIR)$(PYTHONLIBDIR); \
+ done
+
+.PHONY: build user-build install install-dirs install-bin install-config install-doc install-man install-data install-python user-install
Los ficheros binarios twms-0.05r/.Makefile.mk.swp y twms-0.05r.new/.Makefile.mk.swp son distintos

View file

@ -1,65 +0,0 @@
Name: twms
Version: 0.05
Release: 3%{?dist}
Summary: Tiny web map service
Group: Applications/Internet
License: WTFPL
URL: https://code.google.com/p/twms/
Source0: https://twms.googlecode.com/files/%{name}-%{version}t.tar.bz2
Patch0: %{name}-%{version}-fix-install-path.patch
BuildRequires: python2-devel
Requires: python-webpy
Requires: pyproj
Requires: python-imaging
BuildArch: noarch
%description
tWMS is a tiny WMS server written in Python and using tiles as a backend
storage.
%prep
%setup -q -n %{name}-%{version}r
%patch0 -p1
# Remove shebang
sed -i 1d twms/twms.py
%build
# Nothing to build
%install
PYTHON=%{__python2} docdir=%_pkgdocdir %make_install
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc README.md
%{_bindir}/twms
%{python2_sitelib}/%{name}/
%{_mandir}/man1/twms.1.gz
%{_datadir}/twms/
# Excluding empty file
%exclude %{_datadir}/twms/irs_nxt.jpg
%dir %{_sysconfdir}/twms
%config(noreplace) %{_sysconfdir}/twms/twms.conf
%changelog
* Tue Dec 09 2014 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 0.05-3
- Defining python2 macros for EPEL
- %%make_install uses %%_pkgdocdir
* Wed Nov 26 2014 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 0.05-2
- Adding missing created directory
- Ditching empty file irs_nxt.jpg
* Fri Nov 14 2014 Eduardo Mayorga Téllez <mayorga@fedoraproject.org> - 0.05-1
- Initial packaging